/* Mobile Expandable Menu */
.mobile-menu-expanded {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    position: relative;
    z-index: 1000;
    width: 100%;
}

.mobile-menu-expanded.active {
    max-height: 600px !important;
    overflow: visible !important;
}

.mobile-menu-expanded .container {
    opacity: 1;
    display: block;
}

.mobile-menu-expanded:not(.active) .container {
    display: none;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background-color: #fff;
    color: #2a4854;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.mobile-menu-item:hover {
    background-color: #2a4854;
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(42, 72, 84, 0.15);
}

.mobile-menu-item i {
    margin-right: 0.875rem;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-menu-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-item:hover i,
.mobile-menu-item:hover span {
    color: #fff;
}

/* Search item special styling */
.mobile-search-item {
    display: block;
    padding: 0.875rem 1rem;
}

.mobile-search-item:hover {
    transform: none;
}

.mobile-search-input {
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
}

.mobile-search-input:focus {
    border-color: #2a4854;
    box-shadow: 0 0 0 0.2rem rgba(42, 72, 84, 0.15);
}

/* Hamburger menu button */
#mobile-menu-toggle {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

#mobile-menu-toggle:hover i {
    color: #2a4854 !important;
}

#mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

#mobile-menu-toggle i {
    transition: transform 0.3s ease;
}
