/* ═══════════════════════════════════
    NAVBAR 
═══════════════════════════════════ */
.auth-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 60px;
    border-bottom: 1px solid #f0f0f0;
    gap: 0;
}

.auth-navbar-logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.auth-navbar-logo span {
    color: #7fcca0;
}

.auth-navbar-left-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-navbar-right-section {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.auth-navbar-locale {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}

.auth-navbar-locale:hover {
    background: #f5f5f5;
}

.auth-flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.auth-navbar-locale .auth-locale-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
}

.auth-chevron-icon {
    width: 13px;
    height: 13px;
}

.auth-navbar-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}
.auth-navbar-lang:hover {
    background: #f5f5f5;
}

.auth-lang-label {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #374151;
}

.auth-nav-link {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    border-radius: 4px;
    transition:
        background 0.15s,
        color 0.15s;
    white-space: nowrap;
    cursor: pointer;
}
.auth-nav-link:hover {
    color: #111;
}

.auth-nav-link .auth-chevron {
    color: #6b7280;
}

.auth-btn-nav-login {
    height: 34px;
    padding: 0 18px;
    background-color: #1e4d35;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.15s;
    white-space: nowrap;
}
.auth-btn-nav-login:hover {
    background: #163d29;
}

.auth-navbar-locale,
.auth-navbar-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px 8px;
    border-radius: 4px;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    font-family: inherit;
    position: relative;
}

.auth-navbar-locale:hover,
.auth-navbar-lang:hover {
    background: #f5f5f5;
}

.auth-flag-img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
}

.auth-navbar-locale .auth-locale-label,
.auth-navbar-lang .auth-lang-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.auth-navbar-lang .auth-lang-label {
    font-weight: 400;
}

.auth-navbar-locale .auth-chevron-icon,
.auth-navbar-lang .auth-chevron-icon {
    width: 14px;
    height: 14px;
    color: #6b7280;
    transition: transform 0.2s;
}

.auth-chevron-icon.open {
    transform: rotate(180deg);
}

/* Dropdowns */
.auth-dropdown-menu {
    display: none;
    position: absolute;
    top: 56px; /* exactly the navbar height */
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 150px;
    z-index: 100;
    overflow: hidden;
}

.auth-dropdown-menu.open {
    display: block;
}

.auth-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.12s;
}

.auth-dropdown-item:hover {
    background: #f3f4f6;
}

.auth-dropdown-item .auth-check-icon {
    margin-left: auto;
    color: #1e4d35;
}
