/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
}

.nav-title {
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none !important;
}

/* Responsive Navbar - Simplified */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu li a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .nav-title {
        font-size: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .navbar {
        padding: 0.4rem 0.5rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu li a {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
    
    .nav-logo-img {
        width: 32px;
        height: 32px;
    }
    
    .nav-title {
        font-size: 0.9rem;
    }
}


.nav-auth a {
    /* background-color: white; */
    color: var(--primary-color);
    padding: 0.35rem 0.8rem;
    border-radius: var(--border-radius);
    border: 1px solid white;
    transition: var(--transition);
}

.nav-auth a:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Adjust mobile menu items */
@media (max-width: 768px) {
    .nav-auth a {
        margin: 0.25rem 0;
        color: white !important;
        border-color: white;
        padding: 0.75rem 0.8rem;
        text-align: center;
    }

    .nav-auth a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    /* Dropdown menu adjustments for mobile */
    .dropdown-menu {
        position: static;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        min-width: auto;
        margin-top: 0.5rem;
        border-radius: 4px;
    }

    .dropdown-menu li a {
        color: white !important;
        padding: 0.5rem 1rem;
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* dropdown menu styles */
/* Dropdown container */
.nav-auth.dropdown {
    position: relative;
}

/* Dropdown menu */
.nav-auth.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    /* match your theme */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 120px;
    z-index: 100;
    padding: 5px 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #f2f2f2;
}

/* Active state for JS toggle */
.dropdown.active .dropdown-menu {
    display: block;
}