/* 2026-12-02 사장님 「B안 소나무·크랜베리」 — 파랑·남색 → 소나무, 민트 → 크랜베리, 일반 글자 → 검정 (원래 색은 git 기록) */
/* ══ 로그인 · 회원가입 · 아이디/비밀번호 찾기 (2026-11-19 사장님 「회원가입 페이지 실제 활용 가능하게 단장」) ══
   로그인 카드(quote-new.css 의 html[data-nq-page="login"])와 같은 모양을 회원가입·계정 찾기에 맞춘다.
   스위치(SR_NEWQUOTE)와 상관없이 늘 붙는다 — html[data-auth-page="signup" | "find"] 는 그 페이지 머리에서 바로 정한다.
   로그인 화면에 새로 붙은 것(최근 로그인 · 로그인 상태 유지 · 아이디/비밀번호 찾기 링크)도 여기.
   색: 남색 #213455 · 민트 #1FB892 / #128A6D · 바탕 #F3F6FA · 선 #E3E8EF (로그인 카드와 같은 값) */

/* ── 공통 카드 (회원가입 · 계정 찾기) ── */
html[data-auth-page] body { background: #F9F7F4 !important; }
html[data-auth-page] nav.navbar { order: -1 !important; }
html[data-auth-page] nav.navbar .mobile-only a[href="quote.html"],
html[data-auth-page] nav.navbar > .container > a.btn.pc-only { display: none !important; }
html[data-auth-page] .main-content { align-items: flex-start !important; justify-content: center; padding: 24px 16px 56px !important; display: flex; }
html[data-auth-page] .au-card {
  width: 100%; max-width: 420px; box-sizing: border-box;
  background: #FFFFFF; border: 1px solid #EDEAE5; border-radius: 20px; box-shadow: 0 1px 2px rgba(32, 86, 70, .05);
  padding: 28px 22px 24px; display: flex; flex-direction: column; gap: 12px; color: #191B1F; text-align: left;
  font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
html[data-auth-page] .au-card h1 { margin: 0; font-size: 22px; font-weight: 800; color: #191B1F; letter-spacing: -0.02em; }
html[data-auth-page] .au-sub { margin: -6px 0 4px; font-size: 13.5px; line-height: 1.55; color: #787878; }
html[data-auth-page] .au-card .social-btns { display: flex; flex-direction: column; gap: 8px; margin: 0; }
html[data-auth-page] .au-card .social-btn {
  position: relative; width: 100%; height: 54px; margin: 0; border: 0; border-radius: 14px; cursor: pointer;
  font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit;
}
html[data-auth-page] .au-card .btn-kakao { background: #FEE500; color: #191600; }
html[data-auth-page] .au-card .btn-naver { background: #03C75A; color: #FFFFFF; }
html[data-auth-page] .au-note { margin: 0; font-size: 12px; line-height: 1.55; color: #8B95A1; }
html[data-auth-page] .au-note a, html[data-auth-page] .au-agree a { color: #787878; text-decoration: underline; text-underline-offset: 2px; }
html[data-auth-page] .au-divider { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 12.5px; color: #8B95A1; }
html[data-auth-page] .au-divider::before, html[data-auth-page] .au-divider::after { content: ''; flex: 1; height: 1px; background: #EDEAE5; }
html[data-auth-page] .au-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
html[data-auth-page] .au-field > label, html[data-auth-page] .au-field > .au-label { font-size: 12.5px; font-weight: 700; color: #585858; }
html[data-auth-page] .au-field small { font-size: 12px; color: #8B95A1; font-weight: 500; }
html[data-auth-page] .au-card input[type="text"], html[data-auth-page] .au-card input[type="email"],
html[data-auth-page] .au-card input[type="password"], html[data-auth-page] .au-card input[type="tel"] {
  width: 100%; box-sizing: border-box; height: 48px; border: 1px solid #E9E6DF; border-radius: 12px; padding: 0 12px;
  font-size: 16px; background: #FFFFFF; color: #191B1F; font-family: inherit; box-shadow: none;
}
html[data-auth-page] .au-card input:focus { border-color: #2A735D; outline: none; }
html[data-auth-page] .au-card input:disabled, html[data-auth-page] .au-card input[readonly] { background: #F9F7F4; color: #585858; }
html[data-auth-page] .au-btn {
  width: 100%; height: 52px; border: 0; border-radius: 14px; background: #205646; color: #FFFFFF; cursor: pointer;
  font-size: 15.5px; font-weight: 700; font-family: inherit; margin: 2px 0 0; display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-sizing: border-box;
}
html[data-auth-page] .au-btn:disabled { background: #C1BDB3; cursor: default; }
html[data-auth-page] .au-btn.line { background: #FFFFFF; color: #191B1F; border: 1px solid #DBD7CD; }
html[data-auth-page] .au-btn.mint { background: #FFFFFF; color: #7E211E; border: 1px solid #ACD2C2; }
html[data-auth-page] .au-btn.done { background: #2A735D; }
html[data-auth-page] .au-pw { position: relative; }
html[data-auth-page] .au-pw input { padding-right: 64px !important; }
html[data-auth-page] .au-pw button {
  position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 9px;
  background: #F9F7F4; color: #585858; font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: inherit;
}
html[data-auth-page] .au-foot { margin: 4px 0 0; text-align: center; font-size: 13px; color: #787878; }
html[data-auth-page] .au-foot a { color: #7E211E; font-weight: 700; text-decoration: none; margin-left: 4px; }
html[data-auth-page] .au-hidden { display: none !important; }

/* 회원가입 — 이메일 가입 접기 · 본인인증 · 동의 */
html[data-auth-page="signup"] #email-signup-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
html[data-auth-page="signup"] .au-verified { font-size: 12.5px; color: #7E211E; font-weight: 700; margin: -4px 0 0; }
html[data-auth-page="signup"] .au-row { display: flex; gap: 8px; }
html[data-auth-page="signup"] .au-row > input { flex: 1; min-width: 0; }
html[data-auth-page="signup"] .au-row > button {
  flex: none; height: 48px; padding: 0 14px; border: 1px solid #DBD7CD; border-radius: 12px; background: #FFFFFF;
  color: #191B1F; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit;
}
html[data-auth-page="signup"] .au-more {
  align-self: flex-start; border: 0; background: none; padding: 2px 0; color: #585858; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 3px;
}
html[data-auth-page="signup"] .au-agree { border: 1px solid #EDEAE5; border-radius: 14px; padding: 4px 12px; background: #FEFDFB; }
html[data-auth-page="signup"] .au-agree label {
  display: flex; align-items: center; gap: 9px; min-height: 40px; font-size: 13.5px; color: #191B1F; cursor: pointer;
}
html[data-auth-page="signup"] .au-agree label.all { font-weight: 800; color: #191B1F; border-bottom: 1px solid #EDEAE5; min-height: 46px; }
html[data-auth-page="signup"] .au-agree .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html[data-auth-page="signup"] .au-agree .row a { flex: none; font-size: 12px; }
html[data-auth-page="signup"] .au-agree input[type="checkbox"] { width: 20px; height: 20px; accent-color: #205646; flex: none; margin: 0; }
html[data-auth-page="signup"] .au-agree em { font-style: normal; color: #7E211E; font-weight: 800; }

/* 이미 가입한 계정이 있을 때 (회원가입 본인인증 뒤 · 아이디 찾기 결과) */
html[data-auth-page] .au-found {
  border: 1px solid #ACD2C2; background: #F3F8F5; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px;
}
html[data-auth-page] .au-found .t { margin: 0; font-size: 14px; font-weight: 800; color: #581715; }
html[data-auth-page] .au-found .d { margin: 0; font-size: 13px; line-height: 1.55; color: #191B1F; }
html[data-auth-page] .au-found .email { font-size: 16px; font-weight: 800; color: #191B1F; word-break: break-all; }
html[data-auth-page] .au-found.none { border-color: #EDEAE5; background: #FBFAF9; }
html[data-auth-page] .au-found.none .t { color: #191B1F; }
html[data-auth-page] .au-found .social-btn { height: 48px; font-size: 15px; text-decoration: none; }

/* 계정 찾기 — 탭 */
html[data-auth-page="find"] .au-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #F9F7F4; border-radius: 12px; padding: 4px; gap: 4px; }
html[data-auth-page="find"] .au-tabs button {
  height: 42px; border: 0; border-radius: 9px; background: transparent; color: #787878; font-size: 14.5px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
html[data-auth-page="find"] .au-tabs button[aria-selected="true"] { background: #FFFFFF; color: #191B1F; box-shadow: 0 1px 2px rgba(32, 86, 70, .12); }
html[data-auth-page="find"] #find-id-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
html[data-auth-page="find"] .au-panel { display: flex; flex-direction: column; gap: 12px; }
html[data-auth-page="find"] .au-header { background: #FFFFFF; border-bottom: 1px solid #EDEAE5; }
html[data-auth-page="find"] .au-header a { display: flex; align-items: center; gap: 7px; height: 54px; padding: 0 16px; max-width: 1100px; margin: 0 auto; text-decoration: none; }
html[data-auth-page="find"] .au-header img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
html[data-auth-page="find"] .au-header span { font-size: 18px; font-weight: 800; color: #191B1F; letter-spacing: -0.04em; }

/* ── 로그인 화면에 더한 것 ── */
/* 최근 로그인 — 지난번에 누른 버튼에 작은 말풍선 (방법만 기억한다) */
.sr-recent {
  position: absolute; top: -9px; right: 12px; padding: 3px 8px; border-radius: 999px;
  background: #205646; color: #FFFFFF; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em;
  box-shadow: 0 2px 6px rgba(32, 86, 70, .22); pointer-events: none; white-space: nowrap;
}
.sr-recent::after { content: ''; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: #205646; }
.has-recent { position: relative !important; overflow: visible !important; }
/* 로그인 상태 유지 — 카카오·네이버·이메일 모두에 적용 */
.au-keep { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13.5px; color: #191B1F; cursor: pointer; margin: 2px 0 0; user-select: none; }
.au-keep input { width: 20px; height: 20px; accent-color: #205646; margin: 0; flex: none; }
.au-keep small { color: #8B95A1; font-size: 12px; }
.au-inapp { margin: 0 0 2px; padding: 9px 12px; border-radius: 12px; background: #FFF9D6; color: #5B4A00; font-size: 12.5px; line-height: 1.5; }
.au-findlinks { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 2px 0 0; font-size: 13px; }
.au-findlinks a { color: #585858 !important; text-decoration: none; font-weight: 600; padding: 6px 2px; }
.au-findlinks span { color: #D4D4D4; }
