/* Travel Booking — front-end form */
.tb-booking {
	font-family: inherit;
	line-height: 1.5;
	color: inherit;
	width: 100%;
}

.tb-booking-inner {
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	padding: 26px 24px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.tb-title {
	margin: 0 0 0.3em;
	font-size: 1.45em;
	font-weight: 800;
	text-align: center;
}

.tb-subtitle {
	margin: 0 0 1.1em;
	text-align: center;
	opacity: 0.72;
	font-size: 0.92em;
}

.tb-form {
	display: block;
	margin: 0;
}

/* Route: From → To */
.tb-route {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 8px;
	align-items: end;
	margin-bottom: 14px;
}

.tb-route-arrow {
	padding-bottom: 10px;
	font-size: 1.1em;
	color: #64748b;
	text-align: center;
}

/* Generic row + fields */
.tb-row {
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
}

.tb-row-2 > .tb-field {
	flex: 1 1 0;
	min-width: 0;
}

.tb-field {
	margin-bottom: 0;
}

.tb-field label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.78em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.75;
}

.tb-field select,
.tb-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 10px;
	background: #f8fafc;
	font-size: 0.98em;
	font-family: inherit;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tb-field select:focus,
.tb-field input:focus {
	outline: none;
	border-color: #2563eb;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Persons stepper */
.tb-persons {
	display: flex;
	align-items: stretch;
}

.tb-persons input {
	text-align: center;
	border-radius: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

.tb-persons input::-webkit-outer-spin-button,
.tb-persons input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tb-step {
	flex: 0 0 auto;
	width: 42px;
	border: 1px solid rgba(0, 0, 0, 0.16);
	background: #ffffff;
	color: #0f172a;
	font-size: 1.15em;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tb-step:first-child {
	border-radius: 10px 0 0 10px;
	border-right: 0;
}

.tb-step:last-child {
	border-radius: 0 10px 10px 0;
	border-left: 0;
}

.tb-step:hover {
	background: #eef2ff;
}

.tb-step:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: -2px;
}

/* Submit button */
.tb-submit {
	display: inline-block;
	width: 100%;
	margin-top: 6px;
	padding: 13px 20px;
	border: 0;
	border-radius: 10px;
	background: #25d366;
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
	color: #ffffff;
	font-size: 1.02em;
	font-weight: 800;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.1s ease;
}

.tb-submit:hover {
	opacity: 0.92;
}

.tb-submit:active {
	transform: translateY(1px);
}

.tb-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.tb-submit:focus-visible {
	outline: 2px solid #059669;
	outline-offset: 2px;
}

/* Messages */
.tb-msg {
	display: none;
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: 0.94em;
}

.tb-msg.tb-success {
	display: block;
	background: #ecfdf5;
	border: 1px solid #6ee7b7;
	color: #065f46;
}

.tb-msg.tb-error {
	display: block;
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

.tb-error {
	color: #b91c1c;
	font-weight: 600;
}

@media (max-width: 480px) {
	.tb-booking-inner {
		padding: 20px 16px;
	}

	.tb-row {
		flex-direction: column;
	}
}
