/**
 * メアドタイポ Did-you-mean モーダル
 *
 * @package ShingakuEventManager
 * @since 81.0.0
 */

.shgk-email-typo-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.shgk-email-typo-modal__content {
	background: #fff;
	padding: 24px;
	border-radius: 6px;
	max-width: 440px;
	width: 100%;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
}

.shgk-email-typo-modal__title {
	margin: 0 0 12px 0;
	font-size: 1.1em;
	font-weight: 600;
	color: #222;
}

.shgk-email-typo-modal__message {
	margin: 0 0 8px 0;
	color: #444;
	font-size: 0.95em;
	line-height: 1.5;
}

.shgk-email-typo-modal__suggestion {
	display: block;
	margin: 12px 0 18px 0;
	padding: 10px 12px;
	background: #f6f8fa;
	border-left: 3px solid #2271b1;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 1em;
	color: #1a1a1a;
	word-break: break-all;
}

.shgk-email-typo-modal__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.shgk-email-typo-modal__btn {
	padding: 8px 16px;
	border-radius: 4px;
	border: 1px solid #ccc;
	background: #fff;
	color: #222;
	font-size: 0.95em;
	cursor: pointer;
	line-height: 1.4;
}

.shgk-email-typo-modal__btn:hover {
	background: #f0f0f0;
}

.shgk-email-typo-modal__btn--primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.shgk-email-typo-modal__btn--primary:hover {
	background: #135e96;
	border-color: #135e96;
}

/* 「このまま送信」用 ghost ボタン: 誤クリック抑制のため目立たなくする */
.shgk-email-typo-modal__btn--ghost {
	background: transparent;
	border-color: transparent;
	color: #666;
	text-decoration: underline;
	padding: 8px 10px;
}

.shgk-email-typo-modal__btn--ghost:hover {
	background: transparent;
	color: #333;
}

/* 予約完了画面「メールが届かない場合はこちら」リンク */
.shgk-email-not-received-notice {
	margin-top: 12px;
	font-size: 0.9em;
}

.shgk-email-not-received-trigger {
	background: none;
	border: none;
	padding: 0;
	color: #2271b1;
	text-decoration: underline;
	cursor: pointer;
	font-size: inherit;
	font-family: inherit;
}

.shgk-email-not-received-trigger:hover {
	color: #135e96;
}

.shgk-email-not-received-trigger:disabled {
	color: #777;
	cursor: default;
	text-decoration: none;
}

@media (max-width: 480px) {
	.shgk-email-typo-modal__content {
		padding: 18px;
	}

	.shgk-email-typo-modal__actions {
		flex-direction: column-reverse;
	}

	.shgk-email-typo-modal__btn {
		width: 100%;
	}
}
