/* 未確認: PMPro のアカウント欄・規約・送信ボタンを隠す */
.ct-su-unverified #pmpro_user_fields,
.ct-su-unverified #pmpro_tos_checked_div,
.ct-su-unverified .pmpro_form_submit {
  display: none !important;
}

/* 確認済み: ユーザー名とメールは自動で入るので隠す */
.ct-su-verified .pmpro_form_field-username,
.ct-su-verified .pmpro_form_field-bemail {
  display: none !important;
}

/* Google経由: パスワードも自動生成なので、アカウント欄ごと隠す */
.ct-su-google #pmpro_user_fields {
  display: none !important;
}

.ct-su-box {
  margin: 24px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  line-height: 1.7;
}

.ct-su-title {
  margin: 0 0 16px;
  font-size: 1.2em;
  font-weight: 700;
}

.ct-su-lead {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 15px;
}

.ct-su-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 6px;
  color: #3c4043;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.ct-su-google:hover {
  background: #f8f9fa;
  border-color: #c6c9cc;
}

.ct-su-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #888;
  font-size: 13px;
}

.ct-su-or::before,
.ct-su-or::after {
  content: "";
  flex: 1;
  border-top: 1px solid #ddd;
}

.ct-su-email {
  display: flex;
  gap: 8px;
}

.ct-su-email input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.ct-su-send {
  flex-shrink: 0;
  padding: 11px 18px;
  background: #e0862c;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.ct-su-send:disabled {
  opacity: 0.6;
  cursor: default;
}

.ct-su-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
}

.ct-su-note,
.ct-su-login {
  margin: 8px 0 0;
  font-size: 13px;
  color: #666;
}

.ct-su-login {
  margin-top: 20px;
}

.ct-su-hint {
  margin: 8px 0 0;
  font-size: 14px;
  color: #b35c00;
}

.ct-su-hint button {
  background: none;
  border: none;
  padding: 0;
  color: #1a73e8;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.ct-su-sent {
  margin-top: 16px;
  padding: 14px 16px;
  background: #eef7ee;
  border-left: 3px solid #34a853;
  font-size: 14px;
}

.ct-su-sent p {
  margin: 0 0 6px;
}

.ct-su-error,
.ct-su-notice {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #fdecea;
  border-left: 3px solid #d93025;
  font-size: 14px;
  color: #5f2120;
}

.ct-su-error {
  margin: 12px 0 0;
}

.ct-su-verified-box .ct-su-check {
  margin: 0;
  color: #188038;
  font-weight: 700;
}

.ct-su-verified-box .ct-su-address {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
  word-break: break-all;
}

.ct-su-verified-box .ct-su-change {
  margin: 4px 0 0;
  font-size: 13px;
}

@media (max-width: 480px) {
  .ct-su-box {
    padding: 18px 16px;
  }
  .ct-su-email {
    flex-direction: column;
  }
}
