/**
 * Rhodes Boat — public booking form (Phase 10).
 */

.rb-booking {
	max-width: 1100px;
	margin: 0 auto;
}

.rb-booking__intro {
	margin-bottom: 2rem;
}

.rb-booking__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	counter-reset: rbstep;
}

.rb-booking__steps li {
	counter-increment: rbstep;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
}

.rb-booking__steps li::before {
	content: counter(rbstep) ". ";
}

.rb-booking__steps li.is-active {
	background: #0b1c26;
	border-color: #0b1c26;
	color: #fff;
}

.rb-booking__steps li.is-done {
	border-color: #c9a227;
	color: #0b1c26;
}

.rb-booking__layout {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 960px) {
	.rb-booking__layout {
		grid-template-columns: 1.4fr 0.8fr;
		align-items: start;
	}

	.rb-booking__aside {
		position: sticky;
		top: 6rem;
	}
}

.rb-booking__panel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1rem;
}

.rb-booking__boats {
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.rb-booking__boats {
		grid-template-columns: repeat(2, 1fr);
	}
}

.rb-booking__boat {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	text-align: left;
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rb-booking__boat.is-selected {
	border-color: #c9a227;
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.rb-booking__boat.is-locked {
	cursor: default;
	pointer-events: none;
	max-width: 420px;
}

.rb-booking__boats--locked {
	grid-template-columns: 1fr;
}

.rb-booking__change-boat {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
}

.rb-booking__change-boat a {
	color: #0b1c26;
	font-weight: 600;
}

.rb-booking--locked-boat [data-step-indicator="1"] {
	opacity: 0.55;
}

.rb-booking__aside-boat {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #e5e7eb;
}

.rb-booking__aside-boat img {
	width: 72px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
	background: #0b1c26;
}

.rb-booking__aside-boat strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 0.15rem;
}

.rb-booking__aside-boat span {
	font-size: 0.85rem;
	color: #6b7280;
}

.rb-booking__boat img {
	width: 72px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
	background: #0b1c26;
}

.rb-booking__boat-meta strong {
	display: block;
	font-size: 1rem;
}

.rb-booking__boat-meta span {
	font-size: 0.85rem;
	color: #6b7280;
}

.rb-booking__fields {
	display: grid;
	gap: 1rem;
}

.rb-booking__fields--2 {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.rb-booking__fields--2 {
		grid-template-columns: 1fr 1fr;
	}

	.rb-field--full {
		grid-column: 1 / -1;
	}
}

.rb-booking__slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.rb-booking__slot {
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 8px;
	padding: 0.55rem 0.85rem;
	cursor: pointer;
	font-weight: 600;
}

.rb-booking__slot:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.rb-booking__slot.is-selected {
	background: #0b1c26;
	border-color: #0b1c26;
	color: #fff;
}

.rb-booking__extras {
	display: grid;
	gap: 0.65rem;
	margin-top: 1rem;
}

.rb-booking__extra {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.rb-booking__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.rb-booking__aside {
	padding: 1.25rem;
}

.rb-booking__aside-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	font-size: 0.95rem;
}

.rb-booking__aside-list li {
	padding: 0.35rem 0;
	border-bottom: 1px solid #f0f0f1;
}

.rb-booking__totals > div {
	display: flex;
	justify-content: space-between;
	padding: 0.35rem 0;
	font-size: 0.95rem;
}

.rb-booking__totals-grand {
	border-top: 1px solid #e5e7eb;
	margin-top: 0.35rem;
	padding-top: 0.65rem !important;
	font-size: 1.05rem;
}

.rb-booking__error {
	color: #b32d2e;
	font-weight: 600;
}

.rb-booking__hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
}

.rb-booking__confirm-card {
	padding: 1.5rem;
	max-width: 32rem;
}
