/* ABH Booking — front-end styles (self-contained; matches the AB Hannan theme) */
.abh-booking {
	--abh-brand: #1d70ef;
	--abh-brand-dark: #1558c0;
	--abh-brand-light: #f0f6ff;
	--abh-ink: #16171a;
	--abh-muted: #374151;
	--abh-line: #e5e7eb;
	--abh-surface: #f8f9fa;
	box-sizing: border-box;
	border: 1px solid var(--abh-line);
	border-radius: 12px;
	background: #fff;
	padding: 28px;
	color: var(--abh-muted);
	font-size: 16px;
	line-height: 1.6;
}
.abh-booking *,
.abh-booking *::before,
.abh-booking *::after {
	box-sizing: border-box;
}
.abh-booking-title {
	margin: 0 0 6px;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--abh-ink);
}
.abh-booking-lead,
.abh-booking-note {
	color: var(--abh-muted);
}
.abh-booking-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 4px;
}
.abh-booking-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--abh-brand-light);
	color: var(--abh-brand-dark);
	font-size: 0.82rem;
	font-weight: 700;
}
.abh-booking-chip .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
	line-height: 15px;
}
.abh-booking-tz {
	margin: 0 0 20px;
	font-size: 0.85rem;
	color: #6b7280;
}
.abh-booking-grid {
	display: grid;
	gap: 26px;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	margin-bottom: 24px;
}
@media (max-width: 720px) {
	.abh-booking-grid {
		grid-template-columns: 1fr;
	}
}
.abh-booking-cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.abh-booking-cal-month {
	font-weight: 700;
	color: var(--abh-ink);
}
.abh-booking-nav {
	width: 36px;
	height: 36px;
	border: 1px solid var(--abh-line);
	border-radius: 8px;
	background: #fff;
	color: var(--abh-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.abh-booking-nav:hover:not(:disabled) {
	border-color: var(--abh-brand);
	color: var(--abh-brand);
}
.abh-booking-nav:disabled {
	opacity: 0.4;
	cursor: default;
}
.abh-booking-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}
.abh-booking-dow {
	padding: 6px 0;
	text-align: center;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
}
.abh-booking-day {
	aspect-ratio: 1 / 1;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: var(--abh-muted);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: default;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.abh-booking-day.is-empty {
	visibility: hidden;
}
.abh-booking-day.is-available {
	background: var(--abh-brand-light);
	color: var(--abh-brand-dark);
	cursor: pointer;
}
.abh-booking-day.is-available:hover {
	border-color: var(--abh-brand);
}
.abh-booking-day.is-selected {
	background: var(--abh-brand);
	color: #fff;
	border-color: var(--abh-brand);
}
.abh-booking-times-title {
	margin: 0 0 12px;
	font-weight: 700;
	color: var(--abh-ink);
}
.abh-booking-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 8px;
	max-height: 280px;
	overflow-y: auto;
}
.abh-booking-slot {
	padding: 10px 8px;
	border: 1px solid var(--abh-line);
	border-radius: 8px;
	background: #fff;
	color: var(--abh-ink);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.abh-booking-slot:hover {
	border-color: var(--abh-brand);
	color: var(--abh-brand);
}
.abh-booking-slot.is-selected {
	background: var(--abh-brand);
	border-color: var(--abh-brand);
	color: #fff;
}
.abh-booking-empty,
.abh-booking-loading {
	font-size: 0.9rem;
	color: #6b7280;
}
.abh-booking-form {
	border-top: 1px solid var(--abh-line);
	padding-top: 22px;
}
.abh-booking-selected {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--abh-brand-light);
	color: var(--abh-brand-dark);
	font-weight: 700;
}
.abh-booking-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.abh-booking-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.abh-booking-field:last-child {
	grid-column: 1 / -1;
}
@media (max-width: 720px) {
	.abh-booking-fields {
		grid-template-columns: 1fr;
	}
}
.abh-booking-label {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--abh-ink);
}
.abh-booking-input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--abh-line);
	border-radius: 8px;
	background: #fff;
	color: var(--abh-ink);
	font-size: 15px;
	font-family: inherit;
}
.abh-booking-input:focus {
	outline: none;
	border-color: var(--abh-brand);
	box-shadow: 0 0 0 2px rgba(29, 112, 239, 0.18);
}
.abh-booking-submit {
	margin-top: 20px;
	width: 100%;
	padding: 14px 24px;
	border: 0;
	border-radius: 8px;
	background: var(--abh-brand);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}
.abh-booking-submit:hover:not(:disabled) {
	background: var(--abh-brand-dark);
}
.abh-booking-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.abh-booking-message {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 600;
}
.abh-booking-message.is-success {
	background: #ecfdf5;
	color: #047857;
}
.abh-booking-message.is-error {
	background: #fef2f2;
	color: #b91c1c;
}
.abh-booking-message a {
	color: inherit;
	font-weight: 700;
}
.abh-booking-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.abh-booking.is-done .abh-booking-grid,
.abh-booking.is-done .abh-booking-form {
	display: none;
}
.abh-booking-again {
	margin-top: 16px;
	background: none;
	border: 0;
	padding: 0;
	color: var(--abh-brand);
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
