/* 결제창 인증 후 안내 페이지(/checkout/done/) 스타일. (결제 페이지 /checkout 은 제거됨 — 결제창은 /pricing 구매 모달에서 바로 연다) */
@import url('/assets/mirror/vendor-cdn.imweb.me/fonts/pretendard/web/variable/pretendardvariable-dynamic-subset.css');
:root {
  --blue: #1472ff; --blue-d: #0b5fe0; --ink: #1d2127; --muted: #838383; --line: #e6e8eb;
  --bg: #f6f7f9; --card: #fff; --ok: #12a150; --err: #e5484d; --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
.co-header { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px; display: flex; align-items: center; }
.co-header img { display: block; height: 28px; width: auto; }
.co-main { max-width: 1040px; margin: 0 auto; padding: 32px 16px 64px; }
.co-main h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.02em; }
.co-sub { color: var(--muted); margin: 0 0 24px; }
.co-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
@media (max-width: 860px) { .co-grid { grid-template-columns: 1fr; } }
.co-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.co-card + .co-card { margin-top: 16px; }
.co-card h2 { font-size: 17px; margin: 0 0 16px; }
.co-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-seg label { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; display: block; }
.co-seg input { position: absolute; opacity: 0; pointer-events: none; }
.co-seg label:has(input:checked) { border-color: var(--blue); background: #f0f6ff; }
.co-seg b { display: block; font-size: 15px; }
.co-seg span { color: var(--muted); font-size: 13px; }
.co-field { margin-bottom: 14px; }
.co-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.co-field input, .co-field select { width: 100%; height: 44px; border: 1px solid #d5d8dc; border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; }
.co-field input:focus, .co-field select:focus { outline: 2px solid #b9d4ff; border-color: var(--blue); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.co-radio { display: flex; gap: 16px; font-size: 14px; margin-bottom: 8px; }
.co-summary dl, .co-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.co-summary dt, .co-dl dt { color: var(--muted); }
.co-summary dd, .co-dl dd { margin: 0; text-align: right; word-break: break-all; }
.co-total { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.co-total strong { font-size: 24px; color: var(--blue); }
.co-agree { font-size: 14px; }
.co-agree > label { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.co-agree > label.all { font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.co-agree input { margin-top: 4px; width: 16px; height: 16px; flex: none; }
.co-agree details { margin: 0 0 6px 24px; font-size: 12.5px; color: #555; }
.co-agree details summary { cursor: pointer; color: var(--muted); }
.co-agree details div { background: var(--bg); border-radius: 8px; padding: 10px 12px; margin-top: 6px; }
.co-btn { display: block; width: 100%; height: 52px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: 700 16px/52px inherit; font-family: inherit; text-align: center; text-decoration: none; cursor: pointer; }
.co-btn:hover { background: var(--blue-d); }
.co-btn:disabled { background: #a9c7f5; cursor: default; }
.co-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.co-error { color: var(--err); font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.co-policy { font-size: 13px; color: #555; }
.co-policy ul { margin: 0; padding-left: 18px; }
.co-footer { max-width: 1040px; margin: 0 auto; padding: 24px 16px 48px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.co-footer a { color: var(--muted); margin-right: 12px; }
.co-hidden { display: none !important; }
.co-result { max-width: 560px; }
.co-result .co-card { text-align: center; }
.co-result .co-dl { text-align: left; margin: 20px 0; }
.co-result-icon { width: 56px; height: 56px; border-radius: 50%; margin: 4px auto 14px; display: grid; place-items: center; font-size: 28px; color: #fff; }
.co-result-icon.ok { background: var(--ok); } .co-result-icon.fail { background: var(--err); }
.co-actions .co-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.co-result-icon.info { background: var(--blue); font-style: italic; font-family: Georgia, serif; }
.co-result .co-actions { margin-top: 20px; }
.co-code { font-size: 12px; }
.co-muted { color: var(--muted); }

/* 로그인 / 마이페이지 (site/login, site/mypage) */
.co-header { justify-content: space-between; }
.co-header .co-user { font-size: 14px; color: var(--ink); text-decoration: none; display: flex; gap: 14px; align-items: center; }
.co-header .co-user a { color: var(--ink); text-decoration: none; }
.co-header .co-user a:hover { color: var(--blue); }
.co-auth { max-width: 420px; }
.co-auth h1 { text-align: center; }
.co-auth .co-sub { text-align: center; }
.co-btn.secondary { background: #fff; color: var(--ink); border: 1px solid #d5d8dc; }
.co-btn.secondary:hover { background: #f5f6f8; }
.co-mypage { max-width: 760px; }
.co-mypage .co-dl dd { text-align: left; }
.co-orders { width: 100%; border-collapse: collapse; font-size: 14px; }
.co-orders th, .co-orders td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.co-orders th { color: var(--muted); font-weight: 600; font-size: 13px; }
.co-orders td.num { text-align: right; white-space: nowrap; }
.co-empty { color: var(--muted); text-align: center; padding: 24px 0; }
.co-btns { display: flex; gap: 10px; margin-top: 20px; }
.co-btns .co-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; height: 46px; font-size: 15px; }
@media (max-width: 600px) { .co-orders .hide-m { display: none; } }
