﻿* {
    box-sizing: border-box;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

/* Sidebar */
.admin-sidebar {
    width: 240px;
    min-height: 100vh;
    background: #27045D;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.sidebar-logo {
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-text {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.logo-sub {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    margin-top: 8px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

    /* Custom scrollbar for Webkit browsers (Chrome, Edge, Safari) */
    .sidebar-nav::-webkit-scrollbar {
        width: 6px !important;
    }

    .sidebar-nav::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 10px !important;
        border: none !important;
    }

        .sidebar-nav::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3) !important;
        }

/* Firefox */
.sidebar-nav {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.nav-section-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.6) !important;
    letter-spacing: 1.2px;
    padding: 12px 20px 6px;
}

.nav-item {
    padding: 1px 10px;
}

.admin-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 8px;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    font-size: 16.5px;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
}

    .admin-sidebar .nav-link i {
        font-size: 20px;
        flex-shrink: 0;
    }

    .admin-sidebar .nav-link:hover {
        background: rgba(255,255,255,0.08);
        color: white !important;
    }

    .admin-sidebar .nav-link.active {
        background: rgba(255,255,255,0.12);
        color: white !important;
    }

.sidebar-bottom {
    padding: 10px 10px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-main {
    margin-left: 240px;
    flex: 1;
    min-height: 100vh;
    background: #f0f0f8;
}
