/* =========================================================
   FASTTRACK COMPLETE BOOKING
========================================================= */

.booking-page {
    min-height: 100vh;
    background: #f4f6f8;
    padding: 45px 0 70px;
}


/* =========================================================
   LAYOUT
========================================================= */

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
}


/* =========================================================
   MAIN
========================================================= */

.booking-main {
    min-width: 0;
}


/* =========================================================
   INTRO
========================================================= */

.booking-intro {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.booking-intro-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.booking-eyebrow {
    display: block;
    color: var(--secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 4px;
}

.booking-intro h1 {
    margin: 0;
    color: var(--primary);
    font-size: 30px;
    font-weight: 750;
}

.booking-intro p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
}


/* =========================================================
   SECTION
========================================================= */

.booking-section {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 14px;
    padding: 27px;
    margin-bottom: 18px;
    box-shadow: 0 5px 18px rgba(10, 37, 64, 0.035);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #fff7da;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-heading span {
    display: block;
    color: var(--secondary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.section-heading h2 {
    margin: 2px 0 0;
    color: var(--primary);
    font-size: 18px;
    font-weight: 750;
}


/* =========================================================
   JOURNEY ROUTE
========================================================= */

.journey-route-box {
    background: #f8fafc;
    border: 1px solid #e7ebef;
    border-radius: 11px;
    padding: 18px;
}

.route-location {
    display: flex;
    align-items: center;
    gap: 12px;
}

.route-marker {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
}

.pickup-marker {
    background: var(--primary);
    color: #fff;
}

.destination-marker {
    background: var(--secondary);
    color: var(--primary);
}

.route-content small {
    display: block;
    color: #94a3b8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.route-content strong {
    display: block;
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
}

.route-connector {
    height: 22px;
    border-left: 1px dashed #cbd5e1;
    margin-left: 15px;
}


/* =========================================================
   JOURNEY FIELDS
========================================================= */

.journey-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 18px;
}

.journey-field label,
.form-group label {
    display: block;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 7px;
}

.field-with-icon {
    position: relative;
}

    .field-with-icon > i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--secondary);
        z-index: 2;
        pointer-events: none;
    }

    .field-with-icon .form-control,
    .field-with-icon .form-select {
        padding-left: 40px;
    }


/* =========================================================
   FORM CONTROLS
========================================================= */

.booking-section .form-control,
.booking-section .form-select {
    height: 48px;
    border: 1px solid #dce2e8;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .booking-section .form-control:focus,
    .booking-section .form-select:focus {
        border-color: var(--secondary);
        box-shadow: 0 0 0 3px rgba(255, 193, 7, .14);
    }

    .booking-section .form-control::placeholder {
        color: #a1aab5;
    }

.field-hint {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    margin-top: 6px;
}

.form-group {
    margin-bottom: 18px;
}


/* =========================================================
   RETURN JOURNEY
========================================================= */

.return-journey-box {
    margin-top: 20px;
    padding: 18px;
    border-radius: 11px;
    background: #fffaf0;
    border: 1px solid #f4d778;
}

.return-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 2px;
}

.return-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.return-heading span {
    display: block;
    color: #9a7510;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.return-heading h3 {
    margin: 2px 0 0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 750;
}


/* =========================================================
   EXTRA SERVICES
========================================================= */

.extra-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.extra-service {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
}

    .extra-service:hover {
        border-color: var(--secondary);
        background: #fffdf5;
    }

    .extra-service > input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.custom-check {
    width: 20px;
    height: 20px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    flex-shrink: 0;
    transition: all .2s ease;
}

.extra-service input:checked + .custom-check,
.terms-check input:checked + .custom-check {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

.custom-check i {
    font-size: 10px;
}

.extra-content {
    display: flex;
    flex-direction: column;
}

    .extra-content strong {
        color: var(--primary);
        font-size: 12px;
    }

    .extra-content small {
        color: #94a3b8;
        font-size: 9px;
        margin-top: 2px;
    }


/* =========================================================
   NOTES
========================================================= */

.notes-control {
    min-height: 110px !important;
    height: auto !important;
    resize: vertical;
}


/* =========================================================
   PAYMENT
========================================================= */

.payment-method {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e1e6eb;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .2s ease;
}

    .payment-method:hover {
        border-color: var(--secondary);
        background: #fffdf6;
    }

    .payment-method > input {
        position: absolute;
        opacity: 0;
    }

.payment-radio {
    width: 19px;
    height: 19px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.payment-method input:checked + .payment-radio {
    border-color: var(--secondary);
}

    .payment-method input:checked + .payment-radio::after {
        content: "";
        width: 9px;
        height: 9px;
        background: var(--secondary);
        border-radius: 50%;
        position: absolute;
        top: 3px;
        left: 3px;
    }

.payment-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .payment-content strong {
        color: var(--primary);
        font-size: 12px;
    }

    .payment-content small {
        color: #94a3b8;
        font-size: 9px;
        margin-top: 2px;
    }

.payment-icons {
    display: flex;
    gap: 5px;
    color: #64748b;
    font-size: 21px;
}

.secure-message {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #f0faf4;
    border: 1px solid #d5efdf;
    border-radius: 9px;
    padding: 12px;
    margin-top: 18px;
}

    .secure-message > i {
        color: #1b8a4b;
        font-size: 18px;
    }

    .secure-message div {
        display: flex;
        flex-direction: column;
    }

    .secure-message strong {
        color: #166534;
        font-size: 11px;
    }

    .secure-message span {
        color: #4b7b5c;
        font-size: 9px;
        margin-top: 2px;
    }


/* =========================================================
   TERMS
========================================================= */

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 20px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
    cursor: pointer;
}

    .terms-check input {
        position: absolute;
        opacity: 0;
    }

    .terms-check .custom-check {
        margin-top: 1px;
    }


/* =========================================================
   SIDEBAR
========================================================= */

.booking-sidebar {
    position: sticky;
    top: 90px;
}

.booking-summary {
    background: var(--primary);
    color: #fff;
    border-radius: 15px;
    padding: 23px;
    box-shadow: 0 15px 35px rgba(10, 37, 64, .15);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

    .summary-header i {
        font-size: 17px;
    }


/* =========================================================
   VEHICLE
========================================================= */

.summary-vehicle {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
}

.vehicle-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: rgba(255, 193, 7, .12);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-vehicle small {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 8px;
    letter-spacing: 1px;
}

.summary-vehicle strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-top: 2px;
}


/* =========================================================
   DIVIDER
========================================================= */

.summary-divider {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 19px 0;
}


/* =========================================================
   SUMMARY ROUTE
========================================================= */

.summary-route-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.summary-marker {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
}

    .summary-marker.pickup {
        background: #fff;
        color: var(--primary);
    }

    .summary-marker.destination {
        background: var(--secondary);
        color: var(--primary);
    }

.summary-route-item small {
    display: block;
    color: rgba(255,255,255,.48);
    font-size: 7px;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.summary-route-item strong {
    display: block;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
}

.summary-route-line {
    height: 17px;
    border-left: 1px dashed rgba(255,255,255,.3);
    margin-left: 12px;
}


/* =========================================================
   SUMMARY DETAILS
========================================================= */

.summary-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

    .summary-detail > i {
        color: var(--secondary);
        width: 17px;
        text-align: center;
    }

    .summary-detail small {
        display: block;
        color: rgba(255,255,255,.45);
        font-size: 7px;
        letter-spacing: 1px;
    }

    .summary-detail strong {
        display: block;
        color: #fff;
        font-size: 11px;
        margin-top: 2px;
    }


/* =========================================================
   RETURN SUMMARY
========================================================= */

.summary-return {
    background: rgba(255,193,7,.07);
    border: 1px solid rgba(255,193,7,.16);
    border-radius: 9px;
    padding: 13px;
    margin-top: 15px;
}

.summary-return-header {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--secondary);
    font-size: 9px;
    margin-bottom: 13px;
}

.summary-return .summary-detail:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TOTAL
========================================================= */

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .summary-total span {
        color: rgba(255,255,255,.7);
        font-size: 12px;
    }

    .summary-total strong {
        color: var(--secondary);
        font-size: 27px;
        font-weight: 800;
    }


/* =========================================================
   BOOK BUTTON
========================================================= */

.booking-btn {
    width: 100%;
    height: 54px;
    margin-top: 20px;
    border: 0;
    border-radius: 9px;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

    .booking-btn:hover {
        background: #e5aa00;
        transform: translateY(-2px);
    }
    .booking-btn.loading {
        pointer-events: none;
        opacity: .75;
        cursor: wait;
    }

    .booking-btn:disabled {
        cursor: wait;
    }


/* =========================================================
   TRUST
========================================================= */

.summary-trust {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.12);
}

    .summary-trust div {
        color: rgba(255,255,255,.7);
        font-size: 9px;
        margin-bottom: 8px;
    }

    .summary-trust i {
        color: var(--secondary);
        margin-right: 6px;
    }


/* =========================================================
   BACK
========================================================= */

.back-link {
    display: block;
    text-align: center;
    color: var(--primary);
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    margin-top: 15px;
}

    .back-link:hover {
        color: #b88700;
    }

    .back-link i {
        margin-right: 5px;
    }


/* =========================================================
   VALIDATION
========================================================= */

.field-validation-error {
    display: block;
    color: #dc3545;
    font-size: 10px;
    margin-top: 5px;
}

.input-validation-error {
    border-color: #dc3545 !important;
}

.validation-summary-errors {
    color: #dc3545;
    background: #fff4f4;
    border: 1px solid #f5b5b5;
    padding: 12px;
    border-radius: 8px;
}


/* =========================================================
   PHONE
========================================================= */

.iti {
    width: 100%;
}

    .iti input {
        width: 100% !important;
        height: 48px !important;
        border-radius: 8px !important;
        padding-left: 95px !important;
    }


/* =========================================================
   FLATPICKR
========================================================= */

.flatpickr-input {
    background: #fff !important;
    cursor: pointer;
}

.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,.16);
}

.flatpickr-day.selected {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--primary) !important;
}

.flatpickr-day.today {
    border-color: var(--secondary) !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .booking-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 20px;
    }
}

@media (max-width: 900px) {

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 650px) {

    .booking-page {
        padding: 25px 0 45px;
    }

    .booking-intro h1 {
        font-size: 25px;
    }

    .booking-section {
        padding: 20px;
    }

    .journey-fields {
        grid-template-columns: 1fr;
    }

    .extra-services {
        grid-template-columns: 1fr;
    }

    .payment-icons {
        display: none;
    }
}

@media (max-width: 480px) {

    .booking-intro {
        align-items: flex-start;
    }

    .booking-intro-icon {
        width: 44px;
        height: 44px;
    }

    .booking-intro h1 {
        font-size: 22px;
    }

    .booking-section {
        border-radius: 11px;
        padding: 17px;
    }

    .summary-total strong {
        font-size: 24px;
    }
}

/* ===========================
   Booking Details
=========================== */

.booking-details-page {
    background: #f5f7fb;
    min-height: 80vh;
}

.booking-header {
    background: #0A2540;
    color: #fff;
    padding: 35px;
    border-radius: 18px;
}

    .booking-header h2 {
        font-weight: 700;
    }

.detail-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 25px;
}

    .detail-card h4 {
        color: #0A2540;
        margin-bottom: 25px;
        font-weight: 700;
    }

    .detail-card table td {
        padding: 12px 6px;
    }

    .detail-card table tr {
        border-bottom: 1px solid #ececec;
    }

    .detail-card .btn {
        padding: 14px;
        border-radius: 10px;
        font-weight: 600;
    }

    .detail-card h3 {
        font-size: 34px;
        font-weight: 700;
    }

.badge {
    padding: 10px 18px;
    border-radius: 30px;
}

@media(max-width:991px) {

    .booking-header {
        text-align: center;
    }

    .detail-card {
        margin-top: 20px;
    }
}