/* =========================================================
   서울정석치과 회원 스킨 (로그인 / 회원가입 / 정보수정 / 비밀번호 찾기)
   ========================================================= */
.smb {
  --smb-navy:#15264B;
  --smb-navy-2:#24396b;
  --smb-blue:#325AB1;
  --smb-soft:#EFF3FD;
  --smb-text:#111;
  --smb-sub:#666;
  --smb-mute:#999;
  --smb-line:#E3E7EF;
  --smb-red:#E0493B;
  --smb-green:#1E9E63;
  --smb-top:180px;        /* 상단 고정 헤더 아래 여백 (헤더 높이에 맞춰 조정) */

  padding:var(--smb-top) 20px 120px;
  background:#F5F6F9;
  color:var(--smb-text);
  font-size:15px; line-height:1.6; letter-spacing:-0.02em;
  word-break:keep-all;
  box-sizing:border-box;
}
.smb *, .smb *::before, .smb *::after {box-sizing:border-box;}
/* 기본 초기화 (:where로 우선순위 0 → 아래 컴포넌트 스타일이 항상 이김) */
:where(.smb) :where(h2, h3, p, ul, ol, fieldset) {margin:0; padding:0;}
:where(.smb) :where(ul, ol) {list-style:none;}
:where(.smb) fieldset {border:0; min-width:0;}
:where(.smb) a {color:inherit; text-decoration:none;}
.smb .sound_only {position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}

.smb--login {min-height: 100vh;}
.smb-box {
  max-width:480px; margin:0 auto;
  padding:52px 44px 44px; border-radius:24px;
  background:#fff; box-shadow:0 20px 60px rgba(13,26,58,0.08);
}
.smb--wide .smb-box {max-width:720px;}

/* 머리말 */
.smb-head {text-align:center; margin-bottom:36px;}
.smb-head .smb-logo {width: 250px;margin: 0 auto;}
.smb-head .smb-logo img {width: 100%;height: auto;}
.smb-eyebrow {display: none;font-size:13px; font-weight:700; letter-spacing:0.18em; color:var(--smb-blue);}
.smb-tit {font-size:32px; font-weight:700;}
.smb-desc {margin-top:10px !important; font-size:15px; color:var(--smb-sub);}
.smb-desc strong {color:var(--smb-navy); font-weight:700;}

/* 단계 표시 */
.smb-steps {display:flex; justify-content:center; gap:8px; margin-bottom:32px !important;}
.smb-steps li {display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:#B4BAC6;}
.smb-steps li + li::before {content:""; width:28px; height:1px; margin-right:2px; background:#D7DCE6;}
.smb-steps li span {
  display:flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%;
  background:#EEF0F4; font-size:12px; font-weight:700; color:#A6ADBB;
}
.smb-steps li.is-on {color:var(--smb-navy);}
.smb-steps li.is-on span {background:var(--smb-navy); color:#fff;}
.smb-steps li.is-done {color:var(--smb-blue);}
.smb-steps li.is-done span {background:var(--smb-soft); color:var(--smb-blue);}

/* 입력 */
.smb-field + .smb-field {margin-top:20px;}
.smb-label {display:block; margin-bottom:8px; font-size:14px; font-weight:700; color:var(--smb-text);display: none;}
.smb-label i {font-style:normal; color:var(--smb-red); margin-left:2px;}
.smb-label small {font-weight:400; color:var(--smb-mute); margin-left:4px;}
.smb-input {
  display:block; width:100%; height:54px; padding:0 16px;
  border:1px solid var(--smb-line); border-radius:6px; background:#fff;
  font-size:16px; color:var(--smb-text); font-family:inherit;
  transition:border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance:none; appearance:none;
}
.smb-input::placeholder {color:#B5BBC6;}
.smb-input:focus {outline:none; border-color:var(--smb-navy); box-shadow:0 0 0 3px rgba(21,38,75,0.1);}
.smb-input[readonly] {background:#F5F6F9; color:var(--smb-sub);}
.smb-input.is-err {border-color:var(--smb-red);}
.smb-input.is-ok {border-color:var(--smb-green);}

.smb-inline {display:flex; gap:8px;}
.smb-inline .smb-input {flex:1; min-width:0;}

.smb-pw {position:relative;}
.smb-pw .smb-input {padding-right:52px;}
.smb-pw__toggle {
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; padding:0; border:0; background:none; color:#A6ADBB; cursor:pointer;
}
.smb-pw__toggle svg {width:20px; height:20px;}
.smb-pw__toggle .ico-hide {display:none;}
.smb-pw__toggle.is-show {color:var(--smb-navy);}
.smb-pw__toggle.is-show .ico-show {display:none;}
.smb-pw__toggle.is-show .ico-hide {display:block;}

.smb-msg {margin-top:7px !important; font-size:13px; color:var(--smb-mute);}
.smb-msg.is-err {color:var(--smb-red);}
.smb-msg.is-ok {color:var(--smb-green);}

/* 버튼 */
.smb-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:54px; padding:0 22px; border:1px solid transparent; border-radius:6px;
  font-size:16px; font-weight:700; line-height:1; font-family:inherit; white-space:nowrap;
  cursor:pointer; transition:background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.smb-btn--primary {background:var(--smb-navy); color:#fff;}
.smb-btn--primary:hover {background:var(--smb-navy-2);}
.smb-btn--line {background:#fff; border-color:var(--smb-line); color:var(--smb-navy);}
.smb-btn--line:hover {border-color:var(--smb-navy);}
.smb-btn--soft {background:var(--smb-soft); color:var(--smb-navy);}
.smb-btn--soft:hover {background:#e1e8f8;}
.smb-btn--block {display:flex; width:100%;}
.smb-btn:disabled {opacity:0.5; cursor:default;}
.smb-btns {display:flex; gap:10px; margin-top:32px;}
.smb-btns .smb-btn {flex:1;}

/* 체크박스 */
.smb-check {display:inline-flex; align-items:flex-start; gap:9px; font-size:14px; color:var(--smb-sub); cursor:pointer; line-height:1.5;}
.smb-check input {
  -webkit-appearance:none; appearance:none; flex-shrink:0;
  width:20px; height:20px; margin:0; border:1.5px solid #C9CED9; border-radius:6px; background:#fff;
  cursor:pointer; transition:0.15s;
}
.smb-check input:checked {
  border-color:var(--smb-navy);
  background:var(--smb-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.smb-check input:focus-visible {box-shadow:0 0 0 3px rgba(21,38,75,0.15);}
.smb-check b {font-weight:700; color:var(--smb-text);}

/* 로그인 */
.smb-login__opt {display:flex; align-items:center; justify-content:space-between; gap:10px; margin:18px 0 26px;}
.smb-login__opt a {font-size:14px; color:var(--smb-sub);}
.smb-login__opt a:hover {color:var(--smb-navy); text-decoration:underline;}
.smb-join {margin-top:32px; padding-top:28px; border-top:1px solid var(--smb-line); text-align:center;}
.smb-join p {font-size:14px; color:var(--smb-sub); margin-bottom:14px !important;}

/* 약관 */
.smb-agree-all {
  display:flex; padding:20px 22px; border-radius:6px; background: #f6f6f6;
}
.smb-agree-all .smb-check {font-size:16px; font-weight:500; color: #1c1c1c;}
.smb-agree-all .smb-check input {width:22px; height:22px; border-color:#9FB0D3;}
.smb-terms {margin-top:24px;}
.smb-terms__head {display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px;}
.smb-terms__head h3 {font-size:16px; font-weight:700;}
.smb-terms__head h3 em {font-style:normal; font-weight:600; color:var(--smb-blue); margin-right:6px;}
.smb-terms__txt {
  display:block; width:100%; height:150px; padding:16px 18px;
  border:1px solid var(--smb-line); border-radius:6px; background:#FAFBFC;
  font-size:13px; line-height:1.7; color:var(--smb-sub); font-family:inherit; resize:none;
}
.smb-terms__txt:focus {outline:none; border-color:#B9C3D8;}
.smb-terms__table {width:100%; border-collapse:collapse; border-top:2px solid var(--smb-navy); font-size:13px; text-align:center;}
.smb-terms__table th {padding:11px 8px; background:#F7F9FD; font-weight:700; color:var(--smb-text); border-bottom:1px solid var(--smb-line);}
.smb-terms__table td {padding:12px 8px; color:var(--smb-sub); border-bottom:1px solid var(--smb-line); line-height:1.5;}
.smb-terms__table + .smb-terms__txt {margin-top:10px;}
.smb-terms__chk {margin-top:12px; text-align:right;}

/* 회원가입 폼 섹션 */
.smb-sec + .smb-sec {margin-top:36px; padding-top:32px; border-top:1px solid var(--smb-line);}
.smb-sec__tit {margin-bottom:18px !important; font-size:17px; font-weight:800;}
.smb-sec__tit small {font-size:13px; font-weight:400; color:var(--smb-mute); margin-left:6px;}
.smb-agree-opt {display:flex; flex-direction:column; gap:12px;}
.smb-leave {margin-top:20px !important; text-align:center; font-size:13px;}
.smb-leave a {color:var(--smb-mute); text-decoration:underline;}

.smb--agree .smb-head,
.smb--join .smb-head {text-align: left;}
.smb--agree .smb-head .smb-subtit,
.smb--join .smb-head .smb-subtit {font-weight: 700;}

/* 자동등록방지 (그누보드 kcaptcha) */
.smb #captcha {position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; padding:0; border:0;}
.smb #captcha legend {position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}
.smb #captcha #captcha_img {height:54px; width:auto; border:1px solid var(--smb-line); border-radius:12px; background:#fff;}
.smb #captcha #captcha_mp3,
.smb #captcha #captcha_reload {
  width:46px; height:54px; margin:0; padding:0; border:1px solid var(--smb-line); border-radius:12px;
  background:#fff center/20px no-repeat; font-size:0; text-indent:-9999px; overflow:hidden; cursor:pointer;
}
.smb #captcha #captcha_mp3 span, .smb #captcha #captcha_reload span {display:none;}
.smb #captcha #captcha_mp3 {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315264B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");}
.smb #captcha #captcha_reload {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315264B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.6-6.4L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E");}
.smb #captcha #captcha_mp3:hover, .smb #captcha #captcha_reload:hover {border-color:var(--smb-navy);}
.smb #captcha #captcha_key {
  flex:1; min-width:120px; height:54px; margin:0; padding:0 16px;
  border:1px solid var(--smb-line); border-radius:12px; font-size:18px; font-weight:700; letter-spacing:0.15em; text-align:center;
}
.smb #captcha #captcha_key:focus {outline:none; border-color:var(--smb-navy); box-shadow:0 0 0 3px rgba(21,38,75,0.1);}
.smb #captcha #captcha_info {display:block; width:100%; font-size:13px; color:var(--smb-mute);}

/* 가입완료 */
.smb-done {text-align:center;}
.smb-done__icon {
  display:flex; align-items:center; justify-content:center;
  width:84px; height:84px; margin:0 auto 24px; border-radius:50%;
  background:var(--smb-soft); color:var(--smb-navy);
}
.smb-done__icon svg {width:40px; height:40px;}
.smb-done__info {margin-top:28px !important; padding:20px 22px; border-radius:6px; background:#F7F9FD; text-align:left; font-size:14px; color:var(--smb-sub);}
.smb-done__info li + li {margin-top:6px;}
.smb-done__info b {display:inline-block; min-width:72px; color:var(--smb-text);}

/* 비밀번호 찾기 (팝업 창) */
.smb--popup {--smb-top:28px; min-height:100vh; padding-bottom:28px;}
.smb--popup .smb-box {padding:36px 30px 30px;}
.smb--popup .smb-head {margin-bottom:24px;}
.smb--popup .smb-tit {font-size:24px;}

/* 반응형 */
@media (max-width:960px) {
  .smb {--smb-top:120px;}
}
@media (max-width:560px) {
  .smb {padding-left:16px; padding-right:16px; padding-bottom:80px; background:#fff;}
  .smb-box {padding:8px 4px 0; border-radius:0; box-shadow:none;}
  .smb--popup .smb-box {padding:8px 0 0;}
  .smb-tit {font-size:27px;}
  .smb-steps li {font-size:0; gap:0;}
  .smb-steps li.is-on {font-size:13px; gap:6px;}
  .smb-steps li + li::before {width:18px;}
  .smb-terms__table {font-size:12px;}
  .smb-terms__table th, .smb-terms__table td {padding:9px 4px;}
  .smb-btns {flex-direction:column-reverse;}
  .smb-btns .smb-btn {flex:none; width:100%;}
}

/* =========================================================
   회원가입 STEP 02 (정보입력 / 회원정보 수정) - 2026-12 시안
   ========================================================= */
/* 회원가입 단계 화면 너비 통일 (약관동의 · 정보입력 · 가입완료) */
.smb--agree .smb-box,
.smb--join .smb-box,
.smb--result .smb-box {max-width:720px;}

.smb--join .smb-box {position:relative;}
.smb--join .smb-close {position:absolute; top:28px; right:28px; display:flex; width:32px; height:32px; color:#111;}
.smb--join .smb-close svg {width:100%; height:100%;}
.smb--join .smb-head {margin-bottom:40px; padding-right:40px;}
.smb--join .smb-subtit {font-size:17px; font-weight:700; color:#111;}
.smb--join .smb-tit {margin-top:10px; font-size:28px; font-weight:700; letter-spacing:-0.03em;}

/* 라벨 */
.smb--join .smb-field + .smb-field {margin-top:28px;}
.smb--join .smb-label {display:block; margin-bottom:10px; font-size:16px; font-weight:500; color:#111;}
.smb--join .smb-label i {color:#2346C8; margin-left:4px;}

/* 입력칸: 회색 배경, 테두리 없음 */
.smb--join .smb-input {height:54px; padding:0 20px; border:1px solid transparent; border-radius:6px; background:#F4F4F4; font-size:16px;}
.smb--join .smb-input::placeholder {color:#8A8A8A;}
.smb--join .smb-input:focus {background:#fff; border-color:#111; box-shadow:none;}
.smb--join .smb-input[readonly] {background:#EDEDED; color:#666;}
.smb--join .smb-input[readonly]:focus {border-color:transparent;}
.smb--join .smb-input.is-err {border-color:var(--smb-red);}
.smb--join .smb-input.is-ok {border-color:transparent;}

/* 중복확인 버튼 */
.smb--join .smb-btn--check {flex:0 0 104px; height:54px; padding:0; border-radius:6px; background:#EEF2FE; color:#2346C8; font-size:16px; font-weight:500;}
.smb--join .smb-btn--check:hover {background:#E1E8FD;}

/* 비밀번호 눈 아이콘 (숨김 상태 = 빗금 눈) */
.smb--join .smb-pw .smb-input {padding-right:56px;}
.smb--join .smb-pw__toggle {right:8px; color:#666;}
.smb--join .smb-pw__toggle .ico-show {display:none;}
.smb--join .smb-pw__toggle .ico-hide {display:block;}
.smb--join .smb-pw__toggle.is-show {color:#111;}
.smb--join .smb-pw__toggle.is-show .ico-show {display:block;}
.smb--join .smb-pw__toggle.is-show .ico-hide {display:none;}

/* 안내문구 */
.smb--join .smb-msg {margin-top:10px !important; font-size:14px; color:#777;}
.smb--join .smb-msg.is-ok {color:#2346C8;}
.smb--join .smb-msg.is-err {color:var(--smb-red);}
.smb--join .smb-notes {margin-top:10px; font-size:14px; line-height:1.6; color:#777;}
.smb--join .smb-notes li {position:relative; padding-left:10px;}
.smb--join .smb-notes li::before {content:"·"; position:absolute; left:0; top:0;}
.smb--join .smb-notes li + li {margin-top:2px;}

/* 셀렉트 */
.smb--join .smb-select {
  padding-right:44px; cursor:pointer;
  background:#F4F4F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 18px center/18px no-repeat;
}
.smb--join .smb-select:focus {background-color:#fff;}

/* 연락처: 010 ▾ | 번호 | 중복확인 */
.smb--join .smb-hp .smb-select {flex:0 0 112px; width:112px;}
.smb--join .smb-hp #hp_rest {flex:1;}

/* 이메일: 아이디 @ 도메인 | 직접입력 ▾ */
.smb--join .smb-email {align-items:center;}
.smb--join .smb-email #email_id,
.smb--join .smb-email #email_domain {flex:1 1 0; min-width:0;}
.smb--join .smb-email__at {flex-shrink:0; padding:0 2px; font-size:16px; color:#111;}
.smb--join .smb-email .smb-select {flex:0 0 140px; width:140px;}

/* 자동등록방지 */
.smb--join #captcha #captcha_img,
.smb--join #captcha #captcha_mp3,
.smb--join #captcha #captcha_reload {border-radius:6px; border-color:transparent; background-color:#F4F4F4;}
.smb--join #captcha #captcha_key {border-radius:6px; border-color:transparent; background:#F4F4F4;}
.smb--join #captcha #captcha_key:focus {background:#fff; border-color:#111; box-shadow:none;}
.smb--join #captcha #captcha_info {margin-top:2px; font-size:14px; color:#777;}

/* 가입하기 버튼 */
.smb--join .smb-btns {margin-top:48px;}
.smb--join .smb-btn--primary {height:56px; border-radius:6px; background:#000; font-size:17px; font-weight:600;}
.smb--join .smb-btn--primary:hover {background:#222;}
.smb--join .smb-leave {margin-top:24px !important;}

@media (max-width:560px) {
  .smb--join .smb-close {top:0; right:0; width:28px; height:28px;}
  .smb--join .smb-head {margin-bottom:32px;}
  .smb--join .smb-tit {font-size:24px;}
  .smb--join .smb-field + .smb-field {margin-top:24px;}
  .smb--join .smb-input {padding:0 16px;}
  .smb--join .smb-btn--check {flex-basis:96px;}
  .smb--join .smb-hp .smb-select {flex-basis:96px; width:96px; padding-left:16px;}
  .smb--join .smb-email {gap:6px;}
  .smb--join .smb-email .smb-select {flex-basis:128px; width:128px; padding-left:14px; padding-right:32px; font-size:14px; background-position:right 10px center; background-size:16px;}
  .smb--join .smb-email #email_id,
  .smb--join .smb-email #email_domain {padding:0 12px;}
}
@media (max-width:380px) {
  .smb--join .smb-email {flex-wrap:wrap; row-gap:8px;}
  .smb--join .smb-email .smb-select {flex:1 0 100%; width:100%;}
}

/* =========================================================
   회원가입 STEP 03 (가입완료) - STEP 01·02 톤에 맞춤
   ========================================================= */
   .smb--result .smb-box {position:relative;}
   .smb--result .smb-close {position:absolute; top:28px; right:28px; display:flex; width:32px; height:32px; color:#111;}
   .smb--result .smb-close svg {width:100%; height:100%;}
   .smb--result .smb-head {margin-bottom:36px; padding-right:40px; text-align:left;}
   .smb--result .smb-subtit {font-size:17px; font-weight:700; color:#111;}
   .smb--result .smb-tit {margin-top:10px; font-size:28px; font-weight:700; letter-spacing:-0.03em;}
   .smb--result .smb-desc {margin-top:14px !important; font-size:16px; line-height:1.65; color:#666;}
   .smb--result .smb-desc strong {color:#111; font-weight:600;}
   
   .smb--result .smb-done__info {margin:0 !important; padding:24px 28px; border-radius:6px; background:#F4F4F4; text-align:left;}
   .smb--result .smb-done__info > div {display:flex; gap:16px; font-size:16px; line-height:1.5;}
   .smb--result .smb-done__info > div + div {margin-top:10px;}
   .smb--result .smb-done__info dt {flex:0 0 64px; color:#888;}
   .smb--result .smb-done__info dd {margin:0; color:#111; font-weight:500; word-break:break-all;}
   
   .smb--result .smb-notes {margin-top:12px; font-size:14px; line-height:1.6; color:var(--smb-red);}
   .smb--result .smb-notes li {position:relative; padding-left:10px;}
   .smb--result .smb-notes li::before {content:"·"; position:absolute; left:0; top:0;}
   
   .smb--result .smb-btns {margin-top:40px;}
   .smb--result .smb-btn {height:56px; border-radius:6px; font-size:17px; font-weight:600;}
   .smb--result .smb-btn--line {border-color:#DDD; color:#111;}
   .smb--result .smb-btn--line:hover {border-color:#111;}
   .smb--result .smb-btn--primary {background:#000; color:#fff;}
   .smb--result .smb-btn--primary:hover {background:#222;}
   
   @media (max-width:560px) {
     .smb--result .smb-close {top:0; right:0; width:28px; height:28px;}
     .smb--result .smb-head {margin-bottom:28px;}
     .smb--result .smb-tit {font-size:24px;}
     .smb--result .smb-desc {font-size:15px;}
     .smb--result .smb-desc br {display:none;}
     .smb--result .smb-done__info {padding:20px;}
     .smb--result .smb-done__info > div {font-size:15px;}
   }

   /* 다국어: 약관 동의 체크박스 오른쪽 정렬 유지 + 가입완료 표 정렬 */
.smb-terms__chk {display:flex; justify-content:flex-end; text-align:left;}
.smb--result .smb-done__info {display:grid; grid-template-columns:max-content 1fr; gap:10px 20px; font-size:16px; line-height:1.5;}
.smb--result .smb-done__info > div {display:contents;}
.smb--result .smb-done__info dt {color:#888;}