.atb-wrap { max-width: 760px; margin: 0 auto; }
.atb-wrap *, .atb-wrap *::before, .atb-wrap *::after { box-sizing: border-box; }
.atb-form {
	background: var(--atb-panel,#fff);
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 24px rgba(20, 30, 50, .06);
	font-size: 15px;
	color: var(--atb-text,#1f2933);
}
.atb-form .atb-hp { display: none !important; }

.atb-trip-type { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
@media (max-width: 600px) {
	.atb-trip-type { flex-direction: column; align-items: flex-start; gap: 10px; }
	.atb-trip-type .atb-radio { white-space: normal; }
}
.atb-radio { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; }

.atb-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.atb-field { display: flex; flex-direction: column; min-width: 0; }
.atb-field.atb-full { grid-column: 1 / -1; }
.atb-field label { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--atb-label,#3e4c59); }
.atb-field input,
.atb-field select,
.atb-field textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #cbd2d9;
	border-radius: 9px;
	font-size: 15px;
	background: var(--atb-panel,#fff);
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}
.atb-field input:focus,
.atb-field select:focus,
.atb-field textarea:focus {
	outline: none;
	border-color: var(--atb-accent,#2563eb);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.atb-quote {
	margin: 22px 0;
	padding: 16px 20px;
	background: linear-gradient(135deg, var(--atb-soft1,#eef4ff), var(--atb-soft2,#f7faff));
	border: 1px solid #d6e4ff;
	border-radius: 11px;
}
.atb-quote-lines { margin-bottom: 10px; }
.atb-quote-lines:empty { margin-bottom: 0; }
.atb-quote-line {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: var(--atb-muted,#52606d);
	padding: 3px 0;
}
.atb-quote-line + .atb-quote-line { border-top: 1px dashed #d6e4ff; }
.atb-quote-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 6px;
	border-top: 1px solid #cdddff;
}
.atb-quote-lines:empty + .atb-quote-total { border-top: none; padding-top: 0; }
.atb-quote-label { font-weight: 600; color: var(--atb-label,#3e4c59); }
.atb-quote-amount { font-size: 26px; font-weight: 800; color: var(--atb-accent-deep,#1d4ed8); }

.atb-extras {
	border: 1px solid #e6e8eb;
	border-radius: 10px;
	padding: 6px 14px;
}
.atb-extra-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
}
.atb-extra-row + .atb-extra-row { border-top: 1px solid #eef0f2; }
.atb-extra-label { font-size: 14px; color: var(--atb-text,#1f2933); }
.atb-extra-label small { display: block; color: var(--atb-muted2,#7b8794); font-size: 12px; }
.atb-qty { width: 72px; padding: 8px 10px; border: 1px solid #cbd2d9; border-radius: 8px; }
.atb-meetgreet .atb-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.atb-meetgreet .atb-check input { margin-top: 3px; }
.atb-meetgreet small { display: block; color: var(--atb-accent-deep,#1d4ed8); font-weight: 600; font-size: 13px; }

.atb-section-title { margin: 22px 0 12px; font-size: 17px; }
.atb-full { grid-column: 1 / -1; }

.atb-submit {
	margin-top: 20px;
	width: 100%;
	padding: 14px;
	background: var(--atb-accent,#2563eb);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, transform .05s;
}
.atb-submit:hover { background: var(--atb-accent-deep,#1d4ed8); }
.atb-submit:active { transform: translateY(1px); }
.atb-submit:disabled { opacity: .6; cursor: not-allowed; }

.atb-message {
	padding: 14px 16px;
	border-radius: 10px;
	margin-bottom: 18px;
	font-weight: 600;
}
.atb-message.atb-ok { background: #e6f7ee; color: #0f7b46; border: 1px solid #b7ebcf; }
.atb-message.atb-err { background: #fdecec; color: #b42318; border: 1px solid #f6c6c2; }

@media (max-width: 620px) {
	.atb-grid { grid-template-columns: 1fr; }
	.atb-quote-total { flex-direction: column; gap: 6px; text-align: center; }
}

/* Google Places (new) autocomplete widget */
.atb-ac-mount { display: block; width: 100%; min-width: 0; max-width: 100%; }
.atb-ac-mount gmp-place-autocomplete { width: 100%; max-width: 100%; min-width: 0; display: block; }

/* Vehicle selector cards */
.atb-vcards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}
.atb-vcard { position: relative; cursor: pointer; display: block; }
.atb-vcard input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.atb-vcard-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	border: 2px solid #e6e8eb;
	border-radius: 12px;
	padding: 14px 10px;
	text-align: center;
	background: var(--atb-panel,#fff);
	transition: border-color .15s, box-shadow .15s;
	height: 100%;
	box-sizing: border-box;
}
.atb-vcard:hover .atb-vcard-body { border-color: #b9c2cc; }
.atb-vcard input[type="radio"]:checked + .atb-vcard-body {
	border-color: var(--atb-accent,#2271b1);
	box-shadow: 0 0 0 3px rgba(34, 113, 177, .15);
}
.atb-vcard input[type="radio"]:focus-visible + .atb-vcard-body {
	outline: 2px solid var(--atb-accent,#2271b1);
	outline-offset: 2px;
}
.atb-vcard-img {
	width: 100%;
	max-width: 150px;
	height: 72px;
	object-fit: contain;
	display: block;
}
.atb-vcard-img--none { font-size: 44px; line-height: 72px; }
.atb-vcard-name { font-weight: 700; font-size: 14px; }
.atb-vcard-cap { font-size: 12px; color: var(--atb-muted2,#667380); }
.atb-vcard-price { font-weight: 700; font-size: 17px; color: var(--atb-accent,#2271b1); margin-top: 2px; }
.atb-vcard-na {
	display: none;
	font-size: 12px;
	color: #b32d2e;
	font-weight: 600;
	margin-top: 2px;
}
.atb-vcard--disabled { cursor: not-allowed; }
.atb-vcard--disabled .atb-vcard-body {
	opacity: .45;
	filter: grayscale(1);
	border-style: dashed;
}
.atb-vcard--disabled .atb-vcard-na { display: block; }
.atb-vcard--disabled .atb-vcard-price { display: none; }

/* Child-seat cap notice */
.atb-seat-note {
	margin-top: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #fdf3e6;
	border: 1px solid #dba617;
	color: #7a5200;
	font-size: 13px;
	font-weight: 600;
}

/* Mobile refinements */
@media (max-width: 620px) {
	.atb-form { padding: 16px 14px; border-radius: 10px; }
	/* Vehicle cards become horizontal rows: image left, details right */
	.atb-vcards { grid-template-columns: 1fr; gap: 10px; }
	.atb-vcard-body {
		flex-direction: row;
		text-align: left;
		align-items: center;
		gap: 12px;
		padding: 10px 12px;
		flex-wrap: wrap;
	}
	.atb-vcard-img { width: 84px; max-width: 84px; height: 52px; flex: 0 0 auto; }
	.atb-vcard-img--none { font-size: 32px; line-height: 52px; }
	.atb-vcard-name { flex: 1 1 auto; min-width: 0; }
	.atb-vcard-cap { flex-basis: 100%; order: 4; margin-top: 2px; }
	.atb-vcard-price { margin-left: auto; margin-top: 0; font-size: 16px; flex: 0 0 auto; }
	.atb-vcard-na { margin-left: auto; flex: 0 0 auto; }
}

/* Price note under the estimated total */
.atb-price-note {
	margin-top: 6px;
	font-size: 13px;
	color: var(--atb-muted,#52606d);
	font-style: italic;
	text-align: right;
}

/* Full-day driver option */
.atb-fullday-more { margin-left: 6px; font-size: 13px; }
.atb-fullday-note {
	margin: 10px 0;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--atb-soft1,#eef4fd);
	border: 1px solid #7aa7e8;
	color: var(--atb-accent-deep,#1d3f6e);
	font-size: 14px;
}
.atb-fullday-consent { margin: 8px 0 12px; }

/* Developer credit */
.atb-credit {
	margin-top: 14px;
	text-align: center;
	font-size: 11px;
	color: var(--atb-muted2,#9aa5b1);
}
.atb-credit a {
	color: var(--atb-muted2,#9aa5b1);
	text-decoration: underline;
}
.atb-credit a:hover {
	color: var(--atb-muted,#52606d);
}
