/**
 * VRC Seasonal Mode — базовые стили.
 *
 * Правила скрытия конкретных элементов (Book Now / Starting From)
 * формируются динамически на основе настроек администратора и
 * подключаются через wp_add_inline_style(), поэтому здесь хранятся
 * только вспомогательные стили самого плагина.
 */

.vrc-seasonal-mode-message {
	display: block;
	margin: 10px 0;
	padding: 10px 14px;
	border-left: 3px solid #d98500;
	background-color: #fff8ec;
	color: #5b4300;
	font-size: 0.95em;
	line-height: 1.4;
}

/* Собственная форма запроса (Имя / Email / Сообщение) для карточек списка. */

.vrc-seasonal-mode-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba( 0, 0, 0, 0.55 );
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.vrc-seasonal-mode-modal-overlay[hidden] {
	display: none;
}

.vrc-seasonal-mode-modal {
	position: relative;
	background: #fff;
	border-radius: 8px;
	max-width: 420px;
	width: 100%;
	padding: 28px 24px 24px;
	box-shadow: 0 12px 40px rgba( 0, 0, 0, 0.25 );
	box-sizing: border-box;
	font-family: inherit;
}

.vrc-seasonal-mode-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 4px;
}

.vrc-seasonal-mode-modal-close:hover {
	color: #111;
}

.vrc-seasonal-mode-modal-title {
	margin: 0 0 4px;
	font-size: 1.25em;
}

.vrc-seasonal-mode-modal-car {
	margin: 0 0 16px;
	font-size: 0.9em;
	color: #555;
}

.vrc-seasonal-mode-modal-form .vrc-seasonal-mode-field {
	margin-bottom: 14px;
}

.vrc-seasonal-mode-modal-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.9em;
	font-weight: 600;
}

.vrc-seasonal-mode-modal-form input,
.vrc-seasonal-mode-modal-form textarea {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	font-size: 0.95em;
	box-sizing: border-box;
	font-family: inherit;
}

.vrc-seasonal-mode-modal-form textarea {
	resize: vertical;
}

.vrc-seasonal-mode-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.vrc-seasonal-mode-modal-status {
	min-height: 1.2em;
	margin: 4px 0 10px;
	font-size: 0.9em;
}

.vrc-seasonal-mode-modal-status-success {
	color: #1a7d33;
}

.vrc-seasonal-mode-modal-status-error {
	color: #b3261e;
}

.vrc-seasonal-mode-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 6px;
}

.vrc-seasonal-mode-modal-cancel,
.vrc-seasonal-mode-modal-submit {
	padding: 9px 18px;
	border-radius: 4px;
	font-size: 0.95em;
	cursor: pointer;
	border: 1px solid transparent;
}

.vrc-seasonal-mode-modal-cancel {
	background: #f2f2f2;
	color: #333;
	border-color: #d0d0d0;
}

.vrc-seasonal-mode-modal-cancel:hover {
	background: #e6e6e6;
}

.vrc-seasonal-mode-modal-submit {
	background: #1e56d6;
	color: #fff;
}

.vrc-seasonal-mode-modal-submit:hover {
	background: #17439f;
}

.vrc-seasonal-mode-modal-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

body.vrc-seasonal-mode-modal-open {
	overflow: hidden;
}
