@charset "utf-8";

/* ── 비밀번호 재설정 페이지 ── */
.pr-wrap { max-width: 600px; margin: 0 auto; padding: 0 20px 80px; }
.pr-h1 { text-align: center; font-size: 22px; font-weight: 700; margin: 16px 0 24px; letter-spacing: -0.5px; color: #111; }
.pr-divider { border: none; border-top: 1px solid #ddd; margin: 0; }

/* 안내 영역 */
.pr-info { padding: 20px 24px; font-size: 14px; line-height: 1.8; color: #555; text-align: center; border: 1px solid #e0e0e0; border-radius: 6px; margin-top: 20px; background: #fff; }
.pr-info ul { margin: 10px 0 0; padding-left: 0; list-style: none; }
.pr-info li { font-size: 13px; line-height: 1.8; color: #666; }

/* 본인인증 버튼 영역 */
.pr-cert-area { text-align: center; margin: 24px 0 0; }
.pr-btn-cert { height: 44px; padding: 0 36px; font-size: 15px; font-weight: 600; background: #fff; color: #111; border: 1px solid #999; border-radius: 6px; cursor: pointer; }

/* 섹션 헤더 */
.pr-sec-hd { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid #111; margin: 24px 0 0; }
.pr-sec-title { font-size: 16px; font-weight: 700; color: #111; }
.pr-req-note { font-size: 12px; color: #888; }
.pr-req { color: #f25555; font-style: normal; margin-right: 2px; }

/* 테이블 */
.pr-tbl { width: 100%; border-collapse: collapse; }
.pr-tbl tr { border-bottom: 1px solid #eee; }
.pr-tbl th { width: 120px; background: #f7f7f7; padding: 16px 18px; font-size: 14px; font-weight: 500; color: #333; vertical-align: middle; white-space: nowrap; text-align: left; }
.pr-tbl td { padding: 10px 16px; vertical-align: middle; }

/* 입력 필드 */
.pr-inp { height: 38px; border: 1px solid #ddd; border-radius: 3px; padding: 0 10px; font-size: 14px; box-sizing: border-box; background: #fff; transition: border-color 0.2s; width: 100%; max-width: 280px; }
.pr-inp:hover { border-color: #0e0e0e; }
.pr-inp:focus { border-color: #0e0e0e; outline: none; box-shadow: none; }
.pr-inp:disabled, .pr-inp[readonly] { background: #f5f5f5; color: #999; cursor: not-allowed; }
.pr-hint { font-size: 12px; color: #aaa; margin-top: 4px; }

/* 알림 메시지 */
.pr-alert { margin: 16px 0; padding: 13px 14px; border-radius: 4px; font-size: 14px; line-height: 1.6; text-align: center; }
.pr-alert.error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.pr-alert.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* 디버그 링크 */
.pr-debug { margin: 10px 0 16px; padding: 10px; border: 1px dashed #cbd5e1; background: #f8fafc; font-size: 12px; word-break: break-all; border-radius: 4px; }

/* 하단 버튼 */
.pr-btn-area { margin-top: 24px; display: flex; align-items: center; justify-content: center; border-top: 1px solid #eee; padding-top: 24px; gap: 10px; }
.pr-btn-submit { height: 48px; padding: 0 32px; font-size: 15px; background: #9f4ff0; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background 0.2s; }
.pr-btn-submit:hover { background: #b475f5; }
.pr-btn-cancel { height: 48px; padding: 0 26px; font-size: 15px; border: 1px solid #ddd; border-radius: 3px; background: #fff; cursor: pointer; color: #333; text-decoration: none; display: inline-flex; align-items: center; }
.pr-btn-cancel:hover { border-color: #999; }

/* 완료 메시지 */
.pr-done { text-align: center; padding: 40px 0; }
.pr-done p { font-size: 15px; line-height: 1.6; color: #333; margin: 0 0 20px; }
.pr-done a { display: inline-block; height: 48px; line-height: 48px; padding: 0 32px; font-size: 15px; background: #111; color: #fff; border-radius: 3px; text-decoration: none; font-weight: 600; }
.pr-done a:hover { background: #333; }

/* 하단 안내 */
.pr-bottom-note { margin-top: 16px; font-size: 12px; line-height: 1.7; color: #999; text-align: center; }

@media (max-width: 640px) {
    .pr-wrap { padding: 0 16px 60px; }
    .pr-h1 { font-size: 20px; margin: 12px 0 18px; }
    .pr-tbl, .pr-tbl tbody, .pr-tbl tr, .pr-tbl th, .pr-tbl td { display: block; width: 100%; box-sizing: border-box; }
    .pr-tbl th { padding: 12px 12px 4px; background: none; border-bottom: none; font-weight: 600; }
    .pr-tbl tr { border-bottom: 1px solid #eee; padding: 4px 0; }
    .pr-tbl td { padding: 4px 12px 12px; }
    .pr-inp { max-width: 100%; }
    .pr-btn-area { flex-direction: column; }
    .pr-btn-submit, .pr-btn-cancel { width: 100%; text-align: center; justify-content: center; }
}
