/* ==========================================================================
   Ramchandi Contact Pop-up, Live Booking Tracker & Responsive Sticky Dock
   Grounded in Bay Midnight (#0A1225), Konark Sandstone (#FAF6EE),
   Burnished Brass (#C89B4B), and Chilika Teal (#0F6B5D).
   ========================================================================== */

:root {
	--rc-midnight: #090d16;
	--rc-midnight-elev: #1e293b;
	--rc-sandstone: #ffffff;
	--rc-laterite: #f8fafc;
	--rc-stone-line: #e2e8f0;
	--rc-brass: #d97706;
	--rc-brass-bright: #fbbf24;
	--rc-brass-deep: #b45309;
	--rc-teal: #0f766e;
	--rc-wa: #15803d;
	--rc-vermilion: #dc2626;
	--rc-ink: #0f172a;
	--rc-muted: #475569;
	--rc-font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--rc-font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rc-num {
	font-variant-numeric: tabular-nums;
}

/* Anti-bot Honeypot Trap */
.rc-hp-trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.rc-hp-trap input {
	font-size: 1rem;
}

/* Polite Live Toast */
.rc-toast {
	position: fixed;
	bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
	left: 50%;
	transform: translateX(-50%) translateY(0.5rem);
	z-index: 100020;
	background: var(--rc-midnight);
	color: #f8f3e8;
	border: 1px solid var(--rc-brass);
	padding: 0.45rem 0.88rem;
	border-radius: 999px;
	font-family: var(--rc-font-ui);
	font-size: 0.79rem;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 10px 26px rgba(10, 18, 37, 0.32);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
	max-width: min(340px, calc(100vw - 1.75rem));
	text-align: center;
}

.rc-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

body:has(#rc-contact-modal:not([hidden])) .rc-toast {
	top: 0.85rem;
	bottom: auto;
}

/* Desktop Floating Dock */
.rc-floating-dock {
	position: fixed;
	right: 1.35rem;
	bottom: 1.35rem;
	z-index: 99980;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--rc-font-ui);
}

.rc-float-track-btn,
.rc-float-main-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	touch-action: manipulation;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	border-radius: 999px;
	font-family: var(--rc-font-ui);
	font-weight: 600;
	white-space: nowrap;
	transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.rc-float-track-btn {
	background: var(--rc-sandstone);
	color: var(--rc-ink);
	border: 1px solid var(--rc-stone-line);
	padding: 0.72rem 1.05rem;
	font-size: 0.85rem;
	box-shadow: 0 10px 25px rgba(10, 18, 37, 0.16);
}

.rc-float-track-btn:hover {
	background: var(--rc-laterite);
	transform: translateY(-2px);
}

.rc-float-main-btn {
	background: var(--rc-midnight);
	color: #f9f4e8;
	border: 1.5px solid var(--rc-brass);
	padding: 0.78rem 1.25rem;
	font-size: 0.9rem;
	box-shadow: 0 14px 34px rgba(10, 18, 37, 0.36);
}

.rc-float-main-btn:hover {
	background: var(--rc-midnight-elev);
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(10, 18, 37, 0.46);
}

.rc-online-dot {
	position: relative;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
	flex-shrink: 0;
}

.rc-online-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1.5px solid #22c55e;
	pointer-events: none;
	animation: rcRadarPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.rc-itinerary-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4rem;
	height: 1.4rem;
	padding: 0 0.4rem;
	border-radius: 999px;
	background: var(--rc-brass-bright);
	color: var(--rc-midnight);
	font-size: 0.75rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.rc-itinerary-badge[hidden] {
	display: none !important;
}

/* Mobile Responsive Sticky Bottom Bar */
.rc-mobile-bar {
	display: none;
}

@media (max-width: 820px) {
	.rc-floating-dock {
		display: none;
	}

	/* Apply bottom dock clearance inside dark footer (prevents cream body stripe above #rc-mobile-bar) */
	.site-footer {
		padding-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px)) !important;
	}

	.rc-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99985;
		box-sizing: border-box;
		width: 100%;
		display: grid;
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.98fr) minmax(0, 1.25fr);
		gap: 0.38rem;
		padding: 0.5rem 0.55rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
		background: rgba(10, 18, 37, 0.98);
		border-top: 1px solid rgba(200, 155, 75, 0.42);
		backdrop-filter: blur(10px);
		font-family: var(--rc-font-ui);
	}

	.rc-mbar-item {
		appearance: none;
		box-sizing: border-box;
		min-width: 0;
		border: 0;
		text-decoration: none;
		cursor: pointer;
		touch-action: manipulation;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.28rem;
		min-height: 2.75rem;
		padding: 0.55rem 0.35rem;
		border-radius: 0.58rem;
		font-family: var(--rc-font-ui);
		font-size: 0.79rem;
		font-weight: 700;
		line-height: 1;
		white-space: nowrap;
	}

	.rc-mbar-item svg {
		flex-shrink: 0;
		width: 15px;
		height: 15px;
	}

	.rc-mbar-call {
		background: #162442;
		color: #f8f3e8;
		border: 1px solid rgba(229, 195, 126, 0.35);
	}

	.rc-mbar-wa {
		background: var(--rc-wa);
		color: #ffffff;
	}

	.rc-mbar-book {
		background: var(--rc-brass-bright);
		color: var(--rc-midnight);
	}
}

/* Modal Backdrop & Sheet */
.rc-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(5, 11, 23, 0.76);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	overscroll-behavior: contain;
	font-family: var(--rc-font-ui);
}

.rc-modal-backdrop[hidden] {
	display: none !important;
}

.rc-modal-sheet {
	width: 100%;
	max-width: 392px;
	max-height: min(90vh, 720px);
	max-height: min(90dvh, 720px);
	display: flex;
	flex-direction: column;
	background: var(--rc-sandstone);
	color: var(--rc-ink);
	border-radius: 0.95rem;
	border: 1px solid rgba(200, 155, 75, 0.48);
	box-shadow: 0 24px 60px rgba(4, 10, 20, 0.55);
	overflow: hidden;
	animation: rcModalEnter 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rcModalEnter {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.rc-modal-header {
	background: var(--rc-midnight);
	color: #f7f1e3;
	padding: 0.72rem 0.95rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	border-bottom: 1px solid rgba(200, 155, 75, 0.32);
}

.rc-modal-brand-row {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
}

.rc-modal-emblem-pic {
	display: inline-flex;
	flex-shrink: 0;
}

.rc-modal-emblem {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 8px rgba(200, 155, 75, 0.28));
}

.rc-modal-title {
	margin: 0;
	font-family: var(--rc-font-display);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.08rem;
	font-weight: 600;
	color: #fdf9f0;
	line-height: 1.2;
}

.rc-modal-subtitle {
	margin: 0.1rem 0 0;
	font-size: 0.73rem;
	color: var(--rc-brass-bright);
	font-weight: 600;
	line-height: 1.25;
}

.rc-modal-close {
	appearance: none;
	background: rgba(255, 255, 255, 0.08);
	color: #f8fafc;
	border: 1px solid rgba(255, 255, 255, 0.18);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	touch-action: manipulation;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rc-modal-close:hover {
	background: rgba(229, 195, 126, 0.2);
	color: var(--rc-brass-bright);
}

/* Direct Call / WhatsApp Compact Strip */
.rc-direct-strip {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 0.45rem;
	padding: 0.55rem 0.95rem;
	background: var(--rc-laterite);
	border-bottom: 1px solid var(--rc-stone-line);
}

.rc-direct-btn {
	appearance: none;
	border: 0;
	text-decoration: none;
	cursor: pointer;
	touch-action: manipulation;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.5rem;
	padding: 0.44rem 0.55rem;
	border-radius: 0.48rem;
	font-family: var(--rc-font-ui);
	font-size: 0.8rem;
	font-weight: 700;
	white-space: nowrap;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.rc-direct-btn:hover {
	transform: translateY(-1px);
}

.rc-direct-call {
	background: var(--rc-midnight);
	color: #fdf9f0;
}

.rc-direct-wa {
	background: var(--rc-wa);
	color: #ffffff;
}

/* Tabs */
.rc-tablist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #f3ecdd;
	border-bottom: 1px solid var(--rc-stone-line);
	padding: 0 0.95rem;
	gap: 0.35rem;
}

.rc-tab-btn {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 2.5px solid transparent;
	min-height: 2.35rem;
	padding: 0.5rem 0.35rem;
	font-family: var(--rc-font-ui);
	font-size: 0.81rem;
	font-weight: 700;
	color: var(--rc-muted);
	cursor: pointer;
	touch-action: manipulation;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.rc-tab-btn:hover {
	color: var(--rc-ink);
}

.rc-tab-btn.is-active {
	color: var(--rc-midnight);
	border-bottom-color: var(--rc-brass-deep);
}

/* Modal Compact Body */
.rc-modal-body {
	padding: 0.8rem 0.95rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* Selected Places Tray (Single-Row Compact Horizontal Scroll Strip — Never Inflates Modal Height) */
.rc-places-tray {
	background: #fffdf8;
	border: 1px solid var(--rc-stone-line);
	border-left: 3px solid var(--rc-teal);
	border-radius: 0.5rem;
	padding: 0.36rem 0.6rem 0.42rem;
	margin-bottom: 0.58rem;
}

.rc-places-tray-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.74rem;
	color: var(--rc-ink);
	margin-bottom: 0.24rem;
}

.rc-link-clear {
	appearance: none;
	background: none;
	border: 0;
	color: var(--rc-vermilion);
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	min-height: 1.5rem;
	padding: 0.1rem 0.25rem;
}

.rc-places-chips {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	gap: 0.35rem;
	padding-bottom: 1px;
}

.rc-places-chips::-webkit-scrollbar {
	display: none;
}

.rc-place-chip {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	white-space: nowrap;
	gap: 0.28rem;
	background: var(--rc-laterite);
	color: var(--rc-ink);
	font-size: 0.74rem;
	font-weight: 600;
	min-height: 1.8rem;
	padding: 0.14rem 0.32rem 0.14rem 0.55rem;
	border-radius: 999px;
}

.rc-place-chip button {
	appearance: none;
	border: 0;
	background: rgba(16, 24, 38, 0.1);
	color: var(--rc-ink);
	cursor: pointer;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.88rem;
	line-height: 1;
	padding: 0;
	flex-shrink: 0;
}

/* Slim 1-Line Hero Planner Pre-Filled Context Pill */
.rc-planner-context {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.45rem;
	background: rgba(15, 107, 93, 0.09);
	border: 1px solid rgba(15, 107, 93, 0.26);
	border-radius: 0.45rem;
	padding: 0.32rem 0.45rem 0.32rem 0.62rem;
	margin-bottom: 0.55rem;
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--rc-teal);
}

.rc-planner-context[hidden] {
	display: none !important;
}

.rc-planner-summary {
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rc-planner-clear {
	appearance: none;
	border: 0;
	background: rgba(15, 107, 93, 0.14);
	color: var(--rc-teal);
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
}

/* Form Elements (16px = 1rem prevents iOS Safari auto-zoom on mobile!) */
.rc-form-compact-stack {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.55rem;
}

.rc-field {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.rc-field label,
.rc-track-search label {
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--rc-ink);
}

.rc-req {
	color: var(--rc-vermilion);
}

.rc-field input,
.rc-field select,
.rc-field textarea,
.rc-track-input-row input {
	width: 100%;
	box-sizing: border-box;
	background-color: #ffffff;
	color: var(--rc-ink);
	border: 1px solid #c9bba1;
	border-radius: 0.48rem;
	min-height: 2.4rem;
	padding: 0.44rem 0.65rem;
	font-family: var(--rc-font-ui);
	font-size: 1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rc-field select option,
.rc-field select optgroup {
	background-color: #ffffff;
	color: var(--rc-ink);
}

.rc-field-error,
.rc-form-global-error {
	margin: 0.1rem 0 0;
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--rc-vermilion);
}

.rc-form-actions {
	margin-top: 0.7rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rc-btn-submit {
	width: 100%;
	appearance: none;
	border: 1px solid var(--rc-brass);
	background: var(--rc-midnight);
	color: var(--rc-brass-bright);
	min-height: 2.55rem;
	padding: 0.6rem 1rem;
	border-radius: 0.52rem;
	font-family: var(--rc-font-ui);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color 0.16s ease, transform 0.16s ease;
}

.rc-btn-submit:hover {
	background: var(--rc-midnight-elev);
	transform: translateY(-1px);
}

.rc-brochure-link {
	display: inline-flex;
	align-items: center;
	min-height: 2.4rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--rc-teal);
	text-decoration: underline;
}

/* Confirmation Receipt */
.rc-receipt {
	text-align: center;
	padding: 0.8rem 0.4rem;
}

.rc-receipt-seal-wrap {
	position: relative;
	width: 4.1rem;
	height: 4.1rem;
	margin: 0 auto 0.65rem;
}

.rc-receipt-emblem {
	width: 4.1rem;
	height: 4.1rem;
	border-radius: 50%;
	display: block;
	box-shadow: 0 8px 20px rgba(10, 18, 37, 0.22);
}

.rc-receipt-check-badge {
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 50%;
	background: var(--rc-wa);
	color: #ffffff;
	border: 2px solid #ffffff;
	font-size: 0.78rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.rc-inline-tracker-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 0.55rem;
}

.rc-inline-tracker-head h3 {
	margin: 0;
}

.rc-inline-tracker-emblem {
	width: 3.35rem;
	height: 3.35rem;
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 6px 16px rgba(10, 18, 37, 0.16);
}

.rc-receipt h3 {
	margin: 0 0 0.3rem;
	font-family: var(--rc-font-display);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.3rem;
}

.rc-receipt p {
	margin: 0 0 0.8rem;
	font-size: 0.86rem;
	color: var(--rc-muted);
}

.rc-tracking-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	background: var(--rc-midnight);
	color: var(--rc-brass-bright);
	padding: 0.55rem 0.7rem 0.55rem 1.05rem;
	border-radius: 0.65rem;
	border: 1px solid var(--rc-brass);
	margin-bottom: 0.85rem;
}

.rc-tracking-code {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.rc-copy-code-btn {
	appearance: none;
	border: 0;
	background: rgba(229, 195, 126, 0.22);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	min-height: 2.25rem;
	padding: 0.35rem 0.75rem;
	border-radius: 0.4rem;
	cursor: pointer;
}

.rc-receipt-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.rc-btn-wa-confirm,
.rc-btn-outline {
	appearance: none;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.65rem;
	padding: 0.7rem 1.05rem;
	border-radius: 0.55rem;
	font-family: var(--rc-font-ui);
	font-size: 0.86rem;
	font-weight: 700;
}

.rc-btn-wa-confirm {
	background: var(--rc-wa);
	color: #ffffff;
}

.rc-btn-outline {
	background: #ffffff;
	color: var(--rc-ink);
	border: 1px solid var(--rc-stone-line);
}

/* Tab 2: Live Status Tracker */
.rc-track-input-row {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.4rem;
}

.rc-btn-track-lookup {
	appearance: none;
	border: 0;
	background: var(--rc-midnight);
	color: var(--rc-brass-bright);
	min-height: 2.65rem;
	padding: 0 1.15rem;
	border-radius: 0.52rem;
	font-family: var(--rc-font-ui);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.rc-track-card {
	margin-top: 1.1rem;
	background: #ffffff;
	border: 1px solid var(--rc-stone-line);
	border-radius: 0.75rem;
	padding: 1rem 1.1rem;
}

.rc-track-card-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem 0.75rem;
	border-bottom: 1px solid #eee5d4;
	padding-bottom: 0.75rem;
}

.rc-track-id-tag {
	display: inline-block;
	background: var(--rc-midnight);
	color: var(--rc-brass-bright);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.18rem 0.5rem;
	border-radius: 0.35rem;
	margin-bottom: 0.3rem;
}

.rc-track-card-top h3 {
	margin: 0;
	font-size: 1.08rem;
	color: var(--rc-ink);
}

.rc-track-card-top p {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	color: var(--rc-muted);
}

.rc-track-updated {
	font-size: 0.72rem;
	color: var(--rc-muted);
	white-space: nowrap;
}

/* 4-Stage Visual Stepper */
.rc-stepper {
	list-style: none;
	margin: 1rem 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.4rem;
}

.rc-stepper li {
	position: relative;
	text-align: center;
	font-size: 0.73rem;
	font-weight: 600;
	color: var(--rc-muted);
	padding-top: 1.55rem;
}

.rc-stepper li::before {
	content: "";
	position: absolute;
	top: 0.25rem;
	left: 50%;
	transform: translateX(-50%);
	width: 0.95rem;
	height: 0.95rem;
	border-radius: 50%;
	background: #e5dec9;
	border: 2px solid #cbbfa8;
}

.rc-stepper li.is-done {
	color: var(--rc-teal);
}

.rc-stepper li.is-done::before {
	background: var(--rc-teal);
	border-color: var(--rc-teal);
}

.rc-stepper li.is-current {
	color: var(--rc-midnight);
	font-weight: 800;
}

.rc-stepper li.is-current::before {
	background: var(--rc-brass-bright);
	border-color: var(--rc-midnight);
	box-shadow: 0 0 0 3px rgba(200, 155, 75, 0.3);
}

.rc-track-meta {
	margin: 0.8rem 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	font-size: 0.82rem;
}

.rc-track-meta dt {
	color: var(--rc-muted);
	font-size: 0.73rem;
	margin-bottom: 0.12rem;
}

.rc-track-meta dd {
	margin: 0;
	font-weight: 700;
	color: var(--rc-ink);
}

.rc-dispatch-note {
	background: var(--rc-sandstone);
	border-left: 3px solid var(--rc-brass);
	padding: 0.65rem 0.8rem;
	border-radius: 0.45rem;
	font-size: 0.82rem;
}

.rc-dispatch-note p {
	margin: 0.2rem 0 0;
	color: var(--rc-ink);
}

/* Inline Shortcode Card */
.rc-inline-tracker-box {
	background: var(--rc-sandstone);
	border: 1px solid var(--rc-stone-line);
	border-radius: 0.9rem;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.rc-inline-tracker-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.rc-inline-tracker-btns .rc-btn-submit {
	width: auto;
}

/* Focus Visible Rings (High-contrast across both dark & brass surfaces) */
.rc-modal-sheet :focus-visible,
.rc-floating-dock :focus-visible,
.rc-mobile-bar :focus-visible {
	outline: 2.5px solid var(--rc-brass);
	outline-offset: 2px;
}

.rc-mbar-book:focus-visible {
	outline: 2.5px solid var(--rc-midnight);
	box-shadow: 0 0 0 4.5px var(--rc-brass-bright);
}

@media (max-width: 600px) {
	.rc-modal-backdrop {
		align-items: flex-end;
		padding: 0;
	}

	/* Scrollable bottom-sheet architecture: keeps only slim 72px header sticky so virtual keyboard leaves 310px+ for form inputs! */
	.rc-modal-sheet {
		display: block;
		max-width: 100%;
		max-height: 90vh;
		max-height: 90dvh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.rc-modal-header {
		position: sticky;
		top: 0;
		z-index: 6;
		padding: 0.68rem 0.95rem;
		align-items: center;
	}

	.rc-modal-brand-row {
		gap: 0.55rem;
	}

	.rc-modal-emblem {
		width: 2.3rem;
		height: 2.3rem;
	}

	.rc-modal-title {
		font-size: 1.05rem;
	}

	.rc-modal-subtitle {
		font-size: 0.71rem;
	}

	.rc-modal-close {
		width: 2.75rem;
		height: 2.75rem;
	}

	.rc-direct-btn {
		min-height: 2.75rem;
	}

	.rc-direct-strip,
	.rc-tablist {
		padding-left: 0.95rem;
		padding-right: 0.95rem;
	}

	.rc-modal-body {
		overflow-y: visible;
		padding: 0.78rem 0.95rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
	}

	.rc-form-grid,
	.rc-track-meta {
		grid-template-columns: 1fr;
	}

	.rc-track-input-row {
		flex-direction: column;
	}

	.rc-btn-track-lookup {
		width: 100%;
		min-height: 2.75rem;
	}

	.rc-inline-tracker-box {
		padding: 1.2rem;
	}

	.rc-inline-tracker-btns {
		flex-direction: column;
		align-items: stretch;
	}

	.rc-inline-tracker-btns .rc-btn-submit,
	.rc-inline-tracker-btns .rc-btn-outline {
		width: 100%;
	}
}

@media (max-width: 360px) {
	.rc-mobile-bar {
		gap: 0.28rem;
		padding-left: 0.4rem;
		padding-right: 0.4rem;
	}

	.rc-mbar-item {
		font-size: 0.72rem;
		gap: 0.2rem;
		padding-left: 0.22rem;
		padding-right: 0.22rem;
	}

	.rc-mbar-item svg {
		width: 13px;
		height: 13px;
	}
}

/* ==========================================================================
   v1.5.0 Motion & Micro-Interaction Choreography (60fps GPU-Composited)
   ========================================================================== */

@keyframes rcRadarPulse {
	0% {
		transform: scale(0.75);
		opacity: 0.85;
	}
	80%,
	100% {
		transform: scale(1.95);
		opacity: 0;
	}
}

@keyframes rcBackdropFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes rcMobileSheetUp {
	from {
		opacity: 0.92;
		transform: translate3d(0, 100%, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rcTabEnter {
	from {
		opacity: 0;
		transform: translate3d(0, 6px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rcBadgeBump {
	0% {
		transform: scale(1);
	}
	45% {
		transform: scale(1.28);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes rcSealCelebrate {
	0% {
		opacity: 0;
		transform: scale(0.72);
	}
	65% {
		opacity: 1;
		transform: scale(1.06);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes rcCheckPop {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	70% {
		opacity: 1;
		transform: scale(1.18);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes rcStepPulse {
	0% {
		transform: scale(0.95);
		opacity: 0.85;
	}
	80%,
	100% {
		transform: scale(1.85);
		opacity: 0;
	}
}

/* Backdrop & Sheet Entrance */
.rc-modal-backdrop:not([hidden]) {
	animation: rcBackdropFade 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rc-modal-sheet {
	animation: rcModalEnter 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 600px) {
	.rc-modal-sheet {
		animation: rcMobileSheetUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
	}
}

/* Tab Panel, Stops Tray, Receipt & Live Tracker Transitions */
.rc-tabpanel:not([hidden]),
.rc-places-tray:not([hidden]),
.rc-receipt:not([hidden]),
.rc-track-card:not([hidden]) {
	animation: rcTabEnter 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rc-receipt:not([hidden]) .rc-receipt-seal-wrap {
	animation: rcSealCelebrate 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rc-receipt:not([hidden]) .rc-receipt-check-badge {
	animation: rcCheckPop 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.rc-stepper li.is-current::after {
	content: "";
	position: absolute;
	top: 0.25rem;
	left: 50%;
	width: 0.95rem;
	height: 0.95rem;
	margin-left: -0.475rem;
	border-radius: 50%;
	border: 1.5px solid var(--rc-brass);
	pointer-events: none;
	animation: rcStepPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

/* Itinerary Count Badge Bump */
.rc-itinerary-badge.is-bumping {
	animation: rcBadgeBump 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Burnished-Brass Light Sheen Sweep on Primary Modal & Dock CTAs */
.rc-btn-submit,
.rc-mbar-book,
.rc-float-main-btn {
	position: relative;
	overflow: hidden;
}

.rc-btn-submit::after,
.rc-mbar-book::after,
.rc-float-main-btn::after {
	content: "";
	position: absolute;
	top: -15%;
	bottom: -15%;
	left: 0;
	width: 42%;
	background: linear-gradient(
		110deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 248, 228, 0.24) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: translate3d(-240%, 0, 0) skewX(-20deg);
	transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.rc-btn-submit:hover::after,
.rc-mbar-book:hover::after,
.rc-float-main-btn:hover::after {
	transform: translate3d(380%, 0, 0) skewX(-20deg);
}

/* Tactile Press Feedback */
.rc-btn-submit,
.rc-direct-btn,
.rc-mbar-item,
.rc-float-main-btn,
.rc-float-track-btn,
.rc-btn-track-lookup,
.rc-copy-code-btn,
.rc-btn-wa-confirm,
.rc-btn-outline {
	transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.16s ease, box-shadow 0.16s ease;
}

.rc-btn-submit:active,
.rc-direct-btn:active,
.rc-mbar-item:active,
.rc-float-main-btn:active,
.rc-float-track-btn:active,
.rc-btn-track-lookup:active,
.rc-copy-code-btn:active,
.rc-btn-wa-confirm:active,
.rc-btn-outline:active {
	transform: scale(0.975);
}

@media (prefers-reduced-motion: reduce) {
	.rc-modal-backdrop,
	.rc-modal-backdrop *,
	.rc-modal-backdrop *::before,
	.rc-modal-backdrop *::after,
	.rc-floating-dock,
	.rc-floating-dock *,
	.rc-floating-dock *::before,
	.rc-floating-dock *::after,
	.rc-mobile-bar,
	.rc-mobile-bar *,
	.rc-mobile-bar *::before,
	.rc-mobile-bar *::after,
	.rc-inline-tracker-box,
	.rc-inline-tracker-box *,
	.rc-toast {
		animation: none !important;
		transition: none !important;
	}
}
