.rbb-booking {
	--rbb-primary: #183f36;
	--rbb-button: #f26a21;
	max-width: 1040px;
	margin: 0 auto;
	color: #17211d;
	font-family: "Oswald", Arial, sans-serif;
}

.rbb-booking * {
	box-sizing: border-box;
}

.rbb-booking [hidden] {
	display: none !important;
}

.rbb-booking__hero {
	min-height: 300px;
	display: flex;
	align-items: flex-end;
	padding: 36px;
	border-radius: 8px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(12, 23, 19, .1), rgba(12, 23, 19, .82)),
		url("../img/enduro-hero.png");
	background-color: var(--rbb-primary);
	background-size: cover;
	background-position: center;
	color: #fff;
}

.rbb-booking__hero h2 {
	margin: 0 0 10px;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
}

.rbb-booking__hero p {
	max-width: 640px;
	margin: 0;
	font-size: 18px;
}

.rbb-kicker {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	color: #f5c36b;
	margin-bottom: 10px !important;
}

.rbb-form {
	display: grid;
	gap: 22px;
	padding: 28px;
	background: #fff;
	border: 1px solid #e3e6e1;
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(20, 30, 25, .08);
	margin-top: -30px;
	position: relative;
	z-index: 2;
}

.rbb-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.rbb-form label,
.rbb-choice legend {
	font-weight: 700;
	color: var(--rbb-primary);
}

.rbb-form input[type="text"],
.rbb-form input[type="email"],
.rbb-form input[type="tel"],
.rbb-form input[type="number"],
.rbb-form select,
.rbb-form textarea {
	width: 100%;
	margin-top: 8px;
	border: 1px solid #cfd8d1;
	border-radius: 6px;
	padding: 13px 14px;
	font: inherit;
	background: #fff;
	color: #17211d;
}

.rbb-form input:focus,
.rbb-form select:focus,
.rbb-form textarea:focus {
	outline: 2px solid rgba(242, 106, 33, .28);
	border-color: var(--rbb-button);
}

.rbb-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	border: 0;
	padding: 0;
	margin: 0;
}

.rbb-choice legend {
	width: 100%;
	margin-bottom: 2px;
}

.rbb-choice label,
.rbb-check {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
	color: #24332c;
}

.rbb-note,
.rbb-rental-note,
.rbb-no-events {
	margin: 0;
	padding: 14px 16px;
	border-radius: 6px;
	background: #eef5f0;
	border-left: 4px solid var(--rbb-primary);
}

.rbb-event-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.rbb-event-summary div {
	padding: 14px;
	background: #f6f7f3;
	border-radius: 6px;
}

.rbb-event-summary span {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	color: #66736b;
	font-weight: 700;
}

.rbb-event-summary strong {
	display: block;
	margin-top: 4px;
	color: var(--rbb-primary);
}

.rbb-motorcycle-rental-fields {
	display: grid;
	gap: 14px;
}

.rbb-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.rbb-message {
	min-height: 0;
	font-weight: 700;
	border-radius: 6px;
	padding: 0;
}

.rbb-message.is-success {
	margin-top: 4px;
	padding: 16px 18px;
	background: #e7f6ec;
	border: 2px solid #16a34a;
	color: #14532d;
	box-shadow: 0 8px 22px rgba(22, 163, 74, .14);
}

.rbb-message.is-error {
	margin-top: 4px;
	padding: 16px 18px;
	background: #fff1f0;
	border: 2px solid #b42318;
	color: #b42318;
}

.rbb-form .is-invalid {
	color: #b42318;
}

.rbb-form .is-invalid {
	border-color: #b42318 !important;
}

.rbb-submit {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 52px;
	border: 0;
	border-radius: 6px;
	padding: 14px 24px;
	background: var(--rbb-button);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.rbb-submit:hover,
.rbb-submit:focus {
	filter: brightness(.95);
	color: #fff;
}

.rbb-submit.is-loading::after {
	content: "";
	width: 18px;
	height: 18px;
	margin-left: 10px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: rbb-spin .75s linear infinite;
}

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

@media (max-width: 720px) {
	.rbb-booking__hero {
		min-height: 240px;
		padding: 24px;
	}

	.rbb-form {
		padding: 20px;
		margin-top: -18px;
	}

	.rbb-grid,
	.rbb-event-summary {
		grid-template-columns: 1fr;
	}

	.rbb-submit {
		width: 100%;
	}
}
