/* 認証・アカウント（ログイン / ユーザー登録 / パスワード再設定 / アカウント設定 など）。
   コンテナ・見出し・フォーム・ボタン・アラートは common/components.css の .th-* を使う。
   ここに残すのは、ソーシャルログインのボタン（提供元のブランド指定に従うので独自）と、認証ページ固有の小さな並べ方。
   クラスは ac- 接頭辞。 */

/* --- ログイン以外の導線（登録はこちら・お問い合わせ） --- */
.ac-links {
  margin-top: 20px;
  font-size: 13px;
}

/* --- はじめての方へ: ログインフォームの下に置く新規登録の誘導 --- */
.ac-signup {
  margin-top: 32px;
}

/* --- 同意のチェック --- */
.ac-agree .th-checks {
  margin-top: 8px;
}

/* 「すべてに同意する」だけは下の 3 つの親なので、間に線を引いて区切る */
.ac-agree .th-check:first-child {
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: var(--th-border-inner);
}

/* --- 変更できない値 (ソーシャル登録のメールアドレス) --- */
.ac-fixed-value {
  margin: 0;
  padding: 8px 0;
  font-weight: 700;
  color: var(--th-color-heading);
}

/* --- 退会: 設定の保存とは別の操作なので、線を引いて離す --- */
.ac-withdraw {
  margin-top: 32px;
  padding-top: 20px;
  border-top: var(--th-border-inner);
}

/* --- 問い合わせ対応用の符号: 画面には出さないが、選択してコピーはできる --- */
.ac-code {
  font-size: 12px;
  color: transparent;
}

/* --- ソーシャルログイン ---
   ボタンの見た目は提供元（Google）のブランド指定に従うため、サイトのボタン（.th-btn）にはしない */
.ac-social {
  margin-bottom: 24px;
}

.socialaccount_providers {
  margin: 0;
  padding: 0;
  list-style: none;
}

.socialaccount-provider-item {
  margin-bottom: 10px;
}

.socialaccount-provider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #3c4043;
  background-color: #fff;
  border: 1px solid #dadce0;
  border-radius: 6px;   /* Google のボタン指定。サイトの直角の例外 */
  text-decoration: none;
  transition: box-shadow 0.2s, background-color 0.2s;
}

.socialaccount-provider-btn:hover {
  color: #3c4043;
  background-color: #f7f8f8;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
  text-decoration: none;
}

.socialaccount-provider-icon {
  display: inline-flex;
}

/* --- 「または」の区切り --- */
.ac-or {
  position: relative;
  margin: 20px 0;
  font-size: 13px;
  color: var(--th-color-text-muted);
  text-align: center;
}

.ac-or::before,
.ac-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--th-color-border-inner);
}

.ac-or::before { left: 0; }

.ac-or::after { right: 0; }

/* --- アカウント連携(解除)ページ --- */
.socialaccount-connection-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: var(--th-border-inner);
}

.socialaccount-connection-item label {
  margin: 0;
}
