/* ============================================
   СОВРЕМЕННАЯ НАВИГАЦИОННАЯ ПАНЕЛЬ
   ============================================ */

/* Основной layout приложения */
.app-layout {
    display: flex;
    min-height: 100vh;
    max-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

/* ============================================
   МОБИЛЬНЫЙ HEADER (только для мобильных)
   ============================================ */

.mobile-header {
    display: none;
}

/* Header - контейнер навбара (мобильный) */
.mobile-header .navbar {
    position: sticky;
    top: 0;
    z-index: 10001;
    overflow: visible;
}

/* Основная навбар-панель (мобильный) */
.mobile-header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90e2 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    min-height: 65px;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

/* Брендинг (мобильный) */
.mobile-header .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.mobile-header .navbar-brand h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    flex: 1;
}

/* Бургер-кнопка */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100001;
    position: relative;
}

.mobile-menu-toggle .bar {
    position: absolute;
    width: 20px;
    height: 2.5px;
    background: white;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Позиционирование полосок в обычном состоянии */
.mobile-menu-toggle .bar:nth-child(1) {
    transform: translateY(-7px);
}

.mobile-menu-toggle .bar:nth-child(2) {
    transform: scaleX(1);
    opacity: 1;
}

.mobile-menu-toggle .bar:nth-child(3) {
    transform: translateY(7px);
}

/* Состояние крестика - теперь идеально ровное */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg);
}

/* Меню пользователя в мобильном header */
.mobile-header .user-menu {
    display: flex;
    align-items: center;
}

.mobile-header .user-info {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-header .user-info:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Выпадающее меню в мобильном header */
.mobile-header .dropdown {
    position: relative;
}

.mobile-header .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1002;
    display: none;
}

.mobile-header .dropdown-menu.show {
    display: block;
    animation: slideDown 0.2s ease;
}

.mobile-header .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.mobile-header .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-left-color: white;
    padding-left: calc(1.25rem - 3px);
}

.mobile-header .dropdown-item.logout-item {
    color: rgba(255, 200, 200, 0.9);
}

.mobile-header .dropdown-item.logout-item:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
    border-left-color: #ff6b6b;
}

.mobile-header .dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
    border: none;
}

/* ============================================
   ВЕРТИКАЛЬНЫЙ САЙДБАР (десктоп)
   ============================================ */

.sidebar {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 1000;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                min-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: width, min-width;
}

.sidebar.collapsed {
    width: 80px;
    min-width: 80px;
}

/* Заголовок сайдбара с кнопкой сворачивания */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    min-height: 80px;
    transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                justify-content 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar-brand h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 200px;
}

.sidebar.collapsed .sidebar-brand h1 {
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    display: block;
}

.sidebar-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 1.5rem 0;
}

/* Меню навигации в сайдбаре */
.sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0; /* Позволяет flex-элементу сжиматься */
}

.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 0.25rem;
}

/* Ссылки навигации в сайдбаре */
.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.875rem 1.5rem;
    padding-right: 2.75rem; /* Место для стрелки */
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                justify-content 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.2s ease,
                color 0.2s ease;
    position: relative;
    min-width: 0; /* Позволяет flex-элементу сжиматься */
}

.sidebar .nav-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.collapsed .nav-link i {
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .nav-link span {
    flex: 1;
    min-width: 0; /* Важно для работы text-overflow */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 200px;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    align-items: center;
    padding: 1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important; /* В свернутом состоянии не нужно место для стрелки */
    gap: 0;
}

.sidebar.collapsed .nav-link span {
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    display: block;
}

.sidebar.collapsed .dropdown-toggle::after {
    display: none; /* В свернутом состоянии стрелка не нужна */
}

.sidebar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 700;
    box-shadow: inset 4px 0 0 #ffffff;
}

/* Футер сайдбара */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    margin-top: auto; /* Прижимает футер к низу */
    flex-shrink: 0; /* Не позволяет футеру сжиматься */
    transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar.collapsed .sidebar-footer {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar .user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                gap 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                justify-content 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.2s ease;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.sidebar .user-info i {
    font-size: 1.25rem;
    width: 24px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sidebar .user-info span {
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 200px;
    overflow: hidden;
}

.sidebar.collapsed .user-info {
    padding: 1rem !important;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 60px;
    margin: 0 auto 1rem auto;
    display: flex;
}

.sidebar.collapsed .user-info i {
    margin: 0;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.sidebar.collapsed .user-info span,
.sidebar.collapsed .user-info::after {
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    display: block;
}

.sidebar .user-info:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar .sidebar-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    white-space: nowrap;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar.collapsed .sidebar-copyright p {
    opacity: 0;
    visibility: hidden;
    display: block;
}

/* ============================================
   ВЫПАДАЮЩЕЕ МЕНЮ (САЙДБАР)
   ============================================ */

/* Выпадающее меню открывается ВНИЗ */
.sidebar .dropdown {
    position: relative;
}

.sidebar .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    box-shadow: none;
    padding: 0.5rem 0;
    border: none;
    border-radius: 0;
    margin: 0;
    list-style: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: all 0.2s ease;
    overflow: hidden;
}

.sidebar .dropdown-menu.show {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.sidebar .dropdown-menu li {
    margin: 0;
    padding: 0;
}

.sidebar .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 0.75rem 3.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 3px solid transparent;
    line-height: 1.4;
}

.sidebar .dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 0.875rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.sidebar .dropdown-item span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar.collapsed .dropdown-item {
    padding: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    gap: 0;
}

.sidebar.collapsed .dropdown-item i {
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.collapsed .dropdown-item span {
    display: none;
}

.sidebar .dropdown-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.5);
    padding-left: calc(3.5rem - 3px);
}

.sidebar .dropdown-item.logout-item {
    color: rgba(255, 200, 200, 0.9);
}

.sidebar .dropdown-item.logout-item:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
    border-left-color: rgba(255, 107, 107, 0.6);
}

.sidebar .dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0.5rem 1.5rem 0.5rem 3.5rem;
    border: none;
    padding: 0;
}

.sidebar.collapsed .dropdown-divider {
    margin: 0.5rem 1rem;
}

.sidebar .dropdown-toggle {
    position: relative;
    padding-right: 2.75rem !important; /* Убеждаемся, что есть место для стрелки */
}

.sidebar .dropdown-toggle::after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease,
                opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    pointer-events: none; /* Стрелка не перехватывает клики */
}

.sidebar .dropdown-toggle span {
    padding-right: 0.5rem; /* Дополнительный отступ от стрелки */
}

.sidebar .dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.sidebar.collapsed .dropdown-toggle::after {
    opacity: 0;
    visibility: hidden;
    display: block;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Скрытие выпадающих меню при сворачивании */
.sidebar.collapsed .dropdown-menu {
    display: none !important;
}

/* ============================================
   ОСНОВНОЙ КОНТЕНТ
   ============================================ */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Критично для правильного сжатия flex-элемента */
    max-width: 100%;
    background: #f4f7f9;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    transition: margin-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-content .container {
    padding: 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
    flex: 1;
    min-width: 0; /* Позволяет контейнеру сжиматься */
    box-sizing: border-box;
    transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   АДАПТИВНЫЙ ДИЗАЙН
   ============================================ */

/* Элементы, видимые только на определённых устройствах */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block;
}

/* Убеждаемся, что мобильное меню скрыто на десктопе */
@media (min-width: 769px) {
    .mobile-header {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .mobile-header {
        display: block;
    }

    .app-layout {
        flex-direction: column;
    }

    .main-content {
        height: auto;
        min-height: 100vh;
    }

    .main-content .container {
        padding: 1.25rem;
    }
    
    /* Блокируем скролл body когда меню открыто */
    body.menu-open {
        overflow: hidden;
    }

    /* Мобильное выпадающее меню */
    .navbar-menu {
        display: flex !important;
        flex-direction: column;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
        z-index: 99999 !important;
        padding: 80px 1.5rem 2rem !important;
        overflow-y: auto;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideDownFade {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-menu.show {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        animation: slideDownFade 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .navbar-menu .nav-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.125rem 1.5rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        font-weight: 600;
        justify-content: flex-start;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu .nav-link i {
        font-size: 1.25rem;
        width: 24px;
        text-align: center;
    }

    .navbar-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
        color: white;
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .navbar-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.4);
        color: white;
        box-shadow: inset 4px 0 0 #ffffff, 0 4px 12px rgba(0, 0, 0, 0.2);
        font-weight: 700;
    }

    /* Стили для новых элементов меню */
    .menu-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
        margin: 1rem 0;
        list-style: none;
    }

    .navbar-menu .logout-item {
        color: #ffcccc !important;
        background: rgba(255, 100, 100, 0.1) !important;
        border-color: rgba(255, 100, 100, 0.2) !important;
    }

    .menu-user-info {
        list-style: none;
        padding: 1rem 1.5rem;
        margin-top: auto;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-weight: 500;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-close-button {
        list-style: none;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-close-btn {
        width: 100%;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: rgba(255, 255, 255, 0.9) !important;
        cursor: pointer;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 600;
    }

    .menu-close-btn:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        color: white !important;
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .menu-close-btn:active {
        transform: translateX(3px);
    }
}
