/* 1. DASHBOARD LAYOUT (The Foundation) */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr; /* Slightly wider sidebar */
    min-height: 100vh;
    background: var(--bg-soft); /* Apple-style subtle light gray */
}

/* 2. SIDEBAR (The Navigation Bridge) */
.dash-sidebar {
    background: var(--primary-black); /* Dark sidebar for high authority */
    color: #fff;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    background: var(--accent-gold);
    color: var(--primary-black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.dash-nav a.active, .dash-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent-gold);
    padding-left: 20px;
}

/* 3. STAT CARDS (The Fintech Look) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--soft-shadow);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--premium-shadow);
}

.stat-card small {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 700;
}

.stat-card h3 {
    font-size: 2.2rem;
    margin-top: 10px;
    color: var(--primary-black);
}

/* 4. DATA TABLES (The Elite List) */
.premium-table {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.premium-table th {
    background: var(--neutral-light);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.premium-table td {
    padding: 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* 5. BADGE SYSTEM (Modern Indicators) */
.badge-status {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-status.pending {
    background: rgba(242, 183, 5, 0.1); /* Gold tint */
    color: var(--accent-gold);
}

.badge-status.active {
    background: rgba(37, 211, 102, 0.1); /* Green tint */
    color: #128C7E;
}

/* 6. RESPONSIVE DASHBOARD */
@media (max-width: 1024px) {
    .dashboard-wrapper { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; } /* Mobile Menu would handle this */
}