.navbar {
    background-color: rgb(19 90 116 / 90%);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    /* align-items: center; */
    overflow: hidden;
    
}

.nav-logo {
    width: 12%;
    height: auto;
    float: inline-end;
    pointer-events: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e0e0e0;
}

.nav-links a.active {
    color: #4CAF50;
}

.nav-button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-button:hover {
    background: white;
    color: rgb(19 90 116);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-content.show {
    display: block;
    animation: dropdownFade 0.3s ease-in-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-info {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.profile-icon {
    font-size: 2em;
    color: #666;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    color: #333;
}

.user-email {
    font-size: 0.9em;
    color: #666;
}

.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}

.dropdown-btn {
    width: 100%;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s;
}

.dropdown-btn:hover {
    background-color: #f8f9fa;
}

.dropdown-btn i {
    width: 20px;
    text-align: center;
    color: #666;
}

.item-description {
    font-size: 0.8em;
    color: #666;
    margin-left: auto;
}

@media (max-width: 1330px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgb(19 90 116 / 95%);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        border-radius: 0;
    }
}