@charset 'utf-8';

/* 처리방침 화면 전용: 목록 안 문단 들여쓰기, 이전본 안내·이전 버전 선택 */
.policy .__cont-box li > p {
    text-indent: 0;
}

.policy-notice {
    margin-bottom: 1.5em;
    padding: 0.8em 1em;
    background: #fff6dc;
}

/* 영문 처리방침·약관 상단의 국문 사이트 링크(inc/nav_eng_policy.php) */
#glovalnav .gn-lang {
    align-self: center;
    padding: 5px 12px;
    border: 2px solid #222222;
    border-radius: 18px;
    color: #222222;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.2s ease-out, border-color 0.2s ease-out;
}

#glovalnav .gn-lang:hover,
#glovalnav .gn-lang:focus-visible {
    border-color: #3673a6;
    color: #3673a6;
}

/* 버전 선택: 사이트 알약형 버튼 모양, 오른쪽 원형 화살표는 .btn-more 처럼 hover 시 파랗게 채움 */
.policy-history {
    display: flex;
    justify-content: flex-start;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #dddddd;
}

/* 보이는 글자는 span(좁은 화면에서 줄바꿈), 실제 선택은 그 위에 겹친 투명 select 가 받는다 */
.policy-history__field {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-width: 23rem;
    max-width: 100%;
    min-height: 2.636rem;
    padding: 0.45rem 3rem 0.45rem 1.2rem;
    border: 1px solid #dddddd;
    border-radius: 1.318rem;
    background: #ffffff;
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.policy-history__value {
    color: #222222;
    font-size: 0.909rem;
    font-weight: 500;
    line-height: 1.4;
}

.policy-history__range {
    white-space: nowrap;
}

.policy-history__field select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    font-size: 16px;
    cursor: pointer;
}

.policy-history__field::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.409rem;
    width: 1.818rem;
    height: 1.818rem;
    margin-top: -0.909rem;
    border-radius: 50%;
    background: #dbe8f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233673A6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px 8px;
    pointer-events: none;
    transition: background-color 0.2s ease-out;
}

.policy-history__field:hover,
.policy-history__field:focus-within {
    border-color: #3673a6;
}

.policy-history__field:focus-within {
    box-shadow: 0 0 0 3px rgba(54, 115, 166, 0.18);
}

.policy-history__field:hover::after,
.policy-history__field:focus-within::after {
    background-color: #3673a6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 860px) {
    .policy-history__field {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .policy-history__field,
    .policy-history__field::after {
        transition: none;
    }
}
