/* ========================================
   用户面板样式（个人中心/白名单）
   ======================================== */

.dashboard {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 1.8rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header h1 i {
    color: var(--primary);
}

/* 申请列表 */
.application-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.application-item {
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--gray-light);
    background: var(--gray-bg);
}

.application-item.status-pending {
    border-left-color: var(--warning);
    background: #fff8e1;
}

.application-item.status-approved {
    border-left-color: var(--success);
    background: #e8f5e9;
}

.application-item.status-rejected {
    border-left-color: var(--danger);
    background: #ffebee;
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.player-name {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.application-meta {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.application-reason {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.application-review {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.05);
    border-radius: var(--radius);
    font-size: 0.9rem;
}

/* 白名单状态 */
.whitelist-status {
    padding: 25px;
    border-radius: var(--radius);
}

.whitelist-status.status-pending {
    background: #fff8e1;
}

.whitelist-status.status-approved {
    background: #e8f5e9;
}

.whitelist-status.status-rejected {
    background: #ffebee;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-meta {
    color: var(--gray);
    font-size: 0.9rem;
}

/* 用户信息 */
.profile-info {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.profile-avatar {
    flex-shrink: 0;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.profile-avatar .avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-light);
}

.profile-details {
    flex: 1;
}

.detail-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    width: 100px;
    color: var(--gray);
    font-size: 0.9rem;
}

.detail-row .value {
    flex: 1;
    color: #333;
}

/* 响应式 */
@media (max-width: 768px) {
    .dashboard {
        padding: 20px 15px;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .profile-avatar img,
    .profile-avatar .avatar-placeholder {
        width: 70px;
        height: 70px;
    }

    .profile-avatar .avatar-placeholder {
        font-size: 1.6rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 4px;
        padding: 8px 0;
    }

    .detail-row .label {
        width: auto;
        font-size: 0.85rem;
    }

    .detail-row .value {
        font-size: 0.9rem;
    }

    .application-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .application-item {
        padding: 15px;
    }

    .status-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .whitelist-status {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.15rem;
    }

    .player-name {
        font-size: 0.95rem;
    }

    .status-badge {
        padding: 3px 10px;
        font-size: 0.8rem;
    }
}
