.booking-page {
    width: 100%;
    min-height: 100vh;
    padding: 30px 20px 80px;
    box-sizing: border-box;
    background: #f5f8fc;
}

.booking-section {
    width: 100%;
    margin-top: 60px;
}

.booking-section .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   BOOKING CARD
======================================== */

.booking-card {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(15, 35, 65, 0.08);
}

/* ========================================
   HEADER
======================================== */

.booking-header {
    margin-bottom: 32px;
    text-align: center;
}

.booking-header h1 {
    margin: 0 0 10px;
    color: #1e3a5f;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 750;
}

.booking-header p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

/* ========================================
   FORM GROUPS
   Match the HTML class: form-group
======================================== */

#bookingForm {
    width: 100%;
}

#bookingForm .form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 22px;
}

#bookingForm .form-group label {
    display: block;
    margin-bottom: 9px;
    color: #26374d;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

#bookingForm .form-group input {
    display: block;
    width: 100%;
    height: 50px;
    min-width: 0;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1px solid #d5deea;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #1e293b;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#bookingForm .form-group input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

#bookingForm .form-group input:focus {
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

/* ========================================
   DISTANCE AND BASE FARE ROW
   Match the HTML class: form-row
======================================== */

#bookingForm .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

#bookingForm .form-row .form-group {
    margin-bottom: 24px;
}

/* ========================================
   FARE SUMMARY
======================================== */

#bookingForm .fare-summary {
    width: 100%;
    margin-top: 4px;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    background: #f7f9fc;
}

#bookingForm .fare-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
}

#bookingForm .fare-row span {
    min-width: 0;
}

#bookingForm .fare-row strong {
    color: #334155;
    font-size: 15px;
    font-weight: 650;
    text-align: right;
}

#bookingForm .fare-row.total-row {
    margin-bottom: 0;
    padding-top: 17px;
    border-top: 1px solid #dce4ef;
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
}

#bookingForm .fare-row.total-row strong {
    color: #1e3a5f;
    font-size: 24px;
    font-weight: 750;
}

/* ========================================
   SUBMIT BUTTON
======================================== */

#bookingForm .booking-submit {
    display: block;
    width: 100%;
    min-height: 54px;
    margin-top: 26px;
    padding: 14px 20px;
    border: none;
    border-radius: 11px;
    background: #1e3a5f;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

#bookingForm .booking-submit:hover {
    background: #142c49;
}

#bookingForm .booking-submit:active {
    transform: scale(0.99);
}

#bookingForm .booking-submit:focus-visible {
    outline: 3px solid rgba(30, 58, 95, 0.3);
    outline-offset: 3px;
}

/* ========================================
   VALIDATION AND SUCCESS MESSAGES
======================================== */

#bookingForm .booking-message {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

#bookingForm .booking-message.success,
#bookingForm .booking-message.error {
    display: block;
}

#bookingForm .booking-message.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

#bookingForm .booking-message.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.location-group {
    position: relative;
}

.location-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    list-style: none;
    margin: 4px 0 0;
    padding: 5px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
}

.location-suggestions li {
    padding: 11px 14px;
    cursor: pointer;
    color: #172554;
    font-size: 14px;
}

.location-suggestions li:hover {
    background: #fff3b0;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 768px) {
    .booking-page {
        padding: 55px 18px 60px;
    }

    .booking-section .container {
        max-width: 620px;
    }

    .booking-card {
        padding: 32px 26px;
        border-radius: 18px;
    }

    .booking-header h1 {
        font-size: 30px;
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 576px) {
    .booking-page {
        min-height: auto;
        padding: 35px 14px 45px;
    }

    .booking-card {
        padding: 26px 18px;
        border-radius: 16px;
    }

    .booking-header {
        margin-bottom: 26px;
    }

    .booking-header h1 {
        font-size: 27px;
    }

    .booking-header p {
        font-size: 14px;
    }

    #bookingForm .form-group {
        margin-bottom: 18px;
    }

    #bookingForm .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    #bookingForm .form-row .form-group {
        margin-bottom: 18px;
    }

    #bookingForm .form-group input {
        height: 48px;
    }

    #bookingForm .fare-summary {
        padding: 18px 15px;
    }

    #bookingForm .fare-row.total-row strong {
        font-size: 21px;
    }

    #bookingForm .booking-submit {
        min-height: 50px;
        margin-top: 22px;
    }
}
