.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #111720;
    border-right: 1px solid var(--border);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: fixed;
    inset: 0 auto 0 0;
}

.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f43f5e;
    margin-bottom: 0.5rem;
}

.sidebar-nav {
    display: grid;
    gap: 0.25rem;
}

.nav-item {
    min-height: 2.35rem;
    border-radius: 9px;
    display: flex;
    align-items: center;
    padding: 0 0.7rem;
    color: var(--muted);
}

.nav-item:hover,
.nav-item.active {
    color: var(--text);
    background: #1c2530;
}

.logout-link {
    margin-top: auto;
    color: #fb7185;
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 1.15rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.dashboard-header h1 {
    font-size: 1.5rem;
}

.user-chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #151e28;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.stat-card h2 {
    margin-top: 0.3rem;
}

.table-card {
    padding: 0;
    overflow: hidden;
}

.table-head {
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1rem;
}

.table-head h3 {
    font-size: 1.03rem;
}

.table-scroll {
    overflow: auto;
}

.table-scroll table {
    min-width: 680px;
}

.status-badge {
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-banned {
    background: rgba(225, 29, 72, 0.2);
    color: #fb7185;
}

.status-flagged {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

@media (max-width: 960px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 160ms ease;
        z-index: 40;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
