.navbar {
    background-color: var(--lot-green);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1rem;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: var(--lot-orange);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-name {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
}

.user-name-short {
    display: none;
}

.btn-login {
    background-color: var(--lot-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-logout {
    background-color: transparent;
    border: 2px solid var(--lot-orange);
    color: var(--lot-orange);
    padding: 0.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout:hover {
    background-color: var(--lot-orange);
    color: var(--lot-green);
}

.logout-icon {
    width: 20px;
    height: 20px;
}

.navbar-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.navbar-mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-mobile-toggle span:nth-child(1) {
    top: 10px;
}

.navbar-mobile-toggle span:nth-child(2) {
    top: 18px;
}

.navbar-mobile-toggle span:nth-child(3) {
    top: 26px;
}

.navbar-mobile-toggle.active span:nth-child(1) {
    top: 18px;
    transform: translateX(-50%) rotate(45deg);
}

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

.navbar-mobile-toggle.active span:nth-child(3) {
    top: 18px;
    transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .navbar-mobile-toggle {
        display: flex;
        order: -1;
    }

    .navbar-container {
        position: relative;
    }

    .navbar-left {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: var(--lot-green);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        transition: left 0.3s ease;
        z-index: 999;
        gap: 0;
    }

    .navbar-left.active {
        left: 0;
    }

    .navbar-left .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-right {
        margin-left: auto;
    }

    .user-name-full {
        display: none;
    }

    .user-name-short {
        display: inline;
    }
}
