/* layouts/join.css — 가입 화면 옷 한 벌 (2026-11-14 · 케어하자 join.php · register.php 의 <style>(jn- · rg-)을 떠 옴)
   join.php(가입 방식 고르기) · register.php(아이디 만들기) · login/profile.php(간편가입 추가 정보)가 같이 싣는다.
   색만 활동지원 청록(#1f9a84)으로. 머리 메뉴 옷은 lp.css. */
:root { --jn-c: #1f9a84; --jn-c-d: #17806d; --jn-c-l: #e8f6f2; --jn-ring: rgba(31,154,132,.16); }
body { margin: 0; background: #fff; font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif; color: #111827; }
[hidden] { display: none !important; }

/* ── 가입 방식 고르기 ── */
.jn-wrap { min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; padding: calc(var(--lp-nav-h, 74px) + 64px) 16px 64px; box-sizing: border-box; }
.jn-box { width: 100%; max-width: 420px; word-break: keep-all; }
.jn-box h1 { margin: 0; font-size: 26px; font-weight: 800; color: #111827; letter-spacing: -0.5px; line-height: 1.35; }
.jn-sub { margin: 8px 0 28px; font-size: 15px; color: #374151; }
.jn-main { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 10px; background: var(--jn-c); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; transition: background .15s; }
.jn-main:hover { background: var(--jn-c-d); color: #fff; }
.jn-or { display: flex; align-items: center; gap: 14px; margin: 30px 0 26px; font-size: 14px; color: #4b5563; }
.jn-or::before, .jn-or::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.jn-soc { display: flex; flex-direction: column; gap: 18px; }
.jn-btn { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; color: #1f2937; font-size: 16px; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.jn-btn:hover { border-color: #9ca3af; background: #f9fafb; color: #1f2937; }
.jn-btn__ico { display: inline-flex; width: 22px; justify-content: center; flex: none; }
.jn-foot { margin: 26px 0 0; font-size: 14px; color: #4b5563; }
.jn-foot a { color: var(--jn-c-d); font-weight: 700; }

/* ── 아이디 만들기 · 추가 정보 ── */
.rg-wrap { min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; padding: calc(var(--lp-nav-h, 74px) + 56px) 16px 64px; box-sizing: border-box; }
.rg-box { width: 100%; max-width: 420px; word-break: keep-all; }
.rg-box *, .rg-box *::before, .rg-box *::after { box-sizing: border-box; }
.rg-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: #4b5563; cursor: pointer; }
.rg-back:hover { color: #111827; }
.rg-step { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--jn-c-d); }
.rg-box h1 { margin: 0 0 28px; font-size: 26px; font-weight: 800; color: #111827; letter-spacing: -0.5px; line-height: 1.35; }
.rg-lead { margin: -16px 0 24px; font-size: 14.5px; line-height: 1.6; color: #374151; }
.rg-f { margin-bottom: 14px; }
.rg-in { width: 100%; height: 56px; padding: 0 16px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: #111827; outline: none; transition: border-color .15s; }
.rg-in::placeholder { color: #6b7280; }
.rg-in:focus { border-color: var(--jn-c); box-shadow: 0 0 0 3px var(--jn-ring); }
.rg-in.is-bad { border-color: #ef4444; }
.rg-in[readonly] { background: #f9fafb; color: #374151; }
.rg-row { display: flex; gap: 8px; }
.rg-row .rg-in { flex: 1; min-width: 0; }
.rg-sbtn { flex: none; min-width: 112px; height: 56px; padding: 0 14px; border: 1px solid var(--jn-c); border-radius: 10px; background: #fff; color: var(--jn-c-d); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.rg-sbtn:hover:not(:disabled) { background: var(--jn-c-l); }
.rg-sbtn:disabled { border-color: #e5e7eb; color: #6b7280; background: #f9fafb; cursor: default; }
.rg-sbtn.is-ok { border-color: var(--jn-c); background: var(--jn-c); color: #fff; }
.rg-code { position: relative; flex: 1; min-width: 0; display: flex; }
.rg-timer { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 700; color: #dc2626; }
.rg-hint { margin: 6px 2px 0; font-size: 13.5px; line-height: 1.5; color: #374151; }
.rg-hint.is-ok { color: var(--jn-c-d); }
.rg-hint.is-bad { color: #dc2626; }
.rg-hint:empty { display: none; }
.rg-dev { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 6px; background: #fef3c7; color: #92400e; font-weight: 700; letter-spacing: 1px; }
.rg-agree { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; font-size: 14.5px; color: #374151; cursor: pointer; }
.rg-agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--jn-c); flex: none; }
.rg-agree a { color: var(--jn-c-d); font-weight: 600; text-decoration: underline; }
.rg-msg { margin: 18px 0 0; padding: 12px 14px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 14.5px; font-weight: 600; }
.rg-msg:empty { display: none; }
.rg-main { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; margin-top: 24px; border: 0; border-radius: 10px; background: var(--jn-c); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s; }
.rg-main:hover:not(:disabled) { background: var(--jn-c-d); color: #fff; }
.rg-main:disabled { opacity: .6; cursor: default; }
.rg-foot { margin: 22px 0 0; font-size: 14px; color: #4b5563; }
.rg-foot a { color: var(--jn-c-d); font-weight: 600; }
.rg-done { text-align: center; }
.rg-done__ico { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: var(--jn-c); color: #fff; font-size: 32px; }
.rg-done h1 { margin-bottom: 12px; }
.rg-done p { margin: 0; font-size: 15px; line-height: 1.6; color: #374151; }

@media (max-width: 480px) {
	.jn-wrap { padding-top: calc(var(--lp-nav-h, 74px) + 36px); }
	.jn-box h1 { font-size: 22px; }
	.rg-wrap { padding-top: calc(var(--lp-nav-h, 74px) + 32px); }
	.rg-box h1 { font-size: 22px; margin-bottom: 22px; }
	.rg-sbtn { min-width: 100px; font-size: 14.5px; }
}
