/* ============================================
   MENU SIDEBAR - CSS
   File: public/css/menu.css
   Dùng chung cho TẤT CẢ trang
   ============================================ */

/* Hiệu ứng trượt menu */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
    background: linear-gradient(135deg, #6b2c7a 0%, #8b3d98 50%, #a855c7 100%) !important;
}

/* Khi menu mở */
.menu.open {
    transform: translateX(0);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.show {
    display: block;
}

/* Menu section headers */
.menu-section-header {
    padding: 8px 32px 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f5d556 !important;
    opacity: 0.7;
    margin-top: 12px;
}

.menu-section-header:first-child {
    margin-top: 0;
}

/* Menu links - FORCE màu vàng */
.menu a,
.menu a span,
.menu a *,
.menu span,
.menu div a {
    color: #f5d556 !important;
}

.menu a:visited,
.menu a:link,
.menu a:active {
    color: #f5d556 !important;
}

.menu a:hover,
.menu a:hover span,
.menu a:hover * {
    color: #fef08a !important;
    opacity: 0.8;
}

/* Collapse toggle */
.collapse-toggle {
    cursor: pointer;
    user-select: none;
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.collapse-content.open {
    max-height: 500px;
}

/* Menu background */
.menu .bg-main {
    background: linear-gradient(135deg, #6b2c7a 0%, #8b3d98 50%, #a855c7 100%) !important;
}
