/* ============================= */
/* 🔥 PREMIUM SIDEBAR */
/* ============================= */

.side-menu {
    height: 100%;
    width: 270px;
    position: fixed;
    top: 0 !important;
    left: 0;
    background: linear-gradient(180deg, var(--brand-black), #1a1a1a);

    transform: translateX(-100%);
    transition: transform 0.35s ease;

    z-index: 2147483647;
    padding-top: 60px;
    overflow-y: auto;

    box-shadow: 5px 0 20px rgba(0,0,0,0.3);
}

/* LINKS */
.side-menu a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 20px;
    text-decoration: none;
    font-size: 15px;

    transition: all 0.2s ease;
}

/* HOVER / TAP */
.side-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 25px;
}

/* ICON STYLE */
.side-menu i {
    width: 20px;
    text-align: center;
}

/* ============================= */
/* 🔥 SUBMENU (ANIMATED) */
/* ============================= */

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0,0,0,0.15);
}

.submenu a {
    padding-left: 45px;
    font-size: 14px;
}

/* ACTIVE OPEN */
.submenu.open {
    max-height: 500px;
}

/* ============================= */
/* 🔥 CLOSE BUTTON */
/* ============================= */

.close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* ============================= */
/* 🔥 OVERLAY (BLUR 🔥) */
/* ============================= */

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);

    display: none;
    z-index: 2147483646;
}

/* ============================= */
/* 🔥 USER HEADER */
/* ============================= */

.menu-user {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}

/* ============================= */
/* 🔥 SCROLLBAR */
/* ============================= */

.side-menu::-webkit-scrollbar {
    width: 4px;
}

.side-menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

/* LOGO */
.navbar-brand-logo img {
    width: 35px;
    height: 35px;
}












/* DESKTOP NAVBAR */
.desktop-navbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/* MENU */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.desktop-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 8px;
}

/* DROPDOWN */
.desktop-menu .dropdown {
    position: relative;
}

.desktop-menu .dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    top: 100%;
    left: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.desktop-menu .dropdown:hover .dropdown-content {
    display: block;
}

/* ===================== */
/* RESPONSIVE SWITCH */
/* ===================== */

/* MOBILE */
@media (max-width: 991px) {
    .desktop-navbar {
        display: none;
    }
}

/* DESKTOP */
@media (min-width: 992px) {
    .desktop-navbar {
        display: flex;
    }

    /* HIDE MOBILE ELEMENTS */
    .navbar-toggler,
    #sideMenu,
    #overlay {
        display: none !important;
    }
}