/* 회원가입·가입 완료 화면 (signup.htm, signup_done.htm). PC·모바일 같은 화면 */
/* 공통 틀(#wrap)의 최소 폭 1004px 을 이 화면에서만 푼다. 상단 메뉴는 position:fixed 라 그 높이만큼 띄운다 */
#wrap, #PT_HEADER { min-width: 0; }
.su-page { max-width: 640px; margin: 0 auto; padding: 112px 16px 48px; box-sizing: border-box; font-size: 15px; color: #111827; line-height: 1.5; }
.su-page *, .su-page *::before, .su-page *::after { box-sizing: border-box; }
.su-head { margin-bottom: 20px; }
.su-head h1 { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.su-head p { margin: 0; color: #4B5563; }
.su-card { background: #FFFFFF; border: 1px solid #D1D5DB; border-radius: 12px; padding: 24px 20px; margin-bottom: 16px; }
.su-card h2 { margin: 0 0 16px; font-size: 18px; font-weight: 700; }
.su-field { margin-bottom: 16px; }
.su-field:last-child { margin-bottom: 0; }
.su-field > label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.su-sub, .su-opt { font-weight: 400; color: #6B7280; }
.su-req { font-weight: 400; color: #1D4ED8; }
.su-row { display: flex; gap: 8px; }
.su-row .su-input { flex: 1; min-width: 0; }
.su-input { display: block; width: 100%; height: 46px; padding: 0 12px; border: 1px solid #9CA3AF; border-radius: 8px; font-size: 16px; font-family: inherit; color: #111827; background: #FFFFFF; }
select.su-input { padding-right: 8px; }
.su-input:focus { outline: none; border-color: #1D4ED8; box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15); }
.su-input[readonly] { background: #F3F4F6; color: #374151; }
.su-mt8 { margin-top: 8px; }
.su-field.is-error .su-input { border-color: #B91C1C; }
.su-msg { margin: 6px 0 0; font-size: 13px; white-space: pre-line; }
.su-msg:empty { display: none; }
.su-field.is-error .su-msg, .su-msg.is-error { color: #B91C1C; }
.su-field.is-ok .su-msg, .su-msg.is-ok { color: #047857; }
.su-msg-form { text-align: center; margin-bottom: 10px; white-space: pre-line; }
.su-help { margin: 6px 0 0; font-size: 13px; color: #4B5563; }
.su-center { text-align: center; }
.su-btn-sub { flex: none; height: 46px; padding: 0 16px; border: 1px solid #1D4ED8; border-radius: 8px; background: #FFFFFF; color: #1D4ED8; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; }
.su-btn-cert { width: 100%; height: 46px; border: 1px solid #1D4ED8; border-radius: 8px; background: #FFFFFF; color: #1D4ED8; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; }
.su-btn-main { display: block; width: 100%; height: 54px; border: none; border-radius: 10px; background: #1D4ED8; color: #FFFFFF; font-size: 18px; font-weight: 700; font-family: inherit; cursor: pointer; text-align: center; line-height: 54px; text-decoration: none; }
.su-btn-main:hover { background: #1E40AF; color: #FFFFFF; text-decoration: none; }
.su-btn-main[disabled] { background: #6B7280; cursor: default; }
.su-btn-link { border: none; background: none; padding: 0; color: #1D4ED8; font-size: 14px; font-family: inherit; text-decoration: underline; cursor: pointer; }
.su-pw { position: relative; }
.su-pw .su-input { padding-right: 48px; }
.su-eye { position: absolute; top: 0; right: 0; width: 46px; height: 46px; border: none; background: none; color: #4B5563; font-size: 18px; cursor: pointer; }
.su-cert-done { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 8px; background: #ECFDF5; border: 1px solid #6EE7B7; }
.su-cert-done strong { color: #047857; font-size: 14px; }
.su-cert-done span { font-size: 16px; font-weight: 700; }
.su-cert-done em { font-style: normal; font-size: 13px; color: #4B5563; }
.su-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: #FFF7ED; border: 1px solid #FDBA74; font-size: 14px; color: #7C2D12; }
.su-check { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; cursor: pointer; }
.su-check input { width: 20px; height: 20px; margin: 0; flex: none; }
.su-check-all { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #E5E7EB; font-weight: 700; }
.su-agree { margin-bottom: 10px; }
.su-agree-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.su-policy { margin-top: 8px; max-height: 240px; overflow: auto; padding: 12px; border: 1px solid #E5E7EB; border-radius: 8px; background: #F9FAFB; font-size: 13px; }
.su-submit { margin-top: 8px; }

/* 가입 완료 */
.su-done-head { text-align: center; margin: 8px 0 24px; }
.su-done-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #DBEAFE; color: #1D4ED8; font-size: 30px; margin-bottom: 12px; }
.su-done-head h1 { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.su-done-head p { margin: 0; color: #4B5563; }
.su-done-actions { margin-bottom: 20px; }
.su-done-actions .su-help { text-align: center; }
.su-done-more { display: block; margin-top: 12px; text-align: center; font-size: 15px; color: #1D4ED8 !important; text-decoration: underline; }
.su-dl { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F3F4F6; }
.su-dl:last-child { border-bottom: none; }
.su-dl dt { color: #4B5563; }
.su-dl dd { margin: 0; font-weight: 700; text-align: right; }
.su-extend { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #EFF6FF; color: #1E3A8A; font-size: 14px; }
.su-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.su-guides a { display: block; padding: 12px 8px; border: 1px solid #D1D5DB; border-radius: 8px; text-align: center; color: #111827; font-size: 14px; text-decoration: none; }
.su-guides a:hover { border-color: #1D4ED8; color: #1D4ED8; }

@media (max-width: 480px) {
  .su-page { padding: 88px 16px 40px; }
  .su-head h1, .su-done-head h1 { font-size: 22px; }
  .su-card { padding: 20px 16px; }
  .su-guides { grid-template-columns: 1fr; }
}

/* 네이버·카카오로 가입 */
.su-social { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.su-btn-social { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; }
.su-btn-social .ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-size: 17px; }
/* 네이버 로그인 버튼 사용 가이드: 공식 버튼 이미지의 녹색·N 로고(16px, 레이블과 8px 간격) */
.su-btn-social.naver { background: #03A94D; color: #FFFFFF; }
.su-btn-social.kakao { background: #FEE500; color: rgba(0, 0, 0, .85); }
.su-btn-social:hover { opacity: .92; text-decoration: none; }
.su-social-or { margin: 6px 0 0; color: #6B7280; font-size: 13px; text-align: center; }
.su-social-on { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #A7F3D0; border-radius: 10px; background: #ECFDF5; color: #065F46; font-size: 14px; line-height: 1.6; }
.su-social-on strong { font-size: 15px; }
.su-social-on .su-btn-link { align-self: flex-start; }
