/* サンタを呼ぶ メール認証。LINE連携設定の表に合わせる */

.call-santa-email-verification [hidden] {
	display: none !important;
}

/* 20260927 uedakeishi-santa: 届くメールアドレスだと確認できるまで、応募フォームへ入力を始めさせない。
 * いつ: 新規の応募ページで、認証済み cookie が無く body が call-santa-email-unverified のとき。
 * 誰が: まだ 6 桁を確認していない保護者。認証後は JS が class を外して表示する。
 * 何を: #call-santa-form を display:none にする。
 * なぜ: 認証前に入力を始められると、届かないメールアドレスのまま申し込めるため。
 * どのように: 送信そのものは PHP の validate_verified_email() でも止める。ここは画面だけ。
 */
body.call-santa-email-unverified #call-santa-form {
	display: none !important;
}

#call-santa-form .cs-ev-locked-mail {
	background-color: #eee;
	pointer-events: none;
	user-select: none;
	caret-color: transparent;
}

.call-santa-email-verification.wrap_contact {
	margin-bottom: 0;
}

.call-santa-email-verification .tb_contact {
	margin-bottom: 0;
}

.call-santa-email-verification .required {
	color: #fff;
	margin-right: 10px;
	padding: 6px 10px;
	background: #f78d9e;
	border-radius: 20px;
	font-size: 80%;
	font-weight: normal;
}

.call-santa-email-verification .cs-ev-question {
	margin: 15px 0;
}

.call-santa-email-verification .cs-ev-question strong {
	font-size: inherit;
	font-weight: bold;
}

.call-santa-email-verification .cs-ev-lead,
.call-santa-email-verification .cs-ev-note {
	margin: 0 0 15px;
	font-size: inherit;
	line-height: 1.7;
}

.call-santa-email-verification .cs-ev-warn {
	color: #dc3545;
}

.call-santa-email-verification .cs-ev-underline {
	text-decoration: underline;
}

.call-santa-email-verification .cs-ev-label {
	display: block;
	margin-bottom: 8px;
	font-size: inherit;
	font-weight: bold;
}

.call-santa-email-verification .cs-ev-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: inherit;
	border-color: #e1d9cd;
	border-width: 2px;
	border-style: solid;
	border-radius: 6px;
	background: #fff;
}

.call-santa-email-verification .cs-ev-error {
	color: #dc3545;
	font-weight: bold;
	margin: 8px 0 0;
	font-size: inherit;
}

.call-santa-email-verification .cs-ev-button {
	display: inline-block;
	margin-top: 15px;
	background-color: #dc3545;
	background: #dc3545;
	border: 1px solid #dc3545;
	color: #fff;
	padding: 12px 30px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
}

.call-santa-email-verification .cs-ev-button:hover {
	background-color: #c82333;
	background: #c82333;
	border-color: #c82333;
}

.call-santa-email-verification .cs-ev-button:disabled,
.call-santa-email-verification .cs-ev-button.is-busy {
	background-color: #adb5bd;
	background: #adb5bd;
	border-color: #adb5bd;
	cursor: not-allowed;
}

.call-santa-email-verification .cs-ev-subactions {
	margin: 16px 0 0;
}

.call-santa-email-verification .cs-ev-link {
	background: none;
	border: none;
	padding: 0;
	margin-right: 16px;
	color: #0066cc;
	text-decoration: underline;
	cursor: pointer;
	font-size: inherit;
}

