.atb-booker-wrap {
    width: 100%;
    color: #111827;
    font-family: inherit;
}

.atb-form {
    display: block;
}

.atb-grid {
    display: grid;
    gap: 12px;
}

.atb-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atb-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 13px;
    color: #111827;
}

.atb-form input,
.atb-form select,
.atb-form textarea {
    width: 100%;
    border: 1px solid #d7dce5;
    border-radius: 15px;
    padding: 14px 15px;
    background: #fff;
    color: #111827;
    font-size: 16px;
    line-height: 1.35;
    box-sizing: border-box;
    outline: none;
}

.atb-form textarea {
    resize: vertical;
}

.atb-form input:focus,
.atb-form select:focus,
.atb-form textarea:focus {
    border-color: #c7a15a;
    box-shadow: 0 0 0 3px rgba(199,161,90,0.18);
}

.atb-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.atb-steps span {
    border: 1px solid rgba(15,23,42,0.09);
    border-radius: 999px;
    padding: 9px 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.atb-steps span.is-active {
    background: linear-gradient(135deg, #f2c96d, #c7a15a);
    color: #111827;
    border-color: transparent;
}

.atb-slider {
    position: relative;
    overflow: hidden;
}

.atb-step-panel {
    display: none;
    animation: atbSlideIn 0.28s ease both;
}

.atb-step-panel.is-active {
    display: block;
}

@keyframes atbSlideIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.atb-step-panel h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.2;
    color: #111827;
}

.atb-step-intro {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.atb-price-box,
.atb-summary-box {
    border: 1px solid rgba(199,161,90,0.45);
    background: #fff8ea;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 2px 0 16px;
}

.atb-price-value {
    font-size: 28px;
    font-weight: 950;
    color: #111827;
}

.atb-price-note,
.atb-summary-text {
    color: #5f6573;
    font-size: 13px;
    line-height: 1.4;
}

.atb-vehicle-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.atb-vehicle-card {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    display: grid;
    gap: 6px;
    color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.atb-vehicle-card:hover,
.atb-vehicle-card:focus {
    border-color: #c7a15a;
    box-shadow: 0 14px 30px rgba(199,161,90,0.16);
    transform: translateY(-1px);
    outline: none;
}

.atb-vehicle-card.is-selected {
    border-color: #c7a15a;
    background: linear-gradient(180deg, #fffaf0, #ffffff);
    box-shadow: 0 14px 30px rgba(199,161,90,0.22);
}

.atb-vehicle-name {
    font-size: 18px;
    font-weight: 950;
}

.atb-vehicle-price {
    font-size: 24px;
    font-weight: 950;
    color: #111827;
}

.atb-vehicle-meta,
.atb-vehicle-details {
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.atb-vehicle-select-label {
    display: inline-flex;
    justify-content: center;
    width: max-content;
    margin-top: 5px;
    border-radius: 999px;
    padding: 8px 12px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.atb-vehicle-card.is-selected .atb-vehicle-select-label {
    background: linear-gradient(135deg, #f2c96d, #c7a15a);
    color: #111827;
}

.atb-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.atb-actions-between {
    justify-content: space-between;
}

.atb-btn {
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    cursor: pointer;
    font-weight: 950;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.atb-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.atb-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.atb-next-btn,
.atb-submit-btn {
    background: linear-gradient(135deg, #f2c96d, #c7a15a);
    color: #111;
    box-shadow: 0 10px 22px rgba(199,161,90,0.28);
}

.atb-secondary-btn {
    background: #111827;
    color: #fff;
}

.atb-message {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-weight: 700;
}

.atb-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.atb-small-print {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.atb-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.booking-embed .atb-booker-wrap {
    min-height: 0;
}

/* server-side Google Places suggestions */
.atb-place-wrap {
    position: relative;
}

.atb-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 999999;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    max-height: 260px;
    overflow-y: auto;
}

.atb-suggestion {
    width: 100%;
    display: block;
    border: 0;
    background: #ffffff;
    color: #0f172a;
    text-align: left;
    padding: 13px 15px;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
}

.atb-suggestion:hover,
.atb-suggestion:focus {
    background: #f8fafc;
    outline: none;
}

.atb-suggestion-note {
    cursor: default;
    color: #64748b;
    font-size: 14px;
}

@media (min-width: 760px) {
    .atb-vehicle-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .atb-grid-2,
    .atb-steps {
        grid-template-columns: 1fr;
    }

    .atb-steps {
        gap: 6px;
    }

    .atb-form input,
    .atb-form select,
    .atb-form textarea {
        font-size: 16px;
        padding: 13px;
    }

    .atb-actions {
        flex-direction: column;
    }

    .atb-btn {
        width: 100%;
    }

    .atb-price-value,
    .atb-vehicle-price {
        font-size: 22px;
    }

    .atb-step-panel h3 {
        font-size: 21px;
    }
}

/* v1.5: Hide first-step estimated price box. Prices still calculate in background and show on vehicle cards. */
.atb-hidden-first-step-price {
    display: none !important;
}
