/* 会员中心专用样式 - vip.css */

/* VIP状态卡片 */
.vip-status-card {
    background: linear-gradient(135deg, #e53937 0%, #ff6b6b 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.vip-status-card::before {
    content: '👑';
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
    opacity: 0.1;
}

.vip-info {
    position: relative;
    z-index: 1;
}

.vip-level {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.vip-expire {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.vip-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.vip-stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.vip-stat-number {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.vip-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* 导航标签 */
.vip-tabs {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.tab-list {
    display: flex;
    list-style: none;
    border-bottom: 2px solid #f0f0f0;
}

.tab-list li {
    flex: 1;
}

.tab-list button {
    width: 100%;
    padding: 18px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    color: #333;
}

.tab-list button:hover {
    background-color: #f8f8f8;
}

.tab-list button.active {
    color: #e53937;
    border-bottom-color: #e53937;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

/* 会员套餐 */
.vip-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vip-plan {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.vip-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vip-plan.recommended {
    border-color: #e53937;
    position: relative;
}

.vip-plan.recommended::before {
    content: '推荐';
    position: absolute;
    top: 0;
    right: 20px;
    background-color: #e53937;
    color: #fff;
    padding: 5px 15px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.plan-price {
    font-size: 42px;
    color: #e53937;
    font-weight: bold;
    margin-bottom: 5px;
}

.plan-period {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    color: #666;
    font-size: 14px;
}

.plan-features li::before {
    content: '✓';
    color: #00a854;
    font-weight: bold;
    margin-right: 10px;
}

.plan-button {
    margin-top: 20px;
}

.plan-button button {
    width: 100%;
    padding: 14px;
    background-color: #e53937;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.plan-button button:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 55, 0.3);
}

/* 会员权益 */
.vip-benefits {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.3s;
}

.benefit-item:hover {
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.benefit-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 下载记录表格 */
.download-table {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.download-table table {
    width: 100%;
    border-collapse: collapse;
}

.download-table th {
    background-color: #f8f8f8;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #e0e0e0;
    color: #333;
}

.download-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.download-table tr:hover {
    background-color: #fafafa;
}

.download-btn {
    padding: 6px 16px;
    background-color: #019EFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.download-btn:hover {
    background-color: #0184d6;
    transform: translateY(-1px);
}

/* 个人信息表单 */
.profile-form {
    background-color: #fff;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e53937;
    box-shadow: 0 0 5px rgba(229, 57, 55, 0.2);
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

/* 发票管理 */
.invoice-list {
    background-color: #fff;
    border-radius: 8px;
}

.invoice-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.invoice-item:hover {
    background-color: #fafafa;
}

.invoice-item:last-child {
    border-bottom: none;
}

.invoice-info h4 {
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
}

.invoice-info p {
    color: #999;
    font-size: 14px;
}

.invoice-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
}

.status-pending {
    background-color: #fff3e0;
    color: #f57c00;
}

.status-completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-rejected {
    background-color: #ffebee;
    color: #c62828;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .vip-plans {
        grid-template-columns: 1fr;
    }

    .vip-stats {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .tab-list {
        flex-wrap: wrap;
    }

    .tab-list li {
        flex: 0 0 50%;
    }

    .download-table {
        overflow-x: auto;
    }

    .invoice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .vip-status-card {
        padding: 25px;
    }

    .vip-level {
        font-size: 22px;
    }

    .vip-stat-number {
        font-size: 24px;
    }

    .tab-list button {
        font-size: 14px;
        padding: 15px 10px;
    }

    .plan-price {
        font-size: 32px;
    }
}