/* ============================================
   Terms — 약관/정책 문서 (ocs-terms 플러그인)
   푸터 링크 + 싱글 페이지 버전 UI
   ============================================ */

/* ----- 푸터 약관 링크 (네이비 푸터 위) ----- */
.ocs-footer-terms {
    margin: 0 0 10px;
    line-height: 1.9;
}
.ocs-footer-terms__link {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: color var(--t-fast);
}
.ocs-footer-terms__link:hover {
    color: var(--brass-2);
}
.ocs-footer-terms__sep {
    color: rgba(255,255,255,0.25);
    margin: 0 10px;
}

/* ----- 과거 버전 안내 배너 ----- */
.ocs-terms-notice {
    max-width: 680px;
    margin: 0 auto 36px;
    padding: 14px 18px;
    background: var(--paper-soft);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
}
.ocs-terms-notice a {
    color: var(--seal);
    font-weight: 600;
    border-bottom: 1px solid currentColor;
    white-space: nowrap;
}
.ocs-terms-notice a:hover { color: var(--seal-soft); }

/* ----- 버전 이력 ----- */
.ocs-terms-history {
    max-width: 680px;
    margin: 64px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.ocs-terms-history__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 0 0 14px;
}
.ocs-terms-history__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ocs-terms-history__item {
    border-bottom: 1px solid var(--line-soft);
}
.ocs-terms-history__item:last-child { border-bottom: 0; }
.ocs-terms-history__item a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 4px;
    color: var(--ink);
    transition: color var(--t-fast), background var(--t-fast);
}
.ocs-terms-history__item a:hover {
    color: var(--brass);
    background: rgba(176,138,74,0.04);
}
.ocs-terms-history__item.is-current a {
    color: var(--muted);
    cursor: default;
}
.ocs-terms-history__ver {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    min-width: 36px;
}
.ocs-terms-history__badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--brass);
    padding: 2px 7px;
    border-radius: var(--radius-pill);
}
.ocs-terms-history__date {
    color: var(--muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.ocs-terms-history__now {
    margin-left: auto;
    font-size: 12px;
    color: var(--brass);
    font-weight: 600;
}

/* ----- 회원가입 동의 체크박스 (auth 폼 내) ----- */
.ocs-auth-consents {
    margin: 6px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ocs-auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
}
.ocs-auth-consent input { margin-top: 3px; }
.ocs-auth-consent a {
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--brass);
}
.ocs-auth-consent a:hover { color: var(--brass); }
.ocs-auth-consent em {
    color: var(--seal);
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 768px) {
    .ocs-terms-notice,
    .ocs-terms-history { max-width: none; }
    .ocs-terms-history__item a { flex-wrap: wrap; gap: 8px; }
}
