/* Light / dark switch next to the language picker (inc/theme-mode.php, js/theme-switch.js). */
.saigon-theme-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    padding: 0;
    border: 1px solid var(--so-c-line);
    border-radius: 999px;
    background: var(--so-c-raised);
    color: var(--so-c-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.saigon-theme-switch svg {
    width: 18px;
    height: 18px;
}

.saigon-theme-switch:focus-visible {
    outline: 2px solid var(--so-c-ink);
    outline-offset: 2px;
}

.saigon-theme-switch-sun,
:root[data-saigon-theme="dark"] .saigon-theme-switch-moon {
    display: none;
}

:root[data-saigon-theme="dark"] .saigon-theme-switch-sun {
    display: block;
}

/* The picker's wrappers hold two controls now. */
.menu-top-header-lang,
.menu-top-header-lang-inner {
    display: inline-flex;
    align-items: center;
}
