@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07070d;
    --card-bg: rgba(15, 15, 26, 0.7);
    --card-bg-hover: rgba(20, 20, 38, 0.85);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(124, 106, 247, 0.2);
    --primary-gradient: linear-gradient(135deg, #7c6af7 0%, #a78bfa 100%);
    --primary-glow: rgba(124, 106, 247, 0.4);
    --text-primary: #ededff;
    --text-secondary: #8887aa;
    --success-color: #34d399;
    --danger-color: #ef4444;
    --warning-color: #fbbf24;
    --info-color: #60a5fa;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --sidebar-width: 280px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Glowing Orbs */
body::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 106, 247, 0.12) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   HEADER & NAVIGATION
   ══════════════════════════════════════════════ */
header {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(7, 7, 13, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    z-index: 100;
    height: 64px;
    flex-shrink: 0;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo span {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #a855f7;
    -webkit-text-fill-color: #a855f7;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

/* ══════════════════════════════════════════════
   UI CONTAINERS & GENERAL WIDGETS
   ══════════════════════════════════════════════ */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px 0 rgba(124, 106, 247, 0.08);
}

/* Auth Pages Container */
.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.input-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.input-control:focus {
    outline: none;
    border-color: #7c6af7;
    background: rgba(124, 106, 247, 0.03);
    box-shadow: 0 0 12px rgba(124, 106, 247, 0.2);
}

.input-control option {
    background-color: #0c0c16;
    color: #ededff;
}

/* Checkbox alignment */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #7c6af7;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    text-transform: none;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    text-align: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

.btn-success {
    background: rgba(52, 211, 153, 0.12);
    color: var(--success-color);
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.btn-success:hover {
    background: rgba(52, 211, 153, 0.25);
    transform: translateY(-1px);
}

.btn-info {
    background: rgba(96, 165, 250, 0.12);
    color: var(--info-color);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.btn-info:hover {
    background: rgba(96, 165, 250, 0.25);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert Boxes */
.alert {
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: none;
    font-weight: 500;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fc8181;
    display: block;
}

.alert-success {
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: #a7f3d0;
    display: block;
}

/* ══════════════════════════════════════════════
   DASHBOARD GRID LAYOUT WITH COLLAPSED SIDEBAR
   ══════════════════════════════════════════════ */
.dashboard-container {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    border-right: 1px solid var(--border-color);
    background: rgba(7, 7, 13, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 200;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.sidebar-menu a.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
    box-shadow: 0 4px 15px rgba(124, 106, 247, 0.25) !important;
}

.sidebar-menu a:hover:not(.active) {
    color: var(--text-primary) !important;
    background: rgba(124, 106, 247, 0.1) !important;
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 10px var(--primary-glow);
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-user-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Main Dashboard Panel Workspace */
.dashboard-content {
    flex: 1;
    padding: 80px 2.5rem 2.5rem;
    min-width: 0;
    overflow-x: hidden;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    width: calc(100% - var(--sidebar-width));
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1200px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

/* Profile Column Widgets */
.profile-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: sticky;
    top: 96px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.profile-title h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

.profile-title p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-active {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-expired {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-lifetime {
    background: rgba(167, 139, 250, 0.1);
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.badge-inactive {
    background: rgba(136, 135, 170, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(136, 135, 170, 0.25);
}

.badge-admin {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.badge-owner {
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.detail-row span:first-child {
    color: var(--text-secondary);
}

.detail-row span:last-child {
    font-weight: 600;
}

.action-card {
    padding: 2.5rem;
}

.action-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════════
   MODULE MANAGER HUB styling
   ══════════════════════════════════════════════ */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.module-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(15, 15, 26, 0.5);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: var(--card-bg-hover);
}

.module-banner {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: #0c0c16;
}

.module-thumbnail {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-dark);
    position: absolute;
    bottom: -15px;
    left: 1.25rem;
    background-size: cover;
    background-position: center;
    background-color: #14142a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.module-card-body {
    padding: 2rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.module-card-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-version-badge {
    font-size: 0.7rem;
    background: rgba(124, 106, 247, 0.15);
    color: #c4b5fd;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.module-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.module-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

/* ══════════════════════════════════════════════
   VIDEO MEDIA SHOWCASE styling
   ══════════════════════════════════════════════ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.video-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(15, 15, 26, 0.5);
    transition: var(--transition-smooth);
}

.video-card:hover {
    border-color: var(--border-glow);
    transform: scale(1.01);
}

.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 1.25rem;
}

.video-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   ADMIN SYSTEM PANELS
   ══════════════════════════════════════════════ */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    padding: 1.75rem;
    text-align: center;
}

.stat-box .stat-val {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0.5rem;
}

.stat-box .stat-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    flex-wrap: wrap;
}

.admin-tabs a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.admin-tabs a:hover, .admin-tabs a.active {
    background: rgba(124, 106, 247, 0.08);
    color: #a78bfa;
    border: 1px solid rgba(124, 106, 247, 0.2);
}

/* Tables and Search */
.table-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.table-search-box {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.table-container {
    overflow-x: auto;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th {
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.015);
}

td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.table-actions select.input-control {
    padding: 0.25rem 1.25rem 0.25rem 0.5rem;
    font-size: 0.8rem;
    width: 110px;
    height: 30px;
    margin: 0;
    background-position: right 0.35rem center;
    background-size: 0.7rem;
}

.table-actions .btn-sm {
    height: 30px;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
}

/* Log Item lists */
.log-list {
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 0.5rem;
}

.log-item {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.015);
    border-radius: var(--radius-sm);
    border-left: 3px solid #7c6af7;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .log-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.log-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.log-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.log-item-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.log-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Form layouts */
.flex-form {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.flex-form .form-group {
    margin-bottom: 0;
    flex: 1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 106, 247, 0.25);
}

/* Utilities */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ══════════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ══════════════════════════════════════════════ */
@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 1.5rem;
    }
    header {
        left: 0;
        right: 0;
    }
    .dashboard-content {
        margin-left: 0;
        width: 100%;
        padding-top: 80px;
    }
    
    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .sidebar-menu a {
        white-space: nowrap;
        padding: 0.6rem 0.9rem;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .dashboard-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .table-header-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .table-search-box {
        max-width: none;
    }
    
    .table-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .auth-card {
        padding: 1.75rem;
    }
}

/* ══════════════════════════════════════════════
   ENTERPRISE ADMIN PANEL STYLES
   ══════════════════════════════════════════════ */
.admin-container {
    display: flex;
    height: 100vh;
    max-height: 100vh;
    background: #07070e;
    color: #f4f4f5;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Sidebar Styling */
.admin-sidebar {
    width: 260px;
    background: rgba(10, 10, 18, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-sidebar.collapsed {
    width: 78px;
}

.admin-sidebar.collapsed ~ .admin-content,
.admin-container:has(.admin-sidebar.collapsed) .admin-content {
    margin-left: 78px;
}

.admin-container:has(.admin-sidebar.collapsed) .admin-navbar {
    left: 78px;
}

.admin-sidebar-header {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    white-space: nowrap;
    gap: 0.75rem;
}

.admin-logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.admin-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #a78bfa 0%, #7c6af7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.2s ease;
}

.admin-sidebar.collapsed .admin-logo-text {
    opacity: 0;
    pointer-events: none;
}

.admin-sidebar-menu {
    flex: 1;
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #a1a1aa;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    gap: 1rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.admin-menu-item i, .admin-menu-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #71717a;
    transition: color 0.2s ease;
}

.admin-menu-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #f4f4f5;
}

.admin-menu-item:hover i, .admin-menu-item:hover svg {
    color: #c4b5fd;
}

.admin-menu-item.active {
    background: rgba(124, 106, 247, 0.08);
    color: #c4b5fd;
    border: 1px solid rgba(124, 106, 247, 0.15);
}

.admin-menu-item.active i, .admin-menu-item.active svg {
    color: #a78bfa;
}

.admin-sidebar.collapsed .admin-menu-text {
    opacity: 0;
    display: none;
}

/* Sidebar Toggle button */
.admin-sidebar-toggle {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
}

.admin-sidebar-toggle button {
    background: transparent;
    border: none;
    color: #71717a;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.admin-sidebar-toggle button:hover {
    color: #f4f4f5;
    background: rgba(255, 255, 255, 0.05);
}

/* Main Content Wrapper */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-width: 0;
}

/* Top Navbar — overrides the generic site `header` fixed rule with admin-specific offsets */
.admin-navbar {
    height: 70px;
    background: rgba(10, 10, 18, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    backdrop-filter: blur(10px);
    z-index: 99;
    position: fixed;
    top: 0;
    left: 260px;
    right: 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-nav-search {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    gap: 0.5rem;
    max-width: 320px;
    width: 100%;
}

.admin-nav-search input {
    background: transparent;
    border: none;
    color: #f4f4f5;
    outline: none;
    font-size: 0.85rem;
    width: 100%;
}

.admin-nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Server Health indicator */
.server-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.server-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    position: relative;
}

.server-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    opacity: 0;
    animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* User profile button */
.admin-user-menu {
    position: relative;
}

.admin-user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #f4f4f5;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.admin-user-btn:hover {
    background: rgba(255, 255, 255, 0.03);
}

.admin-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 0 8px var(--primary-glow);
}

.admin-user-info {
    text-align: left;
    display: none;
}

@media (min-width: 768px) {
    .admin-user-info {
        display: block;
    }
}

.admin-user-info h5 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
}

.admin-user-info span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Dropdowns styling */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: rgba(15, 15, 26, 0.98);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1000;
    backdrop-filter: blur(15px);
    animation: dropdown-fade-in 0.2s ease;
}

.dropdown-menu.show {
    display: flex;
}

@keyframes dropdown-fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 4px;
    gap: 0.75rem;
    transition: all 0.15s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f5;
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0.35rem 0;
}

/* Notifications Button */
.admin-nav-icon-btn {
    background: transparent;
    border: none;
    color: #71717a;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-nav-icon-btn:hover {
    color: #f4f4f5;
    background: rgba(255, 255, 255, 0.04);
}

.admin-nav-icon-btn .badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #0a0a12;
}

/* Content Area */
.admin-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem;
    margin-left: 260px;
    margin-top: 70px;
    height: calc(100vh - 70px);
    min-height: 0;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dashboard statistics */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.glass-card.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
    border-radius: 12px;
}

.glass-card.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-glow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(124, 106, 247, 0.1);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-data {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.stat-trend {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.25rem;
}

.stat-trend.up { color: #10b981; }
.stat-trend.down { color: #ef4444; }

/* Dashboard Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 1200px) {
    .charts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.chart-card {
    padding: 1.75rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.chart-wrapper {
    position: relative;
    height: 280px;
    width: 100%;
}

/* Mod Card redsign styles */
.mod-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mod-card-new {
    background: rgba(15, 15, 26, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.mod-card-new:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 8px 30px rgba(124, 106, 247, 0.1);
}

.mod-card-banner {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #0d0d18;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mod-card-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(7,7,14,0.9) 100%);
}

.mod-card-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid #141426;
    background-size: cover;
    background-position: center;
    position: absolute;
    bottom: -15px;
    left: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    background-color: #121221;
}

.mod-card-body {
    padding: 2rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mod-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mod-card-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.mod-card-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    min-height: 40px;
}

.mod-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 0.8rem;
}

.mod-card-stats-col {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mod-card-stats-lbl {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.mod-card-stats-val {
    font-weight: 700;
    color: #f4f4f5;
}

.mod-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

/* Video grid redesign */
.vid-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.vid-card-new {
    background: rgba(15, 15, 26, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.vid-card-new:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.vid-card-preview {
    position: relative;
    padding-bottom: 56.25%;
    background-color: #000;
}

.vid-card-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vid-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    background: rgba(124, 106, 247, 0.85);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.vid-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.vid-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vid-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.vid-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.1);
}

/* Settings view redesign layout */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .settings-grid {
        grid-template-columns: 240px 1fr;
    }
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(15, 15, 26, 0.45);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 10px;
}

.settings-nav-btn {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    gap: 0.75rem;
    transition: all 0.15s;
}

.settings-nav-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #f4f4f5;
}

.settings-nav-btn.active {
    background: rgba(124, 106, 247, 0.08);
    color: #c4b5fd;
    border: 1px solid rgba(124, 106, 247, 0.15);
}

/* Responsive side drawer for mobile */
@media (max-width: 992px) {
    .admin-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        z-index: 101;
    }
    
    .admin-sidebar.show-drawer {
        left: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.8);
    }
    
    .admin-sidebar.collapsed {
        width: 260px; /* Keep full width on drawer overlay */
    }
    
    .admin-sidebar.collapsed .admin-logo-text {
        opacity: 1;
        pointer-events: auto;
    }
    
    .admin-sidebar.collapsed .admin-menu-text {
        opacity: 1;
        display: block;
    }
    
    /* On mobile, content takes full width */
    .admin-content {
        margin-left: 0 !important;
    }

    .admin-navbar {
        left: 0 !important;
    }
    
    .admin-container:has(.admin-sidebar.collapsed) .admin-content {
        margin-left: 0 !important;
    }
    
    /* Overlay background when mobile drawer is open */
    .admin-drawer-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 100;
        display: none;
    }
    
    .admin-drawer-overlay.show {
        display: block;
    }
}

/* ══════════════════════════════════════════════
   MINECRAFT / LEAF STYLE PROFILE CARD
   ══════════════════════════════════════════════ */
.mc-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 10, 20, 0.85);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    align-self: start;
}

/* Banner */
.mc-banner {
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, #1a0533 0%, #0d1b4b 40%, #0a2a1a 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mc-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124,106,247,0.35) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(52,211,153,0.2) 0%, transparent 60%);
}

.mc-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(10,10,20,0.85));
}

.mc-banner-overlay { position: absolute; inset: 0; }

/* Avatar ring */
.mc-avatar-wrap {
    margin-top: -40px;
    z-index: 2;
    position: relative;
}

.mc-avatar-ring {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(135deg, #7c6af7, #a855f7, #34d399);
    box-shadow: 0 0 24px rgba(124,106,247,0.5), 0 4px 16px rgba(0,0,0,0.5);
}

.mc-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: block;
    image-rendering: pixelated;
    background: #1a1a2e;
}

.mc-avatar-status {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #34d399;
    border: 3px solid #0a0a14;
    box-shadow: 0 0 8px rgba(52,211,153,0.6);
}

/* Name + role */
.mc-profile-info {
    text-align: center;
    padding: 0.75rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.mc-username {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
}

.mc-role-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
}

/* Stats row */
.mc-stats-row {
    display: flex;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-top: 1rem;
}

.mc-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.85rem 0.5rem;
    gap: 0.3rem;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.mc-stat:last-child { border-right: none; }

.mc-stat-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.mc-stat-val {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 700;
}

.mc-days {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c6af7, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HWID */
.mc-hwid-row {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mc-hwid-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.mc-hwid-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #a78bfa;
    background: rgba(124,106,247,0.08);
    border: 1px solid rgba(124,106,247,0.15);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    word-break: break-all;
    line-height: 1.5;
}

/* Download button */
.mc-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}

.mc-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16,185,129,0.5);
}

.mc-download-btn:active { transform: translateY(0); }

.mc-hwid-note {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 1.25rem 1rem;
    line-height: 1.5;
    opacity: 0.7;
}

/* Sidebar inner sections (sidebar itself has no padding - it's fixed full height) */
.sidebar-user-card {
    padding: 2rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-sections {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-logout {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Section label in sidebar */
.sidebar-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* ══════════════════════════════════════════════
   RESPONSIVE TABLES & CONTAINER FIT FIXES
   ══════════════════════════════════════════════ */
.table-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    background: rgba(15, 15, 26, 0.45);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.table-container th {
    background: rgba(10, 10, 18, 0.9);
    color: #a1a1aa;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.table-container td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.table-container tr:last-child td {
    border-bottom: none;
}

.table-container tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.admin-content {
    max-width: 100vw;
    box-sizing: border-box;
}

.btn-sm {
    padding: 0.3rem 0.55rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
    border-radius: 6px;
}