/* Gravity Form Booking - Front-end styles */

.gfb-wrapper {
	max-width: 480px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.gfb-wrapper *,
.gfb-wrapper *::before,
.gfb-wrapper *::after {
	box-sizing: border-box;
}

.gfb-card {
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	border: 1px solid #eee;
}

/* Dotted amber strip at the very top */
.gfb-dots {
	height: 10px;
	background-image: repeating-linear-gradient(
		to right,
		#f0ab00 0px,
		#f0ab00 14px,
		transparent 14px,
		transparent 24px
	);
	background-color: #1a1a1a;
}

.gfb-header {
	background: #1a1a1a;
	padding: 28px 24px 24px;
}

.gfb-header h2 {
	color: #ffffff;
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 700;
}

.gfb-header p {
	color: #f0ab00;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

.gfb-form {
	padding: 24px;
}

.gfb-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #d69400;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 26px 0 14px;
}

.gfb-section-title:first-of-type {
	margin-top: 4px;
}

.gfb-diamond {
	width: 8px;
	height: 8px;
	background: #f0ab00;
	transform: rotate(45deg);
	flex-shrink: 0;
}

.gfb-field {
	margin-bottom: 18px;
}

.gfb-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 8px;
}

.gfb-required {
	color: #e63946;
}

.gfb-field input[type="text"],
.gfb-field input[type="tel"],
.gfb-field input[type="email"],
.gfb-field input[type="date"],
.gfb-field input[type="time"],
.gfb-field select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-size: 14px;
	color: #1a1a1a;
	background: #ffffff;
	outline: none;
	transition: border-color 0.15s ease;
}

.gfb-field input::placeholder {
	color: #a8a8a8;
}

.gfb-field input:focus,
.gfb-field select:focus {
	border-color: #f0ab00;
}

.gfb-field input.gfb-invalid,
.gfb-field select.gfb-invalid {
	border-color: #e63946;
}

.gfb-helper-text {
	font-size: 12px;
	color: #999;
	margin: 8px 0 0;
}

/* Row 2-column layout */
.gfb-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 420px) {
	.gfb-row-2 {
		grid-template-columns: 1fr;
	}
}

/* Toggle switch row (Add a stop) */
.gfb-toggle-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fdf3d9;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.gfb-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.gfb-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.gfb-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #d8cba3;
	border-radius: 24px;
	transition: 0.2s;
}

.gfb-slider::before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: #ffffff;
	border-radius: 50%;
	transition: 0.2s;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.gfb-switch input:checked + .gfb-slider {
	background-color: #f0ab00;
}

.gfb-switch input:checked + .gfb-slider::before {
	transform: translateX(20px);
}

/* Stepper (+ / -) */
.gfb-stepper {
	display: flex;
	align-items: stretch;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

.gfb-step-btn {
	background: #1a1a1a;
	color: #f0ab00;
	border: none;
	width: 44px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
}

.gfb-step-btn:hover {
	background: #2b2b2b;
}

.gfb-stepper input {
	flex: 1;
	text-align: center;
	border: none;
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
	background: #ffffff;
	min-width: 0;
}

.gfb-stepper input:focus {
	outline: none;
}

/* Luggage size toggle buttons */
.gfb-toggle-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.gfb-toggle-btn {
	padding: 12px;
	border-radius: 10px;
	border: 1px solid #e0e0e0;
	background: #ffffff;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.gfb-toggle-btn.gfb-active {
	background: #f0ab00;
	border-color: #f0ab00;
	color: #1a1a1a;
}

/* Divider */
.gfb-divider {
	border: none;
	border-top: 1px dashed #e0e0e0;
	margin: 20px 0;
}

/* Submit button */
.gfb-submit-btn {
	width: 100%;
	background: #f0ab00;
	color: #1a1a1a;
	border: none;
	padding: 16px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}

.gfb-submit-btn:hover {
	background: #dc9c00;
}

.gfb-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Form message (success / error) */
.gfb-form-message {
	display: none;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	margin-bottom: 16px;
}

.gfb-form-message.gfb-show {
	display: block;
}

.gfb-form-message.gfb-success {
	background: #e6f6ea;
	color: #1e6b34;
	border: 1px solid #b8e6c4;
}

.gfb-form-message.gfb-error {
	background: #fdeaea;
	color: #a3242f;
	border: 1px solid #f3c2c6;
}

/* Honeypot - hidden from humans, visible to bots that don't render CSS */
.gfb-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
}
