/**
 * Station Resource — 用户中心 & VIP 样式
 *
 * @package StationResource
 * @since 2.0.0
 */

/* ===== 容器 ===== */
.station-uc-container,
.station-vip-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===== 用户中心布局 ===== */
.station-user-center-main .station-uc-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* ===== 左侧边栏 ===== */
.station-uc-sidebar {
    background: var(--station-card-bg, #fff);
    border: 1px solid var(--station-border, #e2e8f0);
    border-radius: 10px;
    overflow: hidden;
}
.station-uc-avatar-box {
    padding: 28px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--station-border, #e2e8f0);
}
.station-uc-avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}
.station-uc-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.station-uc-role-text {
    color: var(--station-text-muted, #64748b);
    font-size: .9rem;
}
.station-uc-expire {
    margin-top: 8px;
    font-size: .82rem;
    color: var(--station-text-muted, #64748b);
}

/* VIP 徽章 */
.station-vip-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 14px;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
}
.station-vip-badge--gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.station-vip-badge--silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

/* 导航 */
.station-uc-nav {
    padding: 8px 0;
}
.station-uc-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--station-text, #1e293b);
    text-decoration: none;
    font-size: .92rem;
    border-left: 3px solid transparent;
    transition: all .15s;
}
.station-uc-nav a:hover,
.station-uc-nav a.active {
    background: #eff6ff;
    color: #2563eb;
    border-left-color: #2563eb;
}

/* ===== 右侧内容区 ===== */
.station-uc-content {
    background: var(--station-card-bg, #fff);
    border: 1px solid var(--station-border, #e2e8f0);
    border-radius: 10px;
    padding: 32px;
    min-height: 400px;
}
.station-uc-section h2 {
    margin: 0 0 24px;
    font-size: 1.3rem;
}

/* 统计卡片 */
.station-uc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.station-uc-stat-card {
    background: var(--station-bg, #f8fafc);
    border: 1px solid var(--station-border, #e2e8f0);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.station-uc-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb;
}
.station-uc-stat-label {
    font-size: .85rem;
    color: var(--station-text-muted, #64748b);
    margin-top: 4px;
}

/* ===== 资料编辑表单 ===== */
.station-profile-form .station-form-group {
    margin-bottom: 18px;
}
.station-profile-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: .9rem;
}
.station-profile-form input[type="text"],
.station-profile-form input[type="tel"],
.station-profile-form input[type="email"],
.station-profile-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--station-border, #e2e8f0);
    border-radius: 6px;
    font-size: .95rem;
    transition: border-color .2s;
}
.station-profile-form input:focus,
.station-profile-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.station-profile-form textarea {
    min-height: 100px;
    resize: vertical;
}
.station-profile-form input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

/* ===== 表格 ===== */
.station-table {
    width: 100%;
    border-collapse: collapse;
}
.station-table th,
.station-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--station-border, #e2e8f0);
    font-size: .92rem;
}
.station-table th {
    background: var(--station-bg, #f8fafc);
    font-weight: 600;
}

/* ===== VIP 购买页 ===== */
.station-vip-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 28px;
}
.station-vip-status {
    text-align: center;
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: .95rem;
}
.station-vip-status--active {
    background: #f0fdf4;
    border-color: #86efac;
}
.station-vip-status-icon {
    font-size: 1.4rem;
    color: #16a34a;
    margin-bottom: 4px;
}

/* 套餐卡片 */
.station-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.station-pricing-card {
    background: var(--station-card-bg, #fff);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: box-shadow .25s;
}
.station-pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.station-pricing-card--featured {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}
.station-pricing-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 14px;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.station-pricing-badge--gold {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    color: #92400e;
}
.station-pricing-badge--silver {
    background: #e2e8f0;
    color: #475569;
}
.station-pricing-save {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #dc2626;
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: .75rem;
    font-weight: 600;
}
.station-pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}
.station-pricing-currency {
    font-size: 1.5rem;
    vertical-align: super;
}
.station-pricing-period {
    font-size: 1rem;
    color: #64748b;
}
.station-pricing-equivalent {
    font-size: .85rem;
    color: #16a34a;
    margin-bottom: 20px;
}
.station-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}
.station-pricing-features li {
    padding: 7px 0;
    font-size: .9rem;
    border-bottom: 1px solid #f1f5f9;
}
.station-pricing-features li::before {
    content: '\2713';
    color: #16a34a;
    margin-right: 8px;
    font-weight: 700;
}
.station-vip-footer-note {
    text-align: center;
    font-size: .85rem;
    color: #94a3b8;
    margin-top: 12px;
}

/* ===== 资源操作区 ===== */
.station-resource-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--station-bg, #f8fafc);
    border-radius: 10px;
    border: 1px solid var(--station-border, #e2e8f0);
}
.station-download-box {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    flex: 1;
}
.station-price-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
}
.station-price-tag--free {
    background: #dcfce7;
    color: #16a34a;
}
.station-price-tag--vip {
    background: #fef3c7;
    color: #92400e;
}
.station-download-hint {
    font-size: .95rem;
    color: var(--station-text-muted, #64748b);
    margin: 0;
}
.station-vip-ok-hint {
    font-size: .85rem;
    color: #16a34a;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .station-user-center-main .station-uc-container {
        grid-template-columns: 1fr;
    }
    .station-uc-sidebar {
        position: static;
    }
    .station-pricing-grid {
        grid-template-columns: 1fr;
    }
}
