/* 비밀번호 재설정 · 가입 완료 · 비밀번호 변경 권유 모달 (page_auth.html 의 <body> 안 <style> 에서 그대로 옮김 — W3C 검사: body 안 style 불가) */
#pw-reset-modal, #signupSuccessModal, #pw-change-recommend-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.45);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.pr-card {
  background: var(--card, #fff);
  border-radius: 18px;
  width: 400px;
  max-width: calc(100vw - 32px);
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  position: relative;
  animation: prSlideIn .22s ease;
}
@keyframes prSlideIn {
  from { opacity:0; transform:translateY(12px) scale(.97); }
  to   { opacity:1; transform:none; }
}
.pr-close-btn {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: var(--text3, #999);
  line-height: 1;
  padding: 4px;
}
.pr-close-btn:hover { color: var(--text1, #333); }
.pr-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text1, #222);
  margin-bottom: 4px;
}
.pr-sub {
  font-size: 13px;
  color: var(--text3, #999);
  margin-bottom: 22px;
}
.pr-steps-bar {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.pr-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: var(--bg2, #f0f0f0);
  color: var(--text3, #aaa);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.pr-step-dot.done  { background: var(--sage, #5a8a6a); color: #fff; }
.pr-step-dot.active{ background: var(--main, #5a8a6a); color: #fff; box-shadow: 0 0 0 3px rgba(90,138,106,.2); }
.pr-step-line      { flex: 1; height: 2px; background: var(--bg2, #e8e8e8); transition: background .2s; }
.pr-step-line.done { background: var(--sage, #5a8a6a); }
.pw-reset-step        { display: none; }
.pw-reset-step.active { display: block; }
.pr-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text2, #555);
  margin-bottom: 6px;
}
.pr-input {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--border, #ddd);
  border-radius: 9px;
  font-size: 14px;
  box-sizing: border-box;
  background: var(--bg1, #fafafa);
  color: var(--text1, #222);
  outline: none;
  transition: border-color .15s;
}
.pr-input:focus { border-color: var(--main, #5a8a6a); background: #fff; }
.pr-msg { font-size: 12px; min-height: 18px; margin-top: 5px; }
.pr-btn {
  width: 100%; padding: 11px;
  background: var(--main, #5a8a6a);
  color: #fff;
  border: none; border-radius: 9px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity .15s;
}
.pr-btn:hover { opacity: .88; }
.pr-back-btn {
  background: none; border: none;
  font-size: 12px; color: var(--text3, #999);
  cursor: pointer; margin-top: 10px;
  display: block; width: 100%; text-align: center;
}
.pr-back-btn:hover { color: var(--text1, #333); }
