.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 9999;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1D2129;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.mobile-menu-panel.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #F0F0F0;
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1D2129;
    text-decoration: none;
}

.mobile-menu-brand img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F7FA;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: #1D2129;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-close:hover {
    background: #E5E6EB;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0;
}

.mobile-menu-link {
    display: block;
    padding: 0.85rem 1.5rem;
    color: #1D2129;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
    background: #F5F7FA;
    color: #165DFF;
}

.mobile-menu-link.active {
    color: #165DFF;
    background: #F0F5FF;
    border-left-color: #165DFF;
}

.mobile-menu-actions {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-login {
    display: block;
    text-align: center;
    padding: 0.7rem;
    color: #1D2129;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #E5E6EB;
    transition: all 0.2s ease;
}

.mobile-menu-login:hover {
    background: #F5F7FA;
}

.mobile-menu-cta {
    display: block;
    text-align: center;
    padding: 0.7rem;
    background: linear-gradient(135deg, #165DFF 0%, #4080FF 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-cta:hover {
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.35);
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
    }
}
