/* D-39 임시 프리랜서 등록 — Document/APP-Mockup_FreelancerTemp.pdf 디자인 반영 (2026-07-08) */
:root {
  --ink: #1A1410;
  --paper: #FAF7F0;
  --canvas: #F2EBDA;
  --text-2: #5C4B3C;
  --text-3: #8A7A69;
  --line: #E4D9C6;
  --honey: #B8843D;
  --honey-deep: #8B6228;
  --honey-soft: #F3E6CE;
  --coral: #D8553C;
  --coral-deep: #9A2D17;
  --success: #4A7C3A;
  --success-soft: #E4EEDF;
  --warning: #C7942C;
  --danger: #C62828;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.wrap { max-width: 440px; margin: 0 auto; padding: 0 20px 60px; }

/* ── 상단 헤더(게이트 전용) ── */
.gate-header { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.gate-header .logo { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.gate-header .brand { font-weight: 800; font-size: 14.5px; }
.gate-header .url { margin-left: auto; font-size: 11.5px; color: var(--text-3); }

/* ── HERO(게이트) ── */
.hero {
  aspect-ratio: 4/3; border-radius: 20px; margin-bottom: 26px;
  background: linear-gradient(155deg, #2A1E15, #4A3320 120%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; position: relative; overflow: hidden;
}
.hero .play { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(246,181,126,.5); display: flex; align-items: center; justify-content: center; color: #F6B57E; font-size: 20px; margin-bottom: 14px; }
.hero .slot-label { font-size: 11px; color: #8A7A69; margin-bottom: 10px; }
.hero .hero-copy { color: #FAF7F0; font-weight: 800; font-size: 15px; line-height: 1.5; }

.eyebrow { font-size: 12px; color: var(--honey); font-weight: 700; margin-bottom: 6px; }
h1 { font-size: 22px; font-weight: 800; margin: 0 0 6px; line-height: 1.4; letter-spacing: -.01em; }
h1 .accent { color: var(--ink); }
h1 .dot { color: var(--coral); }
.headline-2 { font-size: 22px; line-height: 1.4; margin: 4px 0 8px; }
.headline-2 .light { font-weight: 500; color: var(--ink); }
.headline-2 .bold { font-weight: 800; }
.headline-2 .dot { color: var(--coral); }
.sub { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.tracked { letter-spacing: .015em; }

/* ── 폼 필드 ── */
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 12px; font-weight: 700; color: var(--text-3); margin-bottom: 6px; }
.fld input, .fld select {
  width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 0 14px; font-size: 14.5px; color: var(--ink);
  font-family: inherit;
}
.fld input:focus, .fld select:focus { outline: none; border-color: var(--honey); }
.fld-row { display: flex; gap: 8px; }
.fld-row select { flex: 0 0 34%; }
.fld-row input { flex: 1; }
.fld .warn { font-size: 11.5px; color: var(--coral-deep); margin-top: 6px; display: flex; gap: 4px; align-items: flex-start; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ── 약관 동의 ── */
.terms-all {
  display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 15px 16px; margin-bottom: 12px; font-weight: 800; font-size: 14px; cursor: pointer;
}
.chk-box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--honey); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: transparent;
}
.chk-box.checked { background: var(--honey); border-color: var(--honey); color: #fff; }
.terms-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin-bottom: 18px; }
.terms-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.terms-row:first-child { border-bottom: 1px dashed var(--line); }
.terms-row .must { color: var(--ink); font-weight: 800; }
.terms-row a { color: var(--honey-deep); text-decoration: underline; margin-left: auto; flex-shrink: 0; font-weight: 700; }

/* ── 버튼(필 형태) ── */
.btn {
  display: block; width: 100%; border: none; border-radius: 999px; padding: 16px;
  text-align: center; font-size: 15px; font-weight: 800; cursor: pointer; margin-top: 8px;
  text-decoration: none;
}
.btn.coral { background: var(--coral); color: #fff; }
.btn.honey { background: var(--honey); color: #fff; }
.btn.ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .arrow { margin-left: 4px; }

.error-box {
  display: none; border: 1.5px solid var(--line); background: #fff; border-radius: 14px;
  padding: 14px; text-align: center; margin-top: 14px; box-shadow: 0 12px 26px -18px rgba(26,20,16,.3);
}
.error-box.show { display: block; }
.error-box .msg { font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.error-box button { background: var(--ink); color: #fff; border: none; border-radius: 999px; padding: 7px 22px; font-size: 12.5px; font-weight: 700; }

/* ── 카드 ── */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.card.honey { border: 1.5px solid var(--honey); background: var(--honey-soft); }
.card.ink { background: var(--ink); color: var(--paper); }

.sacode-label { font-size: 11px; letter-spacing: .04em; color: var(--text-3); margin-bottom: 6px; }
.card.ink .sacode-label { color: #F6B57E; }
.card.honey .sacode-label { color: var(--honey-deep); }
.sacode-row { display: flex; align-items: center; justify-content: space-between; }
.sacode { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.card.ink .sacode { color: #F6B57E; }
.card.honey .sacode { color: var(--honey-deep); }
.copy-btn {
  background: rgba(0,0,0,.06); border: none; border-radius: 999px; padding: 6px 14px;
  font-size: 11.5px; font-weight: 700; color: inherit; cursor: pointer; flex-shrink: 0;
}
.card.ink .copy-btn { background: rgba(255,255,255,.1); color: #F6B57E; }

.section-label { font-size: 12px; color: var(--text-3); font-weight: 700; margin: 18px 0 8px; }
.section-label:first-of-type { margin-top: 0; }

.dashed-box {
  border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px;
  font-size: 12.5px; color: var(--text-2); line-height: 1.9;
}
.dashed-box b { color: var(--ink); }
.notice {
  display: flex; gap: 8px; font-size: 12px; color: var(--honey-deep); background: rgba(184,132,61,.1);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; line-height: 1.6;
}

.rowkv { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.rowkv:last-child { border-bottom: none; }
.rowkv .k { color: var(--text-3); }
.rowkv .v { font-weight: 700; }
.rowkv .v .note-inline { font-weight: 500; color: var(--text-3); font-size: 12px; margin-left: 4px; }
.badge-status { background: var(--success-soft); color: var(--success); font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }

.top-row { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 18px; }
.top-row h1 { margin: 0; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; color: var(--text-2); }

.linkbtn { color: var(--coral-deep); text-decoration: underline; font-weight: 700; cursor: pointer; }
.center { text-align: center; }
.hidden { display: none !important; }
.footer-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 20px; }
