/* Novellino booking form — matches the site's orange/dark styling. */

.nrf-form-wrap {
	max-width: 460px;
	margin: 0 auto;
	font-size: 15px;
	color: #33302b;
}

.nrf-note {
	text-align: center;
	line-height: 1.5;
	margin-bottom: 22px;
}

.nrf-form .nrf-field {
	margin-bottom: 18px;
}

.nrf-form label {
	display: block;
	margin-bottom: 6px;
}

.nrf-form input[type="text"],
.nrf-form input[type="email"],
.nrf-form input[type="tel"],
.nrf-form input[type="number"],
.nrf-form input[type="date"],
.nrf-form input[type="time"],
.nrf-form select,
.nrf-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #33302b;
	background: #fff;
	border: 1px solid #e8871e;
	border-radius: 2px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.nrf-form select {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2333302b' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.nrf-form textarea {
	border-color: #c9c4bb;
	resize: vertical;
	min-height: 110px;
}

.nrf-form input:focus,
.nrf-form select:focus,
.nrf-form textarea:focus {
	border-color: #b5650e;
	box-shadow: 0 0 0 2px rgba(232, 135, 30, 0.18);
}

.nrf-form ::placeholder {
	color: #9a948a;
	opacity: 1;
}

.nrf-form .nrf-field-invalid input,
.nrf-form .nrf-field-invalid select {
	border-color: #c62828;
}

.nrf-error {
	display: none;
	margin-top: 5px;
	font-size: 13px;
	color: #c62828;
}

.nrf-field-invalid .nrf-error {
	display: block;
}

.nrf-field-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	margin: 0;
}

.nrf-field-checkbox input {
	margin-top: 3px;
	flex: none;
}

/* Honeypot — visually removed, still present for bots. */
.nrf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nrf-submit-row {
	text-align: center;
	margin: 4px 0 0;
}

.nrf-submit {
	display: inline-block;
	background: #e8871e;
	color: #fff;
	border: 0;
	border-radius: 3px;
	padding: 13px 34px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}

.nrf-submit:hover,
.nrf-submit:focus {
	background: #cf7413;
}

.nrf-submit[disabled] {
	opacity: 0.6;
	cursor: default;
}

.nrf-message {
	display: none;
	margin: 0 0 18px;
	padding: 13px 16px;
	border-radius: 3px;
	line-height: 1.5;
}

.nrf-message.nrf-message-success {
	display: block;
	background: #edf7ee;
	border: 1px solid #2e7d32;
	color: #1d5220;
}

.nrf-message.nrf-message-error {
	display: block;
	background: #fdeeee;
	border: 1px solid #c62828;
	color: #8e1c1c;
}

/* ------------------------------------------------------------------
   Date & time pickers
   The native date/time inputs stay visible as a no-JavaScript
   fallback; the picker swaps them out once it initialises.
   ------------------------------------------------------------------ */

.nrf-field-picker {
	position: relative;
}

.nrf-picker-display {
	display: none;
}

.nrf-has-picker .nrf-picker-display {
	display: block;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 40px;
}

.nrf-has-picker .nrf-picker-value {
	display: none;
}

.nrf-has-picker .nrf-picker-date {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23e8871e' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

.nrf-has-picker .nrf-picker-time {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23e8871e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.nrf-picker-open .nrf-picker-display {
	border-color: #b5650e;
	box-shadow: 0 0 0 2px rgba(232, 135, 30, 0.18);
}

.nrf-picker-backdrop {
	display: none;
}

.nrf-picker-panel {
	position: absolute;
	z-index: 60;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 6px;
	padding: 14px;
	background: #fff;
	border: 1px solid #eadfd0;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(31, 26, 20, 0.16);
	text-align: left;
}

.nrf-picker-panel[hidden] {
	display: none;
}

/* Calendar */

.nrf-dp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.nrf-dp-title {
	font-weight: 700;
	font-size: 15px;
	color: #1f1a14;
}

.nrf-dp-nav {
	width: 32px;
	height: 32px;
	line-height: 1;
	font-size: 20px;
	color: #1f1a14;
	background: #faf6ef;
	border: 1px solid #eadfd0;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
}

.nrf-dp-nav:hover:not(:disabled) {
	background: #e8871e;
	border-color: #e8871e;
	color: #fff;
}

.nrf-dp-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.nrf-dp-weekdays,
.nrf-dp-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.nrf-dp-weekdays span {
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #9a948a;
	padding-bottom: 4px;
}

.nrf-dp-day {
	aspect-ratio: 1 / 1;
	min-height: 36px;
	padding: 0;
	font-size: 14px;
	font-family: inherit;
	color: #33302b;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
}

.nrf-dp-day:hover:not(:disabled) {
	background: #faf1e4;
	border-color: #e8871e;
}

.nrf-dp-day:focus-visible {
	outline: 2px solid #b5650e;
	outline-offset: 1px;
}

.nrf-dp-today {
	font-weight: 700;
	box-shadow: inset 0 0 0 1px #e8871e;
}

.nrf-dp-day.nrf-dp-selected {
	background: #e8871e;
	border-color: #e8871e;
	color: #fff;
	font-weight: 700;
}

.nrf-dp-day:disabled {
	color: #c9c4bb;
	cursor: default;
	text-decoration: line-through;
}

.nrf-dp-foot {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f0e9df;
}

.nrf-dp-quick {
	flex: 1;
	padding: 8px 6px;
	font-size: 13px;
	font-family: inherit;
	color: #1f1a14;
	background: #faf6ef;
	border: 1px solid #eadfd0;
	border-radius: 4px;
	cursor: pointer;
}

.nrf-dp-quick:hover {
	background: #e8871e;
	border-color: #e8871e;
	color: #fff;
}

/* Time slots */

.nrf-tp-body {
	max-height: 280px;
	overflow-y: auto;
}

.nrf-tp-group + .nrf-tp-group {
	margin-top: 14px;
}

.nrf-tp-group-title {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #9a948a;
}

.nrf-tp-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 6px;
}

.nrf-tp-slot {
	padding: 9px 4px;
	font-size: 13px;
	font-family: inherit;
	color: #33302b;
	background: #faf6ef;
	border: 1px solid #eadfd0;
	border-radius: 4px;
	cursor: pointer;
	white-space: nowrap;
}

.nrf-tp-slot:hover:not(:disabled) {
	background: #faf1e4;
	border-color: #e8871e;
}

.nrf-tp-slot:focus-visible {
	outline: 2px solid #b5650e;
	outline-offset: 1px;
}

.nrf-tp-slot.nrf-tp-selected {
	background: #e8871e;
	border-color: #e8871e;
	color: #fff;
	font-weight: 700;
}

.nrf-tp-slot:disabled {
	opacity: 0.4;
	cursor: default;
	text-decoration: line-through;
}

.nrf-tp-empty {
	margin: 6px 0 0;
	font-size: 14px;
	color: #8e1c1c;
}

/* Phones: show the panel as a centred sheet over a backdrop. */

@media (max-width: 560px) {
	.nrf-picker-open .nrf-picker-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 70;
		background: rgba(31, 26, 20, 0.45);
	}

	.nrf-picker-panel {
		position: fixed;
		z-index: 80;
		top: 50%;
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%);
		width: min(340px, calc(100vw - 32px));
		max-height: 82vh;
		overflow-y: auto;
		margin: 0;
	}

	.nrf-tp-body {
		max-height: none;
	}

	/* Comfortable touch targets. */
	.nrf-tp-slot {
		padding: 13px 4px;
		font-size: 14px;
	}

	.nrf-dp-day {
		min-height: 42px;
		font-size: 15px;
	}

	.nrf-dp-quick {
		padding: 11px 6px;
	}
}

/* ------------------------------------------------------------------
   Google reCAPTCHA v3 (only present when switched on in the settings)
   ------------------------------------------------------------------ */

.nrf-recaptcha-inline {
	display: flex;
	justify-content: center;
	margin: 0 0 18px;
}

/*
 * Sites often hide Google's floating badge for good with a rule such as
 * `.grecaptcha-badge { display: none }` (the live site does, to lose
 * Contact Form 7's). Google's script notices and then hides every badge on
 * the page, ours included, pinning it to the corner with inline styles.
 * The inline badge was chosen in the settings, so it stays in the form
 * regardless — !important is needed to beat those inline styles.
 */
.nrf-recaptcha-inline .grecaptcha-badge {
	display: block !important;
	visibility: visible !important;
	position: static !important;
	bottom: auto !important;
	right: auto !important;
	left: auto !important;
	transition: none !important;
}

/* Hidden badge: Google's notice above the button is shown instead. */
.nrf-recaptcha-hidden {
	height: 0;
	overflow: hidden;
}

.nrf-recaptcha-hidden .grecaptcha-badge {
	visibility: hidden !important;
	position: static !important;
}

.nrf-recaptcha-notice {
	margin: 0 0 16px;
	text-align: center;
	font-size: 12px;
	line-height: 1.5;
	color: #8a8378;
}

.nrf-recaptcha-notice a {
	color: inherit;
	text-decoration: underline;
}
