/*
 * 한국어 페이지 언어 선택 위젯 (.intl-float) — partials/intl-float.php
 * style.css 는 Vite 번들이라 이 규칙은 별도 파일로만 로드한다. 단색만 쓴다.
 * 화면 왼쪽 아래에 떠 있고(오른쪽 아래의 상담·전화 버튼과 겹치지 않게), 누르면 언어 목록이 위로 펼쳐진다.
 */

.intl-float {
    position: fixed;
    left: 64px;
    bottom: 18px;
    z-index: 900;
    font-size: 14px;
    line-height: 1.4;
}

.intl-float > summary {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d9e0ea;
    border-radius: 999px;
    background: #fff;
    color: #101828;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.14);
}

.intl-float > summary::-webkit-details-marker {
    display: none;
}

.intl-float > summary:hover,
.intl-float[open] > summary {
    border-color: #0b4dd8;
    color: #0b4dd8;
}

.intl-float > summary:focus-visible,
.intl-float a:focus-visible {
    outline: 3px solid #0b4dd8;
    outline-offset: 2px;
}

.intl-float .intl-langs {
    position: absolute;
    left: 0;
    bottom: 48px;
    min-width: 150px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid #d9e0ea;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.18);
}

.intl-float .intl-langs a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: #101828;
    text-decoration: none;
    white-space: nowrap;
}

.intl-float .intl-langs a:hover {
    background: #f5f7fa;
    color: #0b4dd8;
}

.intl-float .intl-langs a[aria-current="page"] {
    background: #0d1b2e;
    color: #fff;
}

@media (max-width: 640px) {
    /* 왼쪽 아래의 설정(톱니) 버튼과 겹치지 않게 비켜 둔다 */
    .intl-float {
        left: 56px;
        bottom: 14px;
    }
}

@media print {
    .intl-float {
        display: none;
    }
}
