/* Menu Styles */
.navbar {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    height: 60px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    padding-left: 20px;
}

.navbar .logo a {
    color: white;
    text-decoration: none;
}

.navbar .logo a:hover {
    opacity: 0.9;
}

.zoom-tool-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
}

.zoom-tool-iframe {
    width: 200px;
    height: 60px;
    border: none;
    background: transparent;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    margin-right: 20px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    padding-right: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links a.logout-link {
    background: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 0.9);
}

.nav-links a.logout-link:hover {
    background: rgba(239, 68, 68, 0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .zoom-tool-container {
        display: none;
    }
    
    .navbar .container {
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex;
        margin-left: 0;
        margin-right: 20px;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #7c3aed, #4f46e5);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        margin-left: 0;
        padding-right: 0;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 10px 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        width: calc(100% - 40px);
        margin: 5px 20px;
        text-align: center;
    }
}
