/**
 * Booking Package 当直カスタム（みなみ病院）フロント側スタイル
 * .mh-touban-scope は当直カレンダーのラッパーに JS が付与するクラス。
 */

/* --- カレンダーの残り枠数バッジ --- */
.mh-touban-scope .day_slot {
	position: relative;
}

.mh-touban-scope .mh-touban-remain {
	display: block;
	margin-top: 4px;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	color: #b8272d;
	text-align: center;
	letter-spacing: 0.02em;
	pointer-events: none;
}

@media screen and (max-width: 782px) {
	.mh-touban-scope .mh-touban-remain {
		font-size: 14px;
	}
}

/* --- 入力画面：人数欄と「ゲストの合計人数」を非表示（値は JS が 1 に固定） --- */
.mh-touban-scope [id^="booking_package_guests_"],
.mh-touban-scope #booking_package_totalNumberOfGuests {
	display: none !important;
}

/* --- 入力画面：「サービス」行を非表示（JS がこのクラスを付ける） --- */
.mh-touban-scope .mh-touban-hidden-row {
	display: none !important;
}

/* --- 未入力メッセージ --- */
.mh-touban-scope .mh-touban-error {
	margin: 16px 14px;
	padding: 14px 16px;
	border: 1px solid #e5a3a6;
	border-left: 5px solid #b8272d;
	border-radius: 3px;
	background: #fdf3f3;
}

.mh-touban-scope .mh-touban-error-head {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: #b8272d;
}

.mh-touban-scope .mh-touban-error-items {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}

.mh-touban-scope .mh-touban-error-note {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.7;
	color: #555;
}

/* --- 確認画面：表示中は入力フォーム側を隠す --- */
.mh-touban-scope .mh-touban-confirm-mode > .row,
.mh-touban-scope .mh-touban-confirm-mode > #reservationHeader,
.mh-touban-scope .mh-touban-confirm-mode > #paymentPanel,
.mh-touban-scope .mh-touban-confirm-mode > #booking_package_captchaPanel,
.mh-touban-scope .mh-touban-confirm-mode > #nextAndReturnPanel {
	display: none !important;
}

/* --- 確認画面の中身 --- */
.mh-touban-scope .mh-touban-confirm {
	padding: 0 0 24px;
}

.mh-touban-scope .mh-touban-confirm-head {
	padding: 24px 12px;
	font-size: 20px;
	line-height: 1.5;
	text-align: center;
}

.mh-touban-scope .mh-touban-confirm-list {
	margin: 0;
	border-top: 1px solid #e5e5e5;
}

.mh-touban-scope .mh-touban-confirm-list dt {
	margin: 0;
	padding: 14px 14px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
}

.mh-touban-scope .mh-touban-confirm-list dd {
	margin: 0;
	padding: 4px 14px 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 16px;
	line-height: 1.6;
	word-break: break-all;
}

.mh-touban-scope .mh-touban-confirm-note {
	margin: 0;
	padding: 18px 14px;
	font-size: 14px;
	line-height: 1.7;
	color: #444;
}

.mh-touban-scope .mh-touban-confirm-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	padding: 0 14px;
}

@media screen and (max-width: 600px) {
	.mh-touban-scope .mh-touban-confirm-buttons {
		flex-direction: column-reverse;
	}

	.mh-touban-scope .mh-touban-confirm-buttons button {
		width: 100%;
	}
}
