/* Language Switcher */

.lang-switcher {
    position: relative;
    display: inline-block;
    z-index: 1040;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.lang-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.lang-switcher-btn .lang-flag {
    font-size: 1.1em;
    line-height: 1;
}

.lang-switcher-btn .lang-code {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-switcher-btn .fa-chevron-down {
    font-size: 0.625rem;
    opacity: 0.6;
}

/* Dropdown — must override inherited white text from .top-bar */
.lang-switcher .lang-dropdown {
    min-width: 190px;
    padding: 6px;
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #E8E5E0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    z-index: 1050;
}

.lang-switcher .lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #333333 !important;
    transition: background 0.15s;
}

.lang-switcher .lang-item:hover {
    background: #F8F6F1;
    color: #2D4A3E !important;
}

.lang-switcher .lang-item.active {
    background: #F0EEE9;
    color: #2D4A3E !important;
    font-weight: 600;
}

.lang-item .lang-flag {
    font-size: 1.25em;
    line-height: 1;
}

.lang-item .lang-name {
    flex: 1;
}

/* Responsive: top bar layout on mobile */
@media (max-width: 768px) {
    .top-bar-right {
        gap: 8px !important;
    }

    .lang-switcher-btn .lang-code {
        display: none;
    }

    .lang-switcher-btn {
        padding: 5px 8px;
    }

    .btn-quote-top {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
