/* Shared TH / EN / JP segmented control. The existing autosubmit handler changes locale. */
.hrd-locale-form {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
}
.hrd-locale-switch {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(36px, 1fr));
    align-items: center;
    margin: 0;
    padding: 3px;
    border: 0;
    border-radius: 999px;
    background: #4b5a78;
}
.hrd-locale-switch__label {
    padding: 4px 9px;
    border-radius: 999px;
    color: #cbd5e5;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 120ms ease, color 120ms ease;
}
.hrd-locale-switch__input:checked + .hrd-locale-switch__label {
    color: #17365d;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
}
.hrd-locale-switch__input:focus-visible + .hrd-locale-switch__label {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}
.hrd-auth__card > .hrd-locale-form {
    display: flex;
    justify-content: flex-end;
    margin-block-end: 1rem;
}
@media (prefers-reduced-motion: reduce) {
    .hrd-locale-switch__label { transition: none; }
}
