/**
 * Whale Watching Booking — scoped styles
 * All selectors under .whale-booking-app / .wb-* prefixes.
 */

.whale-booking-app {
	/* Raja and the Whales brand tokens (from logo) */
	--depth: #1A8AB8;
	--horizon: #38B0E0;
	--foam: #E8F6FC;
	--sand: #f1f4f8;
	--alert: #F08C1A;
	--success: #4A9B6F;
	--ink: #1A1A1A;
	--muted: #8A8A8A;
	--border: #E4E7E8;
	--radius: 8px;
	--radius-lg: 14px;
	--shadow: 0 6px 24px rgba(26, 138, 184, 0.10);
	font-family: Inter, system-ui, -apple-system, sans-serif;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	line-height: 1.5;
}

.whale-booking-app *,
.whale-booking-app *::before,
.whale-booking-app *::after {
	box-sizing: border-box;
}

@keyframes wb-fadeUp {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

@keyframes wb-popIn {
	0% { opacity: 0; transform: scale(0.6); }
	60% { transform: scale(1.08); }
	100% { opacity: 1; transform: scale(1); }
}

#wwb-app{
	max-width: 100%;
}

/* Escape narrow theme content columns on phones + tablet portrait */
@media (max-width: 1024px) {
	#wwb-app.whale-booking-app {
		width: 98vw;
		max-width: 98vw;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
	}

	#wwb-app .wb-main {
		padding-left: clamp(8px, 2.5vw, 16px);
		padding-right: clamp(8px, 2.5vw, 16px);
	}
}

/* Page title on booking shortcode pages only */
.wwb-booking-page .wp-block-post-title {
	text-align: center;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 0.5rem;
}

.wb-main {
	padding: clamp(20px, 4vw, 44px) clamp(12px, 4vw, 24px);
	display: flex;
	justify-content: center;
}

.wb-wizard-wrap {
	width: 100%;
	max-width: 960px;
}

/* Stepper */
.wb-stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
	padding: 0 4px;
}

.wb-stepper-item {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
	transform: translate(33.33%, 0px);
}

.wb-step-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	border: none;
	background: none;
	cursor: default;
	padding: 0;
	font-family: inherit;
}

.wb-step-btn.is-clickable {
	cursor: pointer;
}

.wb-step-circle {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	font-family: 'Inter Tight', sans-serif;
	background: #fff;
	color: var(--muted);
	border: 2px solid var(--border);
	transition: all 0.2s;
}

.wb-stepper-item.is-active .wb-step-circle {
	background: var(--depth);
	color: #fff;
	border-color: var(--depth);
}

.wb-stepper-item.is-done .wb-step-circle {
	background: var(--horizon);
	color: #fff;
	border-color: var(--horizon);
}

.wb-step-label {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--muted);
	white-space: nowrap;
}

.wb-stepper-item.is-active .wb-step-label,
.wb-stepper-item.is-done .wb-step-label {
	color: var(--depth);
}

.wb-step-line {
	flex: 1;
	height: 2px;
	margin: 0 8px 20px;
	background: var(--border);
	border-radius: 2px;
}

.wb-stepper-item.is-done .wb-step-line {
	background: var(--horizon);
}

/* Card / steps */
.wb-card {
	background: #f8f8f8;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
	position: relative;
}

.wb-step {
	padding: clamp(20px, 4vw, 32px);
	animation: wb-fadeUp 0.3s ease;
}

.wb-step-kicker {
	font-size: 12px;
	font-weight: 600;
	color: var(--horizon);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.wb-step-title {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: clamp(22px, 4vw, 28px);
	letter-spacing: -0.02em;
	margin: 0 0 4px;
	color: var(--ink);
}

.wb-step-desc {
	color: var(--muted);
	font-size: 14.5px;
	margin: 0 0 22px;
}

.wb-muted { color: var(--muted); font-size: 13px; }
.wb-strong { font-weight: 600; text-align: right; }
.wb-mono { font-family: 'IBM Plex Mono', monospace; }
.wb-req { color: var(--alert); }
.wb-c-depth { color: var(--depth); }
.wb-c-horizon { color: var(--horizon); }
.wb-c-alert { color: var(--alert); }
.wb-c-success { color: var(--success); }
.wb-c-muted { color: var(--muted); }

/* Calendar */
.wb-calendar {
	border: 1px solid #dce4ec;
	border-radius: 12px;
	padding: clamp(12px, 2vw, 16px);
	background: #fff;
	box-shadow: 0 2px 12px rgba(26, 138, 184, 0.06);
}

.wb-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: clamp(10px, 1.5vw, 14px);
}

.wb-calendar-month {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: clamp(16px, 2.2vw, 18px);
	color: var(--depth);
	letter-spacing: -0.01em;
}

.wb-cal-prev,
.wb-cal-next {
	width: clamp(32px, 4.5vw, 36px);
	height: clamp(32px, 4.5vw, 36px);
	border-radius: 9px;
	border: 1px solid #dce4ec;
	background: #f8fafc;
	color: var(--depth);
	font-size: clamp(16px, 2.2vw, 20px);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, border-color 0.15s;
}

.wb-cal-prev:hover,
.wb-cal-next:hover {
	background: #eef6fb;
	border-color: var(--horizon);
}

.wb-calendar-headers,
.wb-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: clamp(4px, 0.9vw, 7px);
}

.wb-calendar-headers {
	margin-bottom: clamp(4px, 0.8vw, 8px);
	padding-bottom: 6px;
	border-bottom: 1px solid #eef2f6;
}

.wb-calendar-headers span {
	text-align: center;
	font-size: clamp(10px, 1.2vw, 12px);
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wb-day {
	min-height: clamp(44px, 7vw, 56px);
	aspect-ratio: 1;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #f0f7ff;
	color: var(--ink);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(1px, 0.4vw, 3px);
	padding: clamp(2px, 0.6vw, 5px) 2px;
	transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
	font-family: inherit;
}

.wb-day:not(:disabled):not(.is-empty):not(.is-sold):not(.is-past):not(.is-selected):hover {
	background: #eef8fd;
	border-color: var(--horizon);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(56, 176, 224, 0.15);
}

.wb-day-num {
	font-size: clamp(14px, 2vw, 17px);
	font-weight: 700;
	line-height: 1.1;
	font-family: 'Inter Tight', sans-serif;
}

.wb-day-seats {
	font-size: clamp(9px, 1.1vw, 11px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--horizon);
}

.wb-day.is-selected {
	background: linear-gradient(145deg, var(--horizon) 0%, var(--depth) 100%);
	border-color: var(--depth);
	color: #fff;
	box-shadow: 0 4px 14px rgba(26, 138, 184, 0.35);
	transform: none;
}

.wb-day.is-selected .wb-day-num,
.wb-day.is-selected:hover .wb-day-num,
.wb-day.is-selected:focus .wb-day-num {
	color: #fff;
}

.wb-day.is-selected .wb-day-seats,
.wb-day.is-selected:hover .wb-day-seats,
.wb-day.is-selected:focus .wb-day-seats {
	color: rgba(255, 255, 255, 0.9);
}

.wb-day.is-selected:hover,
.wb-day.is-selected:focus {
	background: linear-gradient(145deg, #42b6e3 0%, #1782ad 100%);
	border-color: var(--depth);
	color: #fff;
	box-shadow: 0 4px 14px rgba(26, 138, 184, 0.4);
	transform: none;
}

.wb-day.is-low:not(.is-selected) {
	background: #fff8f0;
	border-color: #fcd9a8;
}

.wb-day.is-low:not(.is-selected) .wb-day-seats { color: var(--alert); }

.wb-day.is-sold,
.wb-day.is-past {
	background: #f6f6f6;
	border-color: #e8edf2;
	color: #94a3b8;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.wb-day.is-sold .wb-day-seats,
.wb-day.is-past .wb-day-seats { color: #cbd5e1; }

.wb-day.is-empty { visibility: hidden; pointer-events: none; }

@media (min-width: 600px) {
	.wb-calendar {
		padding: 14px 16px;
		max-width: 520px;
		margin: 0 auto;
	}

	.wb-calendar-grid {
		gap: 6px;
	}

	.wb-day {
		min-height: 52px;
		padding: 3px 2px;
	}

	.wb-day-num {
		font-size: 18px;
	}

	.wb-day-seats {
		font-size: 11px;
	}
}

.wb-date-summary {
	margin-top: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: var(--sand);
	border-radius: 10px;
	flex-wrap: wrap;
	animation: wb-fadeUp 0.25s ease;
}

.wb-date-summary-label {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: var(--depth);
}

.wb-date-summary-seats {
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wb-seat-icon {
	display: inline-block;
	width: 1.55em;
	height: 1.55em;
	flex: none;
	vertical-align: -0.25em;
}

/* Counters */
.wb-counters {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
}

.wb-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--sand);
}

.wb-counter-label { font-weight: 600; font-size: 15px; }

.wb-counter-ctrl {
	display: flex;
	align-items: center;
	gap: 14px;
}

.wb-counter-dec,
.wb-counter-inc {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1px solid var(--depth);
	background: #fff;
	color: var(--depth);
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.wb-counter-inc-fill {
	background: var(--depth);
	color: #fff;
}

.wb-counter-dec:disabled,
.wb-counter-inc:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.wb-counter-val {
	min-width: 22px;
	text-align: center;
	font-weight: 700;
	font-size: 17px;
	font-family: 'Inter Tight', sans-serif;
}

/* Passenger carousel */
.wb-pax-carousel {
	border-top: 2px solid var(--depth);
	padding-top: 20px;
}

.wb-pax-progress {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.wb-pax-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px 8px 8px;
	border: 1px solid #dce4ec;
	border-radius: 999px;
	background: #fff;
	color: #64748b;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.wb-pax-chip:hover {
	border-color: var(--horizon);
	color: var(--depth);
}

.wb-pax-chip-icon {
	position: relative;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #eef2f6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	color: #64748b;
}

.wb-pax-chip-icon svg {
	width: 15px;
	height: 15px;
}

.wb-pax-chip.is-child .wb-pax-chip-icon svg {
	width: 13px;
	height: 13px;
}

.wb-pax-chip.is-infant .wb-pax-chip-icon svg {
	width: 11px;
	height: 11px;
}

.wb-pax-chip.is-child:not(.is-active):not(.is-done) .wb-pax-chip-icon {
	background: #fff4e6;
	color: var(--alert);
}

.wb-pax-chip.is-infant:not(.is-active):not(.is-done) .wb-pax-chip-icon {
	background: #f3e8ff;
	color: #7c3aed;
}

.wb-pax-chip-check {
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--success);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	line-height: 14px;
	text-align: center;
	border: 2px solid #fff;
	display: none;
}

.wb-pax-chip-label {
	white-space: nowrap;
}

.wb-pax-chip.is-active {
	border-color: var(--horizon);
	background: #eef8fd;
	color: var(--depth);
	box-shadow: 0 0 0 3px rgba(56, 176, 224, 0.18);
}

.wb-pax-chip.is-active .wb-pax-chip-icon {
	background: var(--horizon);
	color: #fff;
}

.wb-pax-chip.is-done {
	border-color: #b7dfc7;
	background: #f3faf6;
	color: var(--depth);
}

.wb-pax-chip.is-done .wb-pax-chip-icon {
	background: #d8f0e2;
	color: var(--success);
}

.wb-pax-chip.is-done .wb-pax-chip-check {
	display: block;
}

.wb-pax-chip.is-active.is-done .wb-pax-chip-icon {
	background: var(--horizon);
	color: #fff;
}

.wb-pax-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.wb-pax-heading {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: var(--depth);
}

.wb-pax-sub {
	margin-top: 3px;
	font-size: 13px;
	color: var(--muted);
}

.wb-pax-badge {
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	background: var(--foam);
	color: var(--depth);
	flex: none;
}

.wb-pax-fields.is-switching {
	animation: wb-fadeUp 0.28s ease;
}

.wb-pax-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
}

.wb-pax-nav.is-nav-minimal {
	justify-content: center;
}

.wb-pax-nav-hint {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--muted);
	text-align: center;
}

/* Forms */
.wb-field { margin-bottom: 16px; }

.wb-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.wb-field-hint {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--muted);
	font-weight: 400;
	line-height: 1.4;
}

.wb-input {
	width: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 15px;
	color: var(--ink);
	font-family: inherit;
}

.wb-input:focus {
	outline: none;
	border-color: var(--depth);
	background: #fff;
}

.wb-input.is-error { border-color: var(--alert); }

.wb-select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231A8AB8' stroke-width='3'><path d='M6 9l6 6 6-6'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.wb-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.wb-field-half {
	flex: 1;
	min-width: 200px;
}

/* intl-tel-input on WhatsApp field */
.whale-booking-app .iti,
.wb-iti-wrap.iti {
	width: 100%;
	display: block;
}
.whale-booking-app .iti__tel-input {
	width: 100%;
}
.whale-booking-app .iti__selected-country,
.wb-iti-wrap .iti__selected-country {
	background: none !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	width: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	text-transform: none !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
}
.whale-booking-app .iti__selected-dial-code,
.wb-iti-wrap .iti__selected-dial-code {
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
}
.iti--container {
	z-index: 100000;
	font-size: 13px;
}
.iti--container .iti__country {
	text-transform: none;
	font-size: 13px;
	line-height: 1.3;
}
.iti__country-name {
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
}
.iti__dial-code {
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
}
.iti__search-input {
	padding: 6px 8px !important;
}
.whale-booking-app .wb-input.is-error.iti__tel-input,
.whale-booking-app input.wb-input.is-error.iti__tel-input {
	border-color: var(--alert);
}

.wb-input-icon { position: relative; }
.wb-input-icon .wb-input { padding-right: 40px; }
.wb-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--horizon);
	font-size: 16px;
	pointer-events: none;
}

.wb-mb { margin-bottom: 10px; }

.wb-section-title {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 600;
	font-size: 15px;
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border);
}

.wb-divider {
	border: 0;
	border-top: 1px solid var(--border);
	margin: 28px 0 22px;
}

.wb-pickup-prompt {
	margin-bottom: 16px;
}

.wb-pickup-question {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	margin: 0 0 8px;
}

.wb-pickup-note {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted);
}

.wb-radio-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.wb-radio {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 4px 0;
	border: none;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ink);
	outline: none;
	box-shadow: none;
}

.wb-radio:hover,
.wb-radio:has(input:checked),
.wb-radio:focus,
.wb-radio:focus-within,
.wb-radio:focus-visible {
	outline: none;
	box-shadow: none;
	border: none;
	background: transparent;
}

.wb-radio input {
	margin-top: 3px;
	accent-color: var(--depth);
	flex-shrink: 0;
	outline: none;
	box-shadow: none;
}

.wb-radio input:focus,
.wb-radio input:focus-visible {
	outline: none;
	box-shadow: none;
}

.wb-pickup-fields {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 8px;
	padding: 14px 14px 4px;
	border: 1px solid #dce4ec;
	border-radius: 10px;
	background: #fafbfc;
	animation: wb-fadeUp 0.25s ease;
}

.wb-pickup-fields .wb-info {
	margin: 4px 0 10px;
}

.wb-pickup-fields[hidden] {
	display: none !important;
}

.wb-textarea {
	resize: vertical;
	min-height: 84px;
	line-height: 1.45;
}

.wb-info {
	padding: 14px 16px;
	background: var(--foam);
	border-radius: 10px;
	font-size: 13.5px;
	color: var(--depth);
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.wb-error {
	color: #c62828;
	font-size: 13px;
	font-weight: 500;
	margin-top: 8px;
}

/* Actions / buttons */
.wb-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	justify-content: center;
	align-items: center;
}

.wb-actions-center { justify-content: center; }

.wb-btn {
	padding: 14px 20px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	border: none;
	transition: all 0.15s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.wb-btn-primary {
	flex: 1 1 auto;
	width: 100%;
	max-width: 300px;
	background: #f59e33;
	color: #fff;
	border: 1px solid #e08d22;
}

.wb-btn-primary:hover {
	background: #e08d22;
	border-color: #c97a1a;
	color: #fff;
}

.wb-btn-outline {
	flex: 1 1 auto;
	width: 100%;
	max-width: 300px;
	background: #fff;
	color: var(--depth);
	border: 1px solid var(--depth);
}

.wb-btn-success {
	flex: 1 1 auto;
	width: 100%;
	max-width: 300px;
	background: var(--success);
	color: #fff;
	font-weight: 700;
}

.wb-btn-success:hover { background: #41895f; color: #fff; }

.wb-btn-ghost {
	padding: 10px 16px;
	border: 1px solid var(--border);
	background: #fff;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--depth);
	cursor: pointer;
}

.wb-btn-ghost:disabled,
.wb-btn-ghost.is-disabled {
	color: var(--muted);
	cursor: not-allowed;
}

.wb-link-btn {
	margin-top: 12px;
	background: none;
	border: none;
	color: var(--horizon);
	font-weight: 600;
	font-size: 13.5px;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
}

/* Review */
.wb-review-block { margin-bottom: 20px; }
.wb-review-border {
	border-top: 2px solid var(--depth);
	padding-top: 16px;
	margin-top: 20px;
}

.wb-review-ok {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: var(--success);
	margin-bottom: 10px;
}

.wb-review-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14.5px;
	margin-bottom: 8px;
}

.wb-review-pricing .wb-review-row { font-family: 'IBM Plex Mono', monospace; }

.wb-total-box {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 16px;
	background: var(--depth);
	border-radius: 10px;
	color: #fff;
	margin-bottom: 6px;
}

.wb-total-label { font-size: 13px; opacity: 0.8; }
.wb-total-sub { font-size: 11px; opacity: 0.7; }
.wb-total-amt {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 26px;
}

.wb-terms {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 20px;
	padding: 14px 16px;
	background: var(--sand);
	border-radius: 10px;
	cursor: pointer;
	border: 1px solid var(--border);
	font-size: 13.5px;
	line-height: 1.5;
}

.wb-terms.is-error { border-color: var(--alert); }
.wb-terms input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--depth); flex: none; }
.wb-terms a { color: var(--horizon); }

/* Confirmation */
.wb-confirm-wrap {
	width: 100%;
	max-width: 560px;
}

.wb-confirm-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(15,76,92,0.09);
	text-align: center;
	padding: clamp(28px, 5vw, 44px);
}

.wb-confirm-check {
	width: 82px;
	height: 82px;
	border-radius: 50%;
	background: var(--foam);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 42px;
	color: var(--horizon);
	animation: wb-popIn 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.wb-ref {
	display: inline-block;
	font-size: clamp(16px, 4vw, 20px);
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--depth);
	background: var(--sand);
	border: 1px dashed var(--horizon);
	border-radius: 8px;
	padding: 12px 20px;
	margin-bottom: 24px;
}

.wb-confirm-msg {
	max-width: 34em;
	margin: 8px auto 12px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
}

.wb-confirm-phone {
	display: inline-block;
	margin: 0 auto 28px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--depth);
	text-decoration: none;
}

.wb-confirm-phone:hover,
.wb-confirm-phone:focus {
	color: var(--horizon);
	text-decoration: underline;
}

.wb-confirm-checkin {
	margin: 4px auto 22px;
	padding: 14px 16px;
	max-width: 22em;
	background: var(--foam);
	border-radius: 10px;
	text-align: center;
}

.wb-confirm-checkin-time {
	font-size: 14px;
	color: var(--ink);
	margin-bottom: 10px;
}

.wb-confirm-maps {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--depth);
	text-decoration: none;
}

.wb-confirm-maps:hover,
.wb-confirm-maps:focus {
	color: var(--horizon);
	text-decoration: underline;
}

.wb-review-row a {
	color: var(--depth);
	font-weight: 600;
	text-decoration: none;
}

.wb-review-row a:hover,
.wb-review-row a:focus {
	color: var(--horizon);
	text-decoration: underline;
}

.wb-next-box {
	text-align: left;
	background: var(--foam);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 24px;
}

.wb-next-title {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: var(--depth);
	margin-bottom: 12px;
}

.wb-next-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
}

.wb-next-list li::before {
	content: '•';
	color: var(--horizon);
	margin-right: 8px;
}

/* Loading */
.wb-loading {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.85);
	align-items: center;
	justify-content: center;
	gap: 10px;
	z-index: 5;
	font-weight: 600;
	color: var(--depth);
}

.wb-loading.is-active {
	display: flex;
}

.wb-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid var(--foam);
	border-top-color: var(--horizon);
	border-radius: 50%;
	animation: wb-spin 0.7s linear infinite;
}

@keyframes wb-spin { to { transform: rotate(360deg); } }

/* Admin */
.wb-admin {
	max-width: 1100px;
}

.wb-admin-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.wb-admin-title {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 26px;
	letter-spacing: -0.02em;
	margin: 0 0 4px;
	color: var(--ink);
}

.wb-filter-bar {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.wb-date-filter-form {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	margin: 0;
}

.wb-stat-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.wb-stat-card {
	flex: 1;
	min-width: 140px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 18px 16px 16px;
	text-align: center;
}

.wb-stat-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.wb-stat-val {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.15;
	margin-top: 8px;
	letter-spacing: -0.02em;
}

.wb-stat-bookings {
	background: linear-gradient(165deg, #e8f5fb 0%, #d5eef8 100%);
	border-color: #b8dceb;
}

.wb-stat-bookings .wb-stat-label { color: #1a6f96; }
.wb-stat-bookings .wb-stat-val { color: #156a92; }

.wb-stat-pax-today {
	background: linear-gradient(165deg, #e6f8fd 0%, #c8eef9 100%);
	border-color: #9ad4e8;
}

.wb-stat-pax-today .wb-stat-label { color: #1a8aab; }
.wb-stat-pax-today .wb-stat-val { color: #0e7fa3; }

.wb-stat-pickups {
	background: linear-gradient(165deg, #fff6eb 0%, #ffe8cc 100%);
	border-color: #f5d4a0;
}

.wb-stat-pickups .wb-stat-label { color: #b86a12; }
.wb-stat-pickups .wb-stat-val { color: #d97706; }

.wb-stat-pax-week {
	background: linear-gradient(165deg, #eaf6ef 0%, #d5ecdf 100%);
	border-color: #b5d9c4;
}

.wb-stat-pax-week .wb-stat-label { color: #3a7a55; }
.wb-stat-pax-week .wb-stat-val { color: #2f6b48; }

.wb-day-ribbon {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 14px;
	padding: 16px 20px;
	border-radius: 12px;
	background: linear-gradient(105deg, #156a92 0%, var(--depth) 42%, var(--horizon) 100%);
	color: #fff;
	box-shadow: 0 8px 24px rgba(26, 138, 184, 0.22);
	position: relative;
	overflow: hidden;
}

.wb-day-ribbon::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: #ffb347;
}

.wb-day-ribbon-main {
	min-width: 200px;
	position: relative;
}

.wb-day-ribbon-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 4px;
}

.wb-day-ribbon-date {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.wb-day-ribbon-stats {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	align-items: flex-start;
	position: relative;
}

.wb-day-ribbon-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 88px;
}

.wb-day-ribbon-stat-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.8;
}

.wb-day-ribbon-stat-val {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.wb-day-ribbon-stat-sub {
	font-size: 12px;
	opacity: 0.85;
	margin-top: 2px;
}

.wb-table-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 18px;
	padding: 0;
}

.wb-table-card .wb-section-title {
	padding: 16px 16px 0;
	border: none;
}

.wb-table-scroll { overflow-x: auto; }

.wb-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.wb-table th {
	text-align: left;
	padding: 12px 16px;
	font-size: 12px;
	font-weight: 700;
	color: var(--depth);
	letter-spacing: 0.03em;
	background: var(--foam);
}

.wb-table td {
	padding: 13px 16px;
	font-size: 14px;
	border-top: 1px solid var(--border);
}

.wb-booking-row { cursor: pointer; }
.wb-booking-row:hover { background: var(--foam); }

.wb-badge {
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	display: inline-block;
}

.wb-badge-success { background: #E4F0E9; color: var(--success); }
.wb-badge-alert { background: #FFF0DC; color: var(--alert); }
.wb-badge-failed { background: #F8E0E0; color: #B33; }
.wb-badge-muted { background: #EFEFEF; color: var(--muted); }

.wb-table-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-top: 1px solid var(--border);
	flex-wrap: wrap;
}

.wb-pager { display: flex; gap: 4px; }

.wb-page {
	min-width: 30px;
	text-align: center;
	padding: 6px 8px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink);
}

.wb-page-current {
	background: var(--depth);
	color: #fff;
}

.wb-empty { text-align: center; color: var(--muted); padding: 24px; }

.wb-detail-body {
	background: #f4f8fb;
	padding: 18px 20px 20px;
	font-size: 13.5px;
}

.wb-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 28px;
	margin-bottom: 18px;
}

.wb-detail-block-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--depth);
	margin-bottom: 10px;
}

.wb-detail-field {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 8px 12px;
	align-items: baseline;
	padding: 6px 0;
	border-bottom: 1px solid rgba(26, 138, 184, 0.12);
}

.wb-detail-field:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.wb-detail-k {
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
}

.wb-detail-v {
	color: var(--ink);
	word-break: break-word;
}

.wb-detail-total {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	color: var(--depth);
}

.wb-detail-pax {
	padding-top: 4px;
	border-top: 1px solid rgba(26, 138, 184, 0.16);
}

.wb-detail-pax .wb-detail-block-title {
	margin-top: 14px;
	margin-bottom: 12px;
}

.wb-detail-pax-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wb-detail-pax-row {
	display: grid;
	grid-template-columns: 28px minmax(120px, 1.4fr) minmax(70px, 0.6fr) minmax(100px, 1fr) minmax(110px, 1fr);
	gap: 12px 16px;
	align-items: center;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
}

.wb-detail-pax-name {
	font-weight: 600;
	color: var(--ink);
}

.wb-detail-pax-meta {
	font-size: 13px;
	color: var(--muted);
}

.wb-detail-pax-empty {
	color: var(--muted);
	padding: 8px 0;
}

.wb-tkt-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	flex-shrink: 0;
}

.wb-tkt-a {
	background: #dceef7;
	color: var(--depth);
}

.wb-tkt-c {
	background: #fff0dc;
	color: #b86a1c;
}

.wb-tkt-i {
	background: #eef0f3;
	color: #667;
}

@media (max-width: 720px) {
	.wb-detail-grid {
		grid-template-columns: 1fr;
	}

	.wb-detail-pax-row {
		grid-template-columns: 28px 1fr;
		gap: 6px 12px;
	}

	.wb-detail-pax-name,
	.wb-detail-pax-meta {
		grid-column: 2;
	}
}

/* Inventory */
.wb-progress {
	margin-top: 16px;
	height: 12px;
	border-radius: 8px;
	background: #D0EBF7;
	overflow: hidden;
}

.wb-progress-sm {
	height: 10px;
	background: #EDEDED;
	margin: 0;
	flex: 1;
	min-width: 100px;
}

.wb-progress-bar {
	height: 100%;
	background: var(--horizon);
	border-radius: 8px;
	transition: width 0.5s;
	width: var(--pct, 0%);
}

.wb-bar-alert { background: var(--alert); }

.wb-inv-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wb-inv-head {
	display: grid;
	grid-template-columns: minmax(140px, 1.4fr) 72px 72px 72px minmax(100px, 1fr) 190px;
	gap: 12px 16px;
	align-items: center;
	padding: 0 16px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--muted);
}

.wb-inv-head > span:nth-child(2),
.wb-inv-head > span:nth-child(3),
.wb-inv-head > span:nth-child(4) {
	text-align: center;
}

.wb-inv-head > span:last-child {
	text-align: center;
}

.wb-inv-row {
	display: grid;
	grid-template-columns: minmax(140px, 1.4fr) 72px 72px 72px minmax(100px, 1fr) 190px;
	gap: 12px 16px;
	align-items: center;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
}

.wb-inv-date {
	font-weight: 600;
	font-size: 14px;
	color: var(--ink);
}

.wb-inv-cap,
.wb-inv-booked,
.wb-inv-rem {
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.wb-inv-actions {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.wb-edit-form {
	display: none;
	grid-column: 1 / -1;
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	gap: 10px;
	align-items: flex-end;
	flex-wrap: wrap;
	width: 100%;
}

.wb-edit-form.is-open {
	display: flex;
}

@media (max-width: 800px) {
	.wb-inv-head {
		display: none;
	}

	.wb-inv-row {
		grid-template-columns: 1fr 1fr;
		gap: 10px 12px;
	}

	.wb-inv-date {
		grid-column: 1 / -1;
	}

	.wb-inv-row .wb-progress-sm {
		grid-column: 1 / -1;
		min-width: 0;
	}

	.wb-inv-actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

/* Crew */
.wb-crew-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}

.wb-crew-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.wb-crew-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.wb-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--foam);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	color: var(--depth);
	font-size: 16px;
}

.wb-crew-actions { display: flex; gap: 6px; }

.wb-crew-actions .wb-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-width: 30px;
	min-height: 30px;
	padding: 0;
	border: 1px solid #eeeeee;
	border-radius: 3px;
	background: #fcfcfc;
	color: #6b7c88;
	box-shadow: none;
	line-height: 1;
}

.wb-crew-actions .wb-icon-btn .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}

.wb-crew-actions .wb-icon-btn:hover,
.wb-crew-actions .wb-icon-btn:focus {
	background: #f5f5f5;
	border-color: #eeeeee;
	color: var(--depth);
	outline: none;
	box-shadow: none;
}

.wb-crew-name {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 600;
	font-size: 17px;
	margin-top: 8px;
}

.wb-crew-role {
	font-size: 13px;
	color: var(--horizon);
	font-weight: 600;
}

.wb-crew-phone,
.wb-crew-nic {
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}

.wb-crew-assign-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 16px;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
	flex-wrap: wrap;
}

#wwb-manifest-crew > .wb-muted {
	padding: 12px 16px;
	margin: 0;
}

.wb-crew-role-col {
	width: 100px;
	font-weight: 600;
	color: var(--depth);
	flex: none;
}

.wb-crew-assign-row .wb-remove-crew-assign {
	margin-left: auto;
	flex: none;
}

.whale-booking-app button.wb-icon-btn.wb-icon-btn-danger {
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 6px !important;
	background: #fef2f2 !important;
	color: #dc2626 !important;
	box-shadow: none !important;
}

.whale-booking-app button.wb-icon-btn.wb-icon-btn-danger:hover,
.whale-booking-app button.wb-icon-btn.wb-icon-btn-danger:focus {
	background: #fee2e2 !important;
	color: #b91c1c !important;
	outline: none;
}

.wb-assign-box {
	padding: 16px;
	display: flex;
	gap: 10px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.wb-assign-box label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	width: 100%;
}

.wb-tkt {
	padding: 2px 7px;
	border-radius: 4px;
	background: var(--foam);
	color: var(--depth);
	font-size: 11px;
}

/* Modal */
.wb-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.wb-modal.is-open {
	display: flex !important;
}

.wb-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 138, 184, 0.45);
}

.wb-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: wb-fadeUp 0.2s ease;
}

.wb-modal-header {
	position: relative;
	padding: 18px 48px 18px 22px;
	border-bottom: 1px solid var(--border);
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 18px;
}

.wb-modal-header h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
}

.wb-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #1a1a1a;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.wb-modal-close:hover,
.wb-modal-close:focus {
	background: #f0f0f0;
	color: #000;
	outline: none;
	box-shadow: none;
}

.wb-modal-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wb-modal-footer {
	padding: 16px 22px;
	border-top: 1px solid var(--border);
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

#wwb-notice-modal.is-open {
	display: flex !important;
}

#wwb-notice-modal .wb-modal-dialog {
	max-width: 440px;
}

#wwb-notice-modal .wb-modal-body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.wb-report-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin-top: 12px;
}

.wb-report-meta-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0 16px;
	border: none;
	background: none;
	border-radius: 0;
	position: relative;
}

.wb-report-meta-item:first-child {
	padding-left: 0;
}

.wb-report-meta-item + .wb-report-meta-item {
	border-left: 1px solid var(--border);
}

.wb-report-meta-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.wb-report-meta-val {
	font-family: 'Inter Tight', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.wb-btn-download.button,
.wb-btn-download.button:hover,
.wb-btn-download.button:focus,
.wb-btn-download.button:active {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
	text-shadow: none;
	box-shadow: none;
}

.wb-btn-download.button:hover,
.wb-btn-download.button:focus {
	background: #000;
	border-color: #000;
	color: #fff;
}

.wb-btn-download.button:disabled,
.wb-btn-download.button[disabled] {
	background: #9a9a9a !important;
	border-color: #9a9a9a !important;
	color: #fff !important;
	opacity: 0.7;
}

.wb-btn-print.button,
.wb-btn-print.button:hover,
.wb-btn-print.button:focus,
.wb-btn-print.button:active {
	background: var(--depth);
	border-color: var(--depth);
	color: #fff;
	text-shadow: none;
	box-shadow: none;
}

.wb-btn-print.button:hover,
.wb-btn-print.button:focus {
	background: #156a92;
	border-color: #156a92;
	color: #fff;
}

.wb-btn-print.button:disabled,
.wb-btn-print.button[disabled] {
	background: #9abfd0 !important;
	border-color: #9abfd0 !important;
	color: #fff !important;
	opacity: 0.7;
}

.wb-history-actions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
}

.wb-history-table {
	min-width: 0;
}

.wb-history-table th,
.wb-history-table td {
	padding: 6px 10px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.wb-history-table th {
	font-size: 11px;
	letter-spacing: 0.04em;
}

.wb-history-table .wb-col-date {
	text-align: left;
	font-weight: 400;
}

.wb-history-table .wb-col-num {
	text-align: center;
	width: 110px;
}

.wb-history-table .wb-col-actions {
	text-align: center;
	width: 88px;
}

.wb-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	line-height: 1;
}

.wb-icon-btn .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.wb-icon-btn:hover,
.wb-icon-btn:focus {
	background: #eef4f8;
	color: var(--depth);
	outline: none;
	box-shadow: none;
}

.wb-pickup-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 0 0 14px;
}

.wb-pickup-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 6px;
	background: #eef4f8;
	font-size: 12px;
	color: var(--depth);
}

.wb-pickup-chip-pending {
	background: #fff4e5;
	color: #9a5b00;
}

.wb-pickup-chip-sent {
	background: #e7f6ee;
	color: #1b6b3a;
}

.wb-pickups-table .wb-col-guest { min-width: 160px; text-align: left; }
.wb-pickups-table .wb-col-hotel { min-width: 180px; text-align: left; }
.wb-pickups-table .wb-col-type { width: 110px; text-align: left; }
.wb-pickups-table .wb-col-status { width: 130px; text-align: left; }
.wb-pickups-table .wb-pickup-guest { font-weight: 500; }
.wb-pickups-table .wb-pickup-sub { font-size: 12px; line-height: 1.35; margin-top: 2px; }

.wb-pickup-modal-meta {
	margin-bottom: 14px;
	padding: 10px 12px;
	background: #f4f8fb;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.45;
}

#wwb-pickup-modal .wb-modal-dialog {
	max-width: 480px;
}

#wwb-pickup-modal label {
	display: block;
	margin-bottom: 4px;
}

#wwb-pickup-modal .description {
	display: block;
	margin-top: 4px;
}

.wb-manifest-print {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px 32px;
	overflow: visible;
}

.wb-manifest-print .wb-table-scroll {
	overflow: visible;
}

.wb-manifest-print-only { display: none; }

.whale-booking-app .wb-report-doc-input,
.whale-booking-app input.wb-report-doc-input[type="text"] {
	width: 75% !important;
	max-width: 75% !important;
	height: 18px !important;
	min-height: 18px !important;
	min-width: 0 !important;
	padding: 0 0 1px !important;
	margin: 0 !important;
	border: 0 !important;
	border-bottom: 1px dashed #111 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	color: #111 !important;
}

.whale-booking-app .wb-report-doc-input.is-filled,
.whale-booking-app input.wb-report-doc-input.is-filled[type="text"] {
	border-bottom: 0 !important;
	font-weight: 700 !important;
}

.wb-settings-form .wb-section-title {
	margin-top: 0;
}

.wb-settings-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	margin-top: 16px;
}

.wb-settings-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 6px 10px 0;
	border-bottom: 1px solid var(--border);
	background: #f7fafc;
}

.whale-booking-app button.wb-settings-tab {
	appearance: none;
	width: auto !important;
	min-height: 0 !important;
	margin: 0;
	padding: 12px 14px !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--muted) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	line-height: 1.2 !important;
	cursor: pointer;
	margin-bottom: -1px;
}

.whale-booking-app button.wb-settings-tab:hover,
.whale-booking-app button.wb-settings-tab:focus {
	color: var(--depth) !important;
	background: transparent !important;
	outline: none;
	box-shadow: none !important;
}

.whale-booking-app button.wb-settings-tab.is-active {
	color: var(--depth) !important;
	border-bottom-color: var(--depth) !important;
}

.wb-settings-panel {
	padding: 20px 22px 8px;
}

.wb-settings-panel .description {
	margin: 0 0 8px;
}

.wb-price-field {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.wb-price-prefix {
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
	line-height: 1;
}

.wb-settings-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 16px 22px 20px;
	border-top: 1px solid var(--border);
	background: #fafcfd;
}

.wb-settings-actions .submit,
.wb-settings-actions p.submit {
	margin: 0;
	padding: 0;
}

.wb-settings-dirty {
	font-size: 13px;
	font-weight: 600;
	color: #b86a12;
}

.wb-settings-dirty-err {
	margin: 10px 0 0;
	color: #dc2626;
	font-size: 13px;
}

#wwb-settings-dirty-modal.is-open {
	display: flex !important;
}

/* Print */
@media print {
	@page {
		size: A4 portrait;
		margin: 10mm;
	}

	html.wp-toolbar {
		padding-top: 0 !important;
	}

	html, body {
		background: #fff !important;
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		height: auto !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
		box-sizing: border-box !important;
	}

	/* Collapse WP admin chrome so content isn't offset right */
	#wpadminbar,
	#adminmenumain,
	#adminmenuback,
	#adminmenuwrap,
	#adminmenu,
	#wpfooter,
	#collapse-button,
	#screen-meta,
	#screen-meta-links,
	.notice,
	.update-nag,
	.wb-manifest-print-hide,
	.wb-admin-header {
		display: none !important;
	}

	#wpwrap,
	#wpcontent,
	#wpbody,
	#wpbody-content,
	.wrap,
	.whale-booking-app,
	.wb-admin,
	.folded #wpcontent,
	.folded #wpfooter,
	.auto-fold #wpcontent,
	.auto-fold #wpfooter {
		margin: 0 !important;
		margin-left: 0 !important;
		padding: 0 !important;
		padding-left: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: auto !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		float: none !important;
		position: static !important;
		background: #fff !important;
		box-shadow: none !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
		box-sizing: border-box !important;
	}

	.wb-manifest-print,
	.wb-report-doc {
		display: block !important;
		position: static !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		border: none !important;
		border-radius: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		box-shadow: none !important;
		background: #fff !important;
		overflow-x: hidden !important;
		overflow-y: visible !important;
		box-sizing: border-box !important;
	}

	.wb-report-doc *,
	.wb-report-doc *::before,
	.wb-report-doc *::after {
		box-sizing: border-box !important;
	}

	.wb-report-doc-header,
	.wb-report-doc-fields,
	.wb-report-doc-table,
	.wb-report-doc-crew-outer {
		width: 100% !important;
		max-width: 100% !important;
		table-layout: fixed !important;
	}

	.wb-report-doc th,
	.wb-report-doc td {
		min-width: 0 !important;
		word-wrap: break-word !important;
		overflow-wrap: anywhere !important;
	}

	.wb-report-doc-fields th {
		white-space: normal !important;
		width: 34% !important;
	}

	.wb-report-doc-table {
		page-break-inside: auto;
	}

	.wb-report-doc-table tr {
		page-break-inside: avoid;
		page-break-after: auto;
	}

	.wb-report-doc-org,
	.wb-report-doc-doctype {
		white-space: nowrap !important;
	}

	.wb-report-doc-fields th,
	.wb-report-doc-fields td {
		font-size: 8pt !important;
		line-height: 1.15 !important;
		padding-top: 1px !important;
		padding-bottom: 1px !important;
	}

	.wb-report-doc-input {
		width: 75% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: 12px !important;
		min-height: 12px !important;
		font-size: 8pt !important;
		line-height: 1.15 !important;
		border: 0 !important;
		border-bottom: 1px dashed #111 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #111 !important;
	}

	.wb-report-doc-input.is-filled {
		border-bottom: 0 !important;
		font-weight: 700 !important;
	}
}

@media (max-width: 480px) {
	.wb-step-label { font-size: 10px; }
	.wb-step-circle { width: 28px; height: 28px; font-size: 12px; }
	.wb-actions { flex-direction: column; align-items: center; }
	.wb-btn-primary,
	.wb-btn-outline,
	.wb-btn-success { width: 100%; max-width: 300px; }

	.wb-radio,
	.wb-pickup-note {
		font-size: 12px;
	}
}

/* -------------------------------------------------------------------------
   Theme isolation — beat Genesis / Outreach Pro (and similar) button chrome
   Specificity: .whale-booking-app button.wb-* beats body.theme button
   ------------------------------------------------------------------------- */

.whale-booking-app button,
.whale-booking-app input[type="button"],
.whale-booking-app input[type="reset"],
.whale-booking-app input[type="submit"],
.whale-booking-app .button,
.whale-booking-app a.button {
	text-transform: none !important;
	letter-spacing: normal !important;
	width: auto !important;
	background-image: none !important;
	box-shadow: none !important;
}

.whale-booking-app button.wb-btn,
.whale-booking-app a.wb-btn,
.whale-booking-app .wb-btn {
	padding: 14px 20px !important;
	border-radius: 10px !important;
	border: none !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	line-height: 1.3 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	width: auto !important;
	min-height: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	transition: all 0.15s !important;
	box-shadow: none !important;
	background-image: none !important;
}

/* Theme isolation sets display:!important — keep [hidden] working */
.whale-booking-app button.wb-btn[hidden],
.whale-booking-app a.wb-btn[hidden],
.whale-booking-app .wb-btn[hidden],
.whale-booking-app [hidden] {
	display: none !important;
}

.whale-booking-app button.wb-btn-primary,
.whale-booking-app a.wb-btn-primary,
.whale-booking-app .wb-btn-primary {
	flex: 1 1 auto;
	width: 100% !important;
	max-width: 300px;
	background: #f59e33 !important;
	background-color: #f59e33 !important;
	color: #fff !important;
	border: 1px solid #e08d22 !important;
}

.whale-booking-app button.wb-btn-primary:hover,
.whale-booking-app button.wb-btn-primary:focus,
.whale-booking-app a.wb-btn-primary:hover,
.whale-booking-app a.wb-btn-primary:focus,
.whale-booking-app .wb-btn-primary:hover,
.whale-booking-app .wb-btn-primary:focus {
	background: #e08d22 !important;
	background-color: #e08d22 !important;
	border-color: #c97a1a !important;
	color: #fff !important;
}

.whale-booking-app button.wb-btn-outline,
.whale-booking-app a.wb-btn-outline,
.whale-booking-app .wb-btn-outline {
	flex: 1 1 auto;
	width: 100% !important;
	max-width: 300px;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--depth) !important;
	border: 1px solid var(--depth) !important;
}

.whale-booking-app button.wb-btn-outline:hover,
.whale-booking-app button.wb-btn-outline:focus,
.whale-booking-app a.wb-btn-outline:hover,
.whale-booking-app a.wb-btn-outline:focus,
.whale-booking-app .wb-btn-outline:hover,
.whale-booking-app .wb-btn-outline:focus {
	background: var(--foam) !important;
	background-color: var(--foam) !important;
	color: var(--depth) !important;
	border-color: var(--depth) !important;
}

.whale-booking-app button.wb-btn-success,
.whale-booking-app a.wb-btn-success,
.whale-booking-app .wb-btn-success,
.whale-booking-app .button.wb-btn-success {
	flex: 1 1 auto;
	width: 100% !important;
	max-width: 300px;
	background: var(--success) !important;
	background-color: var(--success) !important;
	color: #fff !important;
	font-weight: 700 !important;
	border: none !important;
}

.whale-booking-app button.wb-btn-success:hover,
.whale-booking-app button.wb-btn-success:focus,
.whale-booking-app a.wb-btn-success:hover,
.whale-booking-app a.wb-btn-success:focus,
.whale-booking-app .wb-btn-success:hover,
.whale-booking-app .wb-btn-success:focus {
	background: #41895f !important;
	background-color: #41895f !important;
	color: #fff !important;
}

.whale-booking-app button.wb-btn-ghost,
.whale-booking-app .wb-btn-ghost {
	padding: 10px 16px !important;
	border: 1px solid var(--border) !important;
	background: #fff !important;
	background-color: #fff !important;
	border-radius: 8px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: var(--depth) !important;
	text-transform: none !important;
}

.whale-booking-app button.wb-link-btn,
.whale-booking-app .wb-link-btn {
	margin-top: 12px !important;
	padding: 0 !important;
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	color: var(--horizon) !important;
	font-weight: 600 !important;
	font-size: 13.5px !important;
	font-family: inherit !important;
	text-transform: none !important;
	width: auto !important;
	min-height: 0 !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.whale-booking-app button.wb-link-btn:hover,
.whale-booking-app button.wb-link-btn:focus,
.whale-booking-app .wb-link-btn:hover,
.whale-booking-app .wb-link-btn:focus {
	background: none !important;
	background-color: transparent !important;
	color: var(--depth) !important;
}

.whale-booking-app button.wb-counter-dec,
.whale-booking-app button.wb-counter-inc {
	width: 32px !important;
	height: 32px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: 8px !important;
	border: 1px solid var(--depth) !important;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--depth) !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none !important;
}

.whale-booking-app button.wb-counter-inc.wb-counter-inc-fill,
.whale-booking-app button.wb-counter-inc-fill {
	background: var(--depth) !important;
	background-color: var(--depth) !important;
	color: #fff !important;
}

.whale-booking-app button.wb-counter-dec:hover,
.whale-booking-app button.wb-counter-inc:hover,
.whale-booking-app button.wb-counter-dec:focus,
.whale-booking-app button.wb-counter-inc:focus {
	background: var(--foam) !important;
	background-color: var(--foam) !important;
	color: var(--depth) !important;
	border-color: var(--depth) !important;
}

.whale-booking-app button.wb-counter-inc-fill:hover,
.whale-booking-app button.wb-counter-inc-fill:focus {
	background: #157399 !important;
	background-color: #157399 !important;
	color: #fff !important;
}

.whale-booking-app button.wb-counter-dec:disabled,
.whale-booking-app button.wb-counter-inc:disabled {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
}

.whale-booking-app button.wb-counter-dec:disabled:hover,
.whale-booking-app button.wb-counter-dec:disabled:focus,
.whale-booking-app button.wb-counter-inc:disabled:hover,
.whale-booking-app button.wb-counter-inc:disabled:focus {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--depth) !important;
}

.whale-booking-app button.wb-counter-inc-fill:disabled:hover,
.whale-booking-app button.wb-counter-inc-fill:disabled:focus {
	background: var(--depth) !important;
	background-color: var(--depth) !important;
	color: #fff !important;
}

.whale-booking-app button.wb-cal-prev,
.whale-booking-app button.wb-cal-next {
	width: clamp(32px, 4.5vw, 36px) !important;
	height: clamp(32px, 4.5vw, 36px) !important;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: 9px !important;
	border: 1px solid #dce4ec !important;
	background: #f8fafc !important;
	background-color: #f8fafc !important;
	color: var(--depth) !important;
	font-size: clamp(16px, 2.2vw, 20px) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	box-shadow: none !important;
}

.whale-booking-app button.wb-cal-prev:hover,
.whale-booking-app button.wb-cal-next:hover,
.whale-booking-app button.wb-cal-prev:focus,
.whale-booking-app button.wb-cal-next:focus {
	background: #eef6fb !important;
	background-color: #eef6fb !important;
	border-color: var(--horizon) !important;
	color: var(--depth) !important;
}

.whale-booking-app button.wb-day {
	min-height: clamp(44px, 7vw, 56px) !important;
	aspect-ratio: 1;
	border-radius: 8px !important;
	border: 1px solid #e2e8f0 !important;
	background: #f0f7ff !important;
	background-color: #f0f7ff !important;
	color: var(--ink) !important;
	text-transform: none !important;
	font-weight: 400 !important;
	font-family: inherit !important;
	width: auto !important;
	min-width: 0 !important;
	padding: clamp(2px, 0.6vw, 5px) 2px !important;
	box-shadow: none !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}

.whale-booking-app button.wb-day:not(:disabled):not(.is-empty):not(.is-sold):not(.is-past):not(.is-selected):hover,
.whale-booking-app button.wb-day:not(:disabled):not(.is-empty):not(.is-sold):not(.is-past):not(.is-selected):focus {
	background: #eef8fd !important;
	background-color: #eef8fd !important;
	border-color: var(--horizon) !important;
	color: var(--ink) !important;
}

.whale-booking-app button.wb-day.is-selected,
.whale-booking-app button.wb-day.is-selected:hover,
.whale-booking-app button.wb-day.is-selected:focus {
	background: linear-gradient(145deg, var(--horizon) 0%, var(--depth) 100%) !important;
	background-color: var(--depth) !important;
	border-color: var(--depth) !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(26, 138, 184, 0.35) !important;
	transform: none !important;
}

.whale-booking-app button.wb-day.is-selected:hover,
.whale-booking-app button.wb-day.is-selected:focus {
	background: linear-gradient(145deg, #42b6e3 0%, #1782ad 100%) !important;
	background-color: #1782ad !important;
	box-shadow: 0 4px 14px rgba(26, 138, 184, 0.4) !important;
}

.whale-booking-app button.wb-day.is-selected .wb-day-num,
.whale-booking-app button.wb-day.is-selected:hover .wb-day-num,
.whale-booking-app button.wb-day.is-selected:focus .wb-day-num {
	color: #fff !important;
	background: transparent !important;
	background-color: transparent !important;
}

.whale-booking-app button.wb-day.is-selected .wb-day-seats,
.whale-booking-app button.wb-day.is-selected:hover .wb-day-seats,
.whale-booking-app button.wb-day.is-selected:focus .wb-day-seats {
	color: rgba(255, 255, 255, 0.9) !important;
	background: transparent !important;
	background-color: transparent !important;
}

.whale-booking-app button.wb-day.is-low:not(.is-selected) {
	background: #fff8f0 !important;
	background-color: #fff8f0 !important;
	border-color: #fcd9a8 !important;
}

.whale-booking-app button.wb-day.is-sold,
.whale-booking-app button.wb-day.is-past,
.whale-booking-app button.wb-day.is-sold:hover,
.whale-booking-app button.wb-day.is-past:hover {
	background: #f6f6f6 !important;
	background-color: #f6f6f6 !important;
	color: #94a3b8 !important;
	border-color: #e8edf2 !important;
	box-shadow: none !important;
}

.whale-booking-app button.wb-step-btn {
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	width: auto !important;
	min-height: 0 !important;
	color: inherit !important;
	text-transform: none !important;
	font-weight: inherit !important;
	box-shadow: none !important;
}

.whale-booking-app button.wb-pax-chip {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 12px 8px 8px !important;
	border: 1px solid #dce4ec !important;
	border-radius: 999px !important;
	background: #fff !important;
	background-color: #fff !important;
	color: #64748b !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	width: auto !important;
	min-height: 0 !important;
	box-shadow: none !important;
}

.whale-booking-app button.wb-pax-chip:hover,
.whale-booking-app button.wb-pax-chip:focus {
	border-color: var(--horizon) !important;
	color: var(--depth) !important;
	background: #fff !important;
	background-color: #fff !important;
}

.whale-booking-app button.wb-pax-chip.is-active {
	border-color: var(--horizon) !important;
	background: #eef8fd !important;
	background-color: #eef8fd !important;
	color: var(--depth) !important;
	box-shadow: 0 0 0 3px rgba(56, 176, 224, 0.18) !important;
}

.whale-booking-app button.wb-pax-chip.is-done {
	border-color: #b7dfc7 !important;
	background: #f3faf6 !important;
	background-color: #f3faf6 !important;
	color: var(--depth) !important;
}

.whale-booking-app .wb-input,
.whale-booking-app input.wb-input,
.whale-booking-app select.wb-input,
.whale-booking-app textarea.wb-input,
.whale-booking-app .wb-textarea {
	width: 100% !important;
	max-width: 100% !important;
	text-transform: none !important;
	box-shadow: none !important;
}

@media (max-width: 480px) {
	.whale-booking-app button.wb-btn-primary,
	.whale-booking-app a.wb-btn-primary,
	.whale-booking-app .wb-btn-primary,
	.whale-booking-app button.wb-btn-outline,
	.whale-booking-app a.wb-btn-outline,
	.whale-booking-app .wb-btn-outline,
	.whale-booking-app button.wb-btn-success,
	.whale-booking-app a.wb-btn-success,
	.whale-booking-app .wb-btn-success,
	.whale-booking-app .button.wb-btn-success {
		width: 100% !important;
		max-width: 300px;
	}
}
