/* アカウント画面と、メールアドレス・パスワードの変更・退会の画面のスタイル
   (layout.tsのlayout()がapp.cssの後に読み込む) */

/* アカウント画面: 枠の中の見出し(枠の上端との間を空けすぎない) */
.account-section-heading {
  margin-top:0;
}

/* アカウント画面の項目の一覧: 項目名と値を、行の高さ(「変更する」の
   ボタンがある行はボタンの高さ)の中で上下の中央に揃える */
.account-settings dt,
.account-settings dd {
  display:flex;
  align-items:center;
}

/* アカウント画面: 項目の値と「変更する」のボタンを横に並べる(狭い画面では
   ボタンを次の行へ送る) */
.account-setting-value {
  flex:1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 16px;
}

/* アカウント画面: メールアドレス・パスワードの変更を終えたことの案内 */
.account-notice {
  border-color:#bfe8d7;
  background:var(--success-soft);
  color:var(--success);
  font-weight:600;
}

/* メールアドレス・パスワードの変更の画面: 入力欄が横に間延びしない幅の枠に
   収め、文の途中では改行せず句読点(、。)の後で改行する */
.account-form-card {
  max-width:560px;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.account-form-card > :first-child {
  margin-top:0;
}

.account-form-actions {
  margin-top:20px;
}

/* アカウント画面の退会の欄(中の確認ダイアログを含む): 文の途中では
   改行せず、句読点(、。)の後で改行する。句読点の間が1行に収まらない
   ときだけ、途中で折り返す */
.account-deletion-section {
  word-break:keep-all;
  overflow-wrap:anywhere;
}

/* 退会の確認ダイアログ: 有料プランの「キャンセル」「○月○日に退会する」
   「今すぐ退会する」の3つのボタンが1行に並ぶ幅にする(後ろにある
   .confirm-dialogの幅より優先させるため、両方のクラスで指定する) */
.confirm-dialog.account-deletion-dialog {
  width:min(600px, calc(100vw - 32px));
}

/* 今すぐ退会する最終確認のパスワードの入力欄(本文は中央寄せだが、入力欄の
   ラベルは左に揃える) */
.account-deletion-password {
  margin-top:8px;
  text-align:left;
}
