.header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.header-lang-picker select {
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 28px 6px 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color 0.2s ease;
    white-space: nowrap;
}

.header-lang-picker select:hover {
    border-color: #999;
}

.header-lang-picker select:focus {
    outline: none;
    border-color: #333;
}

/* In mobile nav overlay — left-aligned, not full width */
#nav-container .header-lang-picker {
    display: inline-block;
    margin-bottom: 1rem;
}

/* Keep header-right as a row at tablet — the lang picker is compact enough */
@media (max-width: 1024px) {
    .header-right {
        flex-direction: row;
        gap: 30px;
        align-items: center;
    }
}
