/* OMNI-NEXUS KCTA TOUR · 기사 등록·참여 안내 (driver-register.html) */
:root {
  --dr-brand: #004e7c;
  --dr-accent: #0e7490;
  --dr-muted: #475569;
  --dr-bg: #f8fafc;
  --dr-card: #fff;
  --dr-border: #cbd5e1;
}

* {
  box-sizing: border-box;
}

body.dr-register {
  margin: 0;
  min-height: 100vh;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  background: var(--dr-bg);
  color: #0f172a;
  line-height: 1.55;
}

.dr-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 18px;
  background: var(--dr-brand);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 78, 124, 0.25);
}

.dr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1rem;
}

.dr-brand-mark {
  font-size: 1.35rem;
  line-height: 1;
}

.dr-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.dr-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: 10px;
  border: 2px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dr-nav a:hover,
.dr-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  outline: none;
}

.dr-shell {
  max-width: 42rem;
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.dr-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: #e0f2fe;
  color: var(--dr-brand);
  border: 1px solid #7dd3fc;
}

.dr-h1 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--dr-brand);
  line-height: 1.2;
}

.dr-lead {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: var(--dr-muted);
}

.dr-lead strong {
  color: #0f172a;
}

.dr-card {
  background: var(--dr-card);
  border: 2px solid var(--dr-border);
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.dr-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--dr-brand);
}

.dr-card p,
.dr-card li {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #334155;
}

.dr-card ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.dr-card li:last-child {
  margin-bottom: 0;
}

.dr-h2-compact {
  margin-bottom: 8px !important;
}

.dr-cta-row--wrap {
  margin-top: 10px;
}

.dr-form-warn--compact {
  margin-bottom: 12px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.dr-more {
  margin: 2px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--dr-border);
  background: #f8fafc;
}

.dr-more summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--dr-brand);
  list-style-position: outside;
}

.dr-more[open] summary {
  margin-bottom: 10px;
}

.dr-more .dr-field:first-of-type {
  margin-top: 0;
}

.dr-note--compact {
  margin-top: 6px;
  margin-bottom: 0;
  padding: 8px 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.dr-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.dr-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid var(--dr-brand);
  background: var(--dr-brand);
  color: #fff;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.dr-cta:hover,
.dr-cta:focus-visible {
  background: #0a5a8a;
  border-color: #0a5a8a;
  color: #fff;
  outline: none;
}

.dr-cta--ghost {
  background: #fff;
  color: var(--dr-brand);
}

.dr-cta--ghost:hover,
.dr-cta--ghost:focus-visible {
  background: #e0f2fe;
}

.dr-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fffbeb;
  border: 2px solid #fbbf24;
  font-size: 0.85rem;
  color: #78350f;
}

.dr-note strong {
  color: #92400e;
}

.dr-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

.dr-foot a {
  color: var(--dr-accent);
  font-weight: 800;
}

/* 등록 신청 폼 */
.dr-form-warn {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #78350f;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
}

.dr-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dr-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dr-field label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #475569;
}

.dr-field .dr-field-hint {
  font-size: 0.6875rem;
  color: #94a3b8;
  margin: 0;
}

.dr-field input[type='text'],
.dr-field input[type='tel'],
.dr-field input[type='email'],
.dr-field input[type='date'],
.dr-field select,
.dr-field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid var(--dr-border);
  width: 100%;
  box-sizing: border-box;
}

.dr-field textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.dr-field input:focus-visible,
.dr-field select:focus-visible,
.dr-field textarea:focus-visible {
  outline: none;
  border-color: var(--dr-brand);
  box-shadow: 0 0 0 3px rgba(0, 78, 124, 0.12);
}

.dr-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--dr-border);
}

.dr-consent input {
  margin-top: 3px;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--dr-brand);
  flex-shrink: 0;
}

.dr-consent label {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #334155;
  cursor: pointer;
}

.dr-submit {
  margin-top: 4px;
  min-height: 52px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--dr-brand);
  color: #fff;
  touch-action: manipulation;
}

.dr-submit:hover {
  background: #0a5a8a;
}

.dr-msg {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  margin-bottom: 10px;
}

.dr-msg.visible {
  display: block;
}

.dr-msg.err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.dr-msg.ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
