/*
 * AMITOMI_LANGUAGE_SWITCHER_CSS_V1
 * Standalone, responsive language selector.
 */

.amitomi-language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
}

.amitomi-language-switcher a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 5px 9px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease;
}

.amitomi-language-switcher a:hover {
    background: rgba(127,127,127,.12);
}

.amitomi-language-switcher a[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.amitomi-language-switcher a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .amitomi-language-switcher {
        font-size: 12px;
        gap: 4px;
    }

    .amitomi-language-switcher a {
        min-height: 44px;
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .amitomi-language-switcher a {
        transition: none;
    }
}
