/*
 * 承認済みUI案（docs/ui_proposal_20261030）の認証まわりの画面。
 *   ⑦ ログイン（sessions/new）
 *   ⑧⑨⑩ 会員登録（registrations）
 *   ⑪⑫㉓㉔㉕ パスワードの再設定（password_resets）
 *   登録情報の編集（account/edit・confirm・thanks）
 * 共通部品（ui.css の .u-page / .u-panel / .u-form など）に足りない分だけをここに書く。
 * クラスは ua- で始める。本文は <div class="u ua"> で包む。
 */

/* カードの見出しの下の説明（UI案は左寄せ・14px） */
.ua-lead { margin-top: 8px !important; font-size: 14px; line-height: 1.8; color: var(--u-muted); }

/* ステッパー: 済んだ段は丸だけ塗り、文字は薄いまま（UI案のとおり） */
.ua .u-step.is-done { font-weight: 500; color: var(--u-muted); }

/* 入力欄の下の補足 */
.ua-help { font-size: 12px; color: var(--u-muted); line-height: 1.6; }

/* 生年月日のセレクト */
body.site .ua-date select.u-select { width: 100px; color: var(--u-ink); background: #fff; }
body.site .ua-date select.ua-date-md { width: 76px; }

/* 送信ボタンの上の余白・ボタンを縦に並べる */
.ua-submit { margin-top: 6px; }
.ua-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.ua-actions form { margin: 0; }
.ua-center { text-align: center; font-size: 14px; }

/* 確認画面の一覧（左に項目名 130px） */
.ua-rows { margin: 0; border-top: 1px solid var(--u-line); }
.ua-rows dt, .ua-rows dd { margin: 0; }
.ua-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--u-line); font-size: 15px; }
.ua-row-k { flex: 0 0 130px; color: var(--u-muted); }
.ua-row-v { font-weight: 500; word-break: break-word; min-width: 0; }
.ua-row-v.is-empty { color: var(--u-faint); font-weight: 400; }
@media (max-width: 420px) { .ua-row { flex-direction: column; gap: 2px; } .ua-row-k { flex-basis: auto; font-size: 13px; } }

/* 完了の丸（64px・チェックの線） */
.ua-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--u-hero); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }

/* 完了・案内の本文（中央寄せ） */
.ua-msg { text-align: center; font-size: 15px; line-height: 1.9; }
.ua-alert { text-align: center; color: var(--u-warn); font-weight: 700; font-size: 16px; margin-bottom: 12px; }

/* 淡い背景の補足 */
.ua-note { margin-top: 20px; background: var(--u-soft); border-radius: 10px; padding: 14px 16px; font-size: 13px; line-height: 1.8; color: var(--u-muted); }
.ua-small { margin-top: 22px !important; font-size: 12px; line-height: 1.8; color: var(--u-muted); }
.ua-small-top { margin-top: 16px !important; font-size: 13px; line-height: 1.8; color: var(--u-muted); }

/* 登録情報の編集: 項目のまとまり */
.ua-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ua-sep { border: 0; border-top: 1px solid var(--u-line); margin: 4px 0; height: 0; }
.ua-group legend { padding: 0; margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.ua-group-note { font-size: 13px; color: var(--u-muted); margin-top: -8px !important; }
body.site .ua-zip input.u-input { width: 90px; }
body.site .ua-zip input.ua-zip2 { width: 110px; }
.ua-zip { display: flex; gap: 8px; align-items: center; font-size: 14px; }

/* 新しいパスワードの設定: だれのパスワードか */
.ua-who { margin: 0 0 18px !important; font-size: 14px; color: var(--u-muted); }
body.site .ua-group .u-field-row select.u-select { width: 100%; }
