.booking-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 11rem auto;
    gap: 0.75rem;
    align-items: end;
    border-color: #b9d4f3;
    background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
}

.booking-search-form label {
    position: static !important;
    display: block !important;
    height: auto !important;
    padding: 0 !important;
    margin-bottom: 0.25rem !important;
    border: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    color: #0f3b79;
}

.booking-search-form select,
.booking-search-form input[type="date"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 2.75rem !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
    border-color: #a8c8ef;
    background: #ffffff;
    color: #184785;
}

.booking-search-form input[type="text"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 2.75rem !important;
    border-color: #a8c8ef;
    background: #ffffff;
    color: #184785;
}

.booking-search-form input[type="date"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal !important;
}

.booking-search-form input[type="text"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal !important;
}

.booking-search-form input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

.booking-search-form .flatpickr-input {
    cursor: pointer;
}

.flatpickr-calendar {
    border: 1px solid #a8c8ef;
    box-shadow: 0 10px 28px rgba(25, 78, 145, 0.18);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: #f66c1c;
    border-color: #f66c1c;
}

.flatpickr-day.today {
    border-color: #e35b0f;
}

.booking-search-control {
    border-color: #a8c8ef;
}

.booking-search-control-error {
    border-color: #f87171;
}

.booking-search-form select:focus,
.booking-search-form input[type="date"]:focus {
    border-color: #2b6cb0;
    box-shadow: 0 0 0 2px rgba(43, 108, 176, 0.2);
}

.booking-search-form input[type="text"]:focus {
    border-color: #2b6cb0;
    box-shadow: 0 0 0 2px rgba(43, 108, 176, 0.2);
}

.booking-submit button {
    height: 2.75rem;
}

.booking-search-submit {
    background: #f66c1c;
    border-color: #f66c1c;
}

.booking-search-submit:hover {
    background: #e35b0f;
    border-color: #e35b0f;
}

.booking-results-shell {
    background: #f3f9ff;
}

.trip-list-card {
    border-color: #d1e3f8;
    background: linear-gradient(180deg, #fafdff 0%, #ffffff 100%);
}

.trip-list-card:hover {
    box-shadow: 0 10px 24px rgba(21, 74, 138, 0.14);
}

.trip-list-head i {
    color: #f66c1c;
}

.trip-list-head span {
    color: #0f3b79;
}

.trip-route-row .text-2xl {
    color: #0f3b79;
}

.trip-route-row .text-xs,
.trip-seat-meta {
    color: #2a5b9c;
}

.trip-price-panel {
    background: #eef5ff;
    border-color: #c9def9;
}

.trip-price-value {
    color: #e35b0f;
}

.trip-book-btn {
    background: #f66c1c;
    border-color: #f66c1c;
}

.trip-book-btn:hover {
    background: #e35b0f;
    border-color: #e35b0f;
}

.booking-alert-card {
    width: min(400px, calc(100vw - 34px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
    padding: 26px 22px 24px;
}

.booking-alert-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #f6e7cc;
    color: #111827;
}

.booking-alert-icon-mark {
    font-size: 28px;
    line-height: 1;
}

.booking-alert-title {
    font-size: 1.65rem;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.booking-alert-message {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #667085;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
}

.booking-alert-btn {
    border-radius: 9999px;
    background: #f66c1c !important;
    color: #ffffff !important;
    font-size: 1.45rem;
    line-height: 1.2;
    padding-top: 0.78rem !important;
    padding-bottom: 0.78rem !important;
    border: 0;
    box-shadow: 0 6px 14px rgba(246, 108, 28, 0.22);
    min-height: 44px;
}

.booking-alert-btn:hover {
    background: #e35b0f !important;
}

@media (max-width: 1023px) {
    .booking-search-form {
        grid-template-columns: 1fr;
    }

    .booking-date-field,
    .booking-submit {
        width: 100%;
    }

    .booking-submit button {
        width: 100%;
        justify-content: center;
    }

    .booking-search-form input[type="date"] {
        font-size: 16px !important;
    }

    .booking-search-form input[type="text"] {
        font-size: 16px !important;
    }

    .flatpickr-calendar {
        width: calc(100vw - 24px);
        max-width: 340px;
    }

    .booking-alert-title {
        font-size: 1.55rem;
    }

    .booking-alert-message {
        font-size: 1rem;
    }

    .booking-alert-btn {
        font-size: 1.35rem;
    }
}

@media (max-width: 640px) {
    .booking-alert-card {
        width: calc(100vw - 20px);
        border-radius: 16px;
        padding: 20px 16px 18px;
    }

    .booking-alert-icon {
        width: 52px;
        height: 52px;
    }

    .booking-alert-icon-mark {
        font-size: 24px;
    }

    .booking-alert-title {
        font-size: 1.38rem;
        margin-top: 0.9rem;
    }

    .booking-alert-message {
        font-size: 0.98rem;
        margin-top: 0.45rem;
    }

    .booking-alert-btn {
        font-size: 1.02rem;
        margin-top: 1rem;
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
    }
}

@media (max-height: 720px) {
    .booking-alert-modal {
        align-items: flex-start;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .booking-alert-card {
        max-height: calc(100vh - 32px);
        padding-top: 20px;
        padding-bottom: 18px;
    }

    .booking-alert-title {
        font-size: 1.45rem;
    }

    .booking-alert-message {
        font-size: 0.95rem;
    }
}
