/* NT下载插件 - 传统样式 */

/* 传统附件容器样式 */
.foxattachlist {
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    background: #fff;
}

/* 传统表格样式 */
.foxattachlist table {
    font-size: 14px;
}

.foxattachlist thead th {
    border-bottom: 1px solid #ddd !important;
    background-color: #f5f5f5;
    font-weight: normal;
    padding: 8px 12px !important;
}

.foxattachlist tbody tr:hover {
    background-color: #f9f9f9 !important;
}

.foxattachlist td {
    border-top: 1px solid #eee !important;
    padding: 8px 12px !important;
    vertical-align: middle !important;
}

/* 传统文件名链接样式 */
.nt-filename-link {
    color: #337ab7 !important;
    text-decoration: none !important;
}

.nt-filename-link:hover {
    color: #23527c !important;
    text-decoration: underline !important;
}

/* 传统文本颜色 */
.text-gray {
    color: #999 !important;
}

/* 响应式优化 */
@media (max-width: 767.98px) {
    .foxattachlist table {
        font-size: 12px;
    }
    
    .foxattachlist td {
        padding: 6px 8px !important;
    }
}

/* 传统Bootstrap响应式类支持 */
@media (max-width: 576px) {
    .hidden-sm {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .hidden-lg {
        display: none !important;
    }
}

/* 附件数量显示样式 */
.attach_num {
    font-weight: bold;
}

/* 账户余额美化样式 */
.balance-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.balance-display .badge {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.balance-display .h5 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

/* 余额卡片样式 */
.balance-card {
    position: relative;
}

/* 积分类型特定样式 */
.credit-type-1 .badge {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    color: white !important;
}

.credit-type-2 .badge {
    background: linear-gradient(45deg, #ffc107, #e0a800) !important;
    color: #212529 !important;
}

.credit-type-3 .badge {
    background: linear-gradient(45deg, #28a745, #1e7e34) !important;
    color: white !important;
}

/* 钱包图标动画 */
.fa-wallet {
    transition: all 0.3s ease;
    display: inline-block;
}

.fa-wallet:hover {
    transform: scale(1.1) rotate(5deg);
    color: #007bff;
}

/* 余额数字动画效果 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.balance-display .h5 {
    animation: countUp 0.5s ease-out;
}

/* 附件售价样式 */
.attach-price-badge {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.attach-price-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.attach-price-badge.badge-warning {
    background: linear-gradient(45deg, #ffc107, #e0a800) !important;
    color: #212529 !important;
}

.attach-price-badge.badge-success {
    background: linear-gradient(45deg, #28a745, #1e7e34) !important;
    color: white !important;
}

.attach-price-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.attach-price-badge:hover::before {
    left: 100%;
}

/* 附件信息表格美化 */
.attach-info-content .table td {
    border-top: 1px solid #e9ecef !important;
    padding: 0.6rem 0.75rem !important;
}

.attach-info-content .table tr:hover {
    background-color: #f8f9fa;
}

/* 响应式优化 */
@media (max-width: 576px) {
    .balance-display .badge {
        font-size: 0.7rem !important;
        px-2 py-1 !important;
    }
    
    .balance-display .h5 {
        font-size: 1rem !important;
    }
    
    .attach-price-badge {
        font-size: 0.8rem !important;
        padding: 0.3rem 0.6rem !important;
    }
}
