﻿.booking-complete-form {
    width: 100%;
    min-width: 0;
}

.booking-complete {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6ec;
    border-radius: 8px;
}

.booking-reference-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    background: #d9edf7;
    border-bottom: 1px solid #bce8f1;
    color: #31708f;
}

.booking-reference-text {
    flex: 1 1 320px;
    min-width: 0;
}

.booking-reference-message {
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

    .booking-actions .rz-button {
        min-height: 36px;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 13px;
        text-transform: none;
    }

.booking-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.booking-trip-summary {
    padding: 16px;
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 5px;
    color: #3c763d;
    font-size: 14px;
    line-height: 1.6;
}

    .booking-trip-summary p {
        margin: 0;
    }

        .booking-trip-summary p + p {
            margin-top: 4px;
        }

.booking-trip-heading {
    font-weight: 500;
}

.booking-estimated-price {
    margin: 8px 0 0;
    color: inherit;
    font-size: inherit;
    white-space: pre-line;
}

.booking-map-container {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8ec;
    border-radius: 5px;
}

    .booking-map-container #map {
        width: 100% !important;
        height: clamp(320px, 65vh, 750px) !important;
    }

@media (max-width: 576px) {
    .booking-reference-bar {
        padding: 12px;
    }

    .booking-reference-text {
        flex-basis: 100%;
    }

    .booking-actions {
        width: 100%;
    }

        .booking-actions .rz-button {
            flex: 1 1 0;
            min-height: 40px;
        }

    .booking-content {
        gap: 12px;
        padding: 12px;
    }

    .booking-trip-summary {
        padding: 12px;
    }
}
