.register-shell { max-width: 480px; margin: 60px auto; padding: 40px 48px; border-radius: 12px; border: 0.5px solid #d8e0ec; background: #ffffff; }
.register-title { margin: 0 0 6px; text-align: center; font-size: 22px; font-weight: 500; color: #1f2937; }
.register-subtitle { margin: 0 0 28px; text-align: center; font-size: 13px; color: #6b7280; }
.step-indicator { display: flex; align-items: center; margin-bottom: 24px; }
.step-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4b5263; }
.step-circle { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #e7f4ef; color: #0F6E56; }
.step-item.active .step-circle { background: #0F6E56; color: #ffffff; }
.step-item.active { color: #1f2937; }
.step-line { flex: 1; height: 0; border-top: 0.5px solid #d8e0ec; margin: 0 10px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 4px; font-size: 12px; color: #4b5563; }
.required { color: #f09595; }
.field input { width: 100%; background: #ffffff; border: 0.5px solid #d8e0ec; border-radius: 6px; padding: 10px 12px; color: #1f2937; font-size: 13px; }
.field select { width: 100%; background: #ffffff; border: 0.5px solid #d8e0ec; border-radius: 6px; padding: 10px 12px; color: #1f2937; font-size: 13px; }
.field input:focus { border-color: #0F6E56; outline: none; }
.field select:focus { border-color: #0F6E56; outline: none; }
.field input::placeholder { color: #9ca3af; }
.field select::placeholder { color: #9ca3af; }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active {
  -webkit-text-fill-color: #1f2937 !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  border: 0.5px solid #d8e0ec !important;
  transition: background-color 9999s ease-out 0s;
}
.guide { margin-top: 6px; font-size: 11px; color: #6b7280; }
.field-error { margin-top: 6px; font-size: 11px; color: var(--red-text); display: none; }
.field-ok { margin-top: 6px; font-size: 11px; color: var(--green-text); display: none; }
.field-success { border-color: #0F6E56 !important; box-shadow: 0 0 0 1px rgba(46, 122, 113, 0.25); }
.field-fail { border-color: var(--red-border) !important; }
.email-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.email-at { color: #6b7280; font-size: 13px; }
.email-domain-combo { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.email-domain-combo.direct-mode { grid-template-columns: 1fr 110px; }
.email-domain-input { display: none; }
.email-domain-combo.direct-mode .email-domain-input { display: block; }
.email-domain-select { width: 100%; }
.industry-block { display: flex; flex-direction: column; gap: 8px; }
.industry-rows { display: flex; flex-direction: column; gap: 8px; }
.industry-row { display: grid; grid-template-columns: 32px 1fr 1fr auto; gap: 8px; align-items: center; }
.industry-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #0F6E56; font-size: 11px; font-weight: 700; }
.industry-badge.sub { color: #3b82f6; }
.industry-add-btn { align-self: flex-start; border: 0.5px solid #d8e0ec; background: #ffffff; color: #0F6E56; border-radius: 6px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.industry-add-btn:hover { background: #f0f7f5; }
.industry-remove-btn { width: 28px; height: 28px; border-radius: 6px; border: 0.5px solid #d8e0ec; background: #ffffff; color: #6b7280; font-size: 16px; line-height: 1; cursor: pointer; }
.industry-remove-btn:hover { border-color: #f4c7c7; color: #b42318; background: #fff1f1; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #6b7280; padding: 0; cursor: pointer; line-height: 1; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.pw-toggle-btn svg { width: 18px; height: 18px; stroke: #6b7280; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pw-toggle-btn .icon-eye { display: none; }
.pw-toggle-btn .icon-eye-off { display: inline; }
.pw-toggle-btn.is-on .icon-eye { display: inline; }
.pw-toggle-btn.is-on .icon-eye-off { display: none; }
.row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.terms-wrap { background: var(--bg-surface2); border: 0.5px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.terms-all { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 500; font-size: 13px; color: var(--text-primary); }
.terms-divider { height: 0.5px; background: var(--border); margin-bottom: 10px; }
.terms-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12px; color: var(--text-secondary); }
.terms-item input[type="checkbox"], .terms-all input[type="checkbox"], .nts-check input[type="checkbox"] { accent-color: #0F6E56; }
.terms-tag { font-size: 12px; font-weight: 400; flex-shrink: 0; }
.terms-tag.required { color: var(--red-text); }
.terms-tag.optional { color: var(--text-secondary); }
.terms-view-btn { margin-left: auto; font-size: 11px; color: #0F6E56; background: none; border: none; cursor: pointer; white-space: nowrap; text-decoration: underline; flex-shrink: 0; }
.terms-view-btn:hover { opacity: 0.8; }
.btn { border: none; border-radius: 8px; padding: 12px; font-size: 13px; cursor: pointer; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-primary { width: 100%; background: #0F6E56; color: #ffffff; }
.switch-login { margin-top: 14px; text-align: center; font-size: 13px; color: #6b7280; }
.switch-login a { color: #0F6E56; text-decoration: none; }
.info-box, .nts-box { background: #f8fafc; border: 0.5px solid #d8e0ec; border-radius: 8px; padding: 12px 14px; font-size: 12px; color: #4b5563; margin-bottom: 16px; white-space: pre-line; }
.ocr-box { background: #f8fafc; border: 0.5px dashed #d8e0ec; border-radius: 8px; padding: 20px; text-align: center; margin-bottom: 16px; }
.ocr-title { color: #1f2937; font-size: 13px; margin: 0 0 4px; }
.ocr-subtitle { color: #6b7280; font-size: 12px; margin: 0 0 12px; }
.ocr-file { display: none; }
.ocr-file-btn { display: inline-block; background: #0F6E56; color: #ffffff; border-radius: 6px; padding: 9px 14px; font-size: 12px; cursor: pointer; }
.ocr-direct { margin-top: 10px; font-size: 12px; color: #6b7280; text-decoration: none; display: inline-block; }
.nts-box { background: #fff8e8; border-color: #f1d79b; color: #8a5b00; }
.nts-check { margin-top: 10px; font-size: 12px; }
.step2-actions { display: flex; gap: 8px; margin-top: 4px; }
.btn-back { background: #ffffff; border: 0.5px solid #d8e0ec; color: #4b5563; }
.btn-submit { flex: 1; background: #0F6E56; color: #ffffff; }
.msg { margin-bottom: 12px; font-size: 12px; color: #f09595; }
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}
.field-shake { animation: fieldShake 0.28s ease-in-out; }

/* ============================================================
   임무17 · 회원가입 페이지 모바일 대응
   ============================================================ */
@media (max-width: 640px) {
  /* 회원가입 카드 폭 100% 및 padding 축소 */
  .register-card, .register-container,
  [class*="max-w-"], .card {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 폼 라벨 가독성 확보 */
  label { font-size: 13px; }

  /* 2단 컬럼 → 단일 컬럼 */
  .grid.grid-cols-2 { grid-template-columns: 1fr !important; }
}
