/* FORM CSS */

/* import font family PayPalOpen-Bold,sans-serif; */
@font-face {
    font-family: 'PayPalOpen-Bold';
    src: url('https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_111x69.jpg') format('woff');
}

.icon-red {
    color: red;
}

.border-lg-left-custom {
    border-left: 0;
}

@media (min-width: 992px) {
    .border-lg-left-custom {
        border-left: 1px solid #ced4da !important;
    }
}

.form-control:disabled, .form-control[readonly] {
    background-color: #ffffff !important;
}

/*Phone field*/
.iti {
    width: inherit;
}

ul.iti__country-list {
    overflow: auto;
}

/* TULIP BOOKING SIDEBAR */

/* Basic Reset for Consistency */
.tulip-booking-sidebar * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Sidebar Container Styles */
.tulip-booking-sidebar {
    background-color: #ffc107 !important;
    padding: 15px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
}

/* Navbar Container and Tabs */
.tulip-booking-sidebar .navbar-container {
    margin-bottom: 5px !important;
}

.tulip-booking-sidebar ul {
    list-style-type: none;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #e9e9e9 !important;
    border-radius: 20px 20px 0 0 !important;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 5px;
}

.tulip-booking-sidebar ul::before,
.tulip-booking-sidebar ul::after {
    content: none !important;
}

.tulip-booking-sidebar ul li {
    padding: 0 !important;
    border: 0 !important;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 80px;
    max-height: 40px;
    height: 100%;
}

.tulip-booking-sidebar ul li button.nav-link {
    font-weight: normal !important;
    color: #939393 !important;
    background-color: transparent !important;
    border: none !important;
    padding: 10px 15px !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    flex: 1;
    transition: none !important;
}

/* Active Tab Styling */
.tulip-booking-sidebar ul li button.nav-link.active {
    font-weight: bold !important;
    background-color: #ffc107 !important;
    color: #585858 !important;
    border-top-right-radius: 20px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Input Group Elements */
.tulip-booking-sidebar .input-group-text {
    width: 40px;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
    height: 45px !important;
    padding: 10px !important;
    color: #333 !important;
    border-radius: 0 !important;
    border-right: none !important;
}

.tulip-booking-sidebar .tulip-text-input {
    border: 1px solid #ced4da !important;
    font-size: 14px !important;
    height: 45px !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

/* Search Button Styling */
.tulip-booking-sidebar button.btn-search {
    background-color: #28a745 !important;
    color: #fff !important;
    border: none !important;
    font-weight: bold !important;
    height: 45px !important;
    border-radius: 0.25rem !important;
    box-shadow: none !important;
    margin-top: 10px !important;
}

/* Consistent Style for Form Controls */
.tulip-booking-sidebar .form-control {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    height: 45px !important;
    padding: 10px !important;
    font-size: 14px !important;
}

/* Route Summary Icon Consistency */
.tulip-booking-sidebar .tulip-booking-route-icon {
    font-size: 20px !important;
    color: #007bff !important;
}

/* Form Margins for Consistent Spacing */
.tulip-booking-sidebar form div {
    margin-bottom: 5px !important;
}

.tulip-booking-sidebar form div:last-child {
    margin-bottom: 0px !important;
}

/* Rounded Corners for Input Elements */
.tulip-booking-sidebar form .input-group-text {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.tulip-booking-sidebar form .tulip-text-input {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

/* Navbar Styling for Consistent Look */
.tulip-booking-sidebar div.navbar-container.container-fluid,
.tulip-booking-sidebar div.navbar-container.container-fluid ul,
.tulip-booking-sidebar div.navbar-container.container-fluid ul * {
    font-size: 14px !important;
    border-bottom-right-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

/* route */
.tulip-booking-sidebar-route-summary {
    color: #666 !important;
}

.tulip-booking-sidebar-route-summary .card-header,
.tulip-booking-sidebar-route-summary .card-body {
    font-size: 15px !important;
}

.tulip-booking-sidebar-route-summary hr {
    background-color: #666 !important;
}

.tulip-booking-route-icon-wrapper {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e9e9e9;
    border: none !important;
    border-radius: 10px;
}

.tulip-booking-route-icon-container {
    display: flex;
    width: 40px;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.tulip-booking-route-icon {
    width: 15px;
    height: 20px;
    margin-top: 3px;
}

.tulip-booking-route-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    margin-top: 3px;
    padding: 0;
    padding-left: 12px;
    width: calc(100% - 42px);
}

.tulip-booking-dot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 20px;
    align-items: center;
    text-align: center;
}

/* calendar */
div.numInputWrapper input.numInput.flatpickr-hour,
div.numInputWrapper input.numInput.flatpickr-minute {
    border: none !important;
    background-color: #e3e3e3 !important;
}

.flatpickr-time input,
.flatpickr-minute input,
.flatpickr-hour input {
    color: #000 !important;
    font-size: 26px !important;
}

.tulip-booking-calendar-button {
    background-color: #28a745 !important;
    color: white !important;
    border: none !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    border-radius: .45rem !important;
    width: 100% !important;
}

/* END SIDEBAR */



/* START FORM css */

/* content css styles */
.tulip-booking-content .input-group-text {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    /* border: none !important; */
    border-right: 1px solid #ced4da !important;
}

.tulip-booking-content .tulip-text-input {
    /* border: none !important; */
    border: 1px solid #ced4da;
    border-left: 1px solid #ced4da;
    font-size: 14px !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    height: 40px !important;
}

.tulip-booking-group-prepend {
    background-color: #f5f5f5 !important;
}

/* card */
.tulip-booking-vehicle-card .card-body .card-text {
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

.tulip-booking-unselect-wehicle-button,
.tulip-booking-select-wehicle-button {
    color: white !important;
    border: none !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    border-radius: .45rem !important;
    width: 100% !important;
    min-height: 40px !important;
}

.tulip-booking-select-wehicle-button {
    background-color: #28a745 !important;
}

.tulip-booking-unselect-wehicle-button {
    background-color: #dc3545 !important;
}

.tulip-form-select {
    height: 40px !important;
}

.tulip-booking-max-width-for-input {
    min-width: calc(100% - 40px) !important;
}

.tulip-booking-max-width-for-special-input {
    min-width: calc(100% - 80px) !important;
}

.tulip-booking-max-width {
    max-width: 100% !important;
}

.vehicle-form-container {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.vehicle-form-container textarea {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}

.vehicle-form-container button.btn-book {
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: #157347;
    border: none !important;
    height: 40px !important;
}

.vehicle-form-container .card-text {
    font-size: 15px !important;
    color: #999 !important;
    line-height: 1.75 !important;
}

.vehicle-form-container hr {
    background-color: #666 !important;
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}

.vehicle-form-container .form-select {
    height: 40px !important;
    margin-bottom: 0 !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding: 0.5rem !important;
    font-size: 0.75rem !important;
}

.tulip-booking-salutations {
    width: 60px !important;
    max-width: 60px !important;
}

.tulipbooking-card-container {
    width: 100%;
}

.tulipbooking-summary-item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 16px;
}

.tulip-booking-paypal-card-field-submit-button {
    font-family: 'PayPalOpen-Bold'sans-serif;
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    border-radius: .45rem !important;
    width: 100% !important;
    min-height: 40px !important;
}

/* END FORM css */


/* Start Loader */
#tulip-booking-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

.tulip-booking-loader-inner {
    pointer-events: none;
    text-align: center;
    color: white;
}

.tulip-booking-loader-icon {
    font-size: 2em;
}

/* END Loader */

.tulip-text-select {
    min-width: calc(100% - 40px) !important;
    width: calc(100% - 40px) !important;
    margin-bottom: 0 !important;
}

.tulip-booking-disabled-button {
    background-color: #6c757d !important;
    opacity: 0.65;
    color: white !important;
    cursor: not-allowed !important;
}

.tulip-booking-floating-price {
    position: fixed;
    bottom: 30px;
    left: 0;
    z-index: 1050;
    background-color: #fff;
    width: 100%;
    border: 1px solid red;
}

/* modal */
.modal {
    background-color: transparent !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .btn-close {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.tulip-booking-modal-error-message {
    padding: 0 20px !important;
}

/* pretext on form */
.custom-ol {
    counter-reset: list-counter;
    padding-left: 0;
    margin: 0 !important;
}

.custom-ol li {
    list-style: none;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 0.3rem;

    justify-content: center;
    display: flex;
    flex-direction: column;
    line-height: 1.5 !important;
}

.custom-ol li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background-color: #fff;
    color: #6c757d;
    border: 3px solid #ffc107;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-ol li .main-text {
    font-size: 1.25rem;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-ol li .sub-text {
    font-size: 0.875rem;
    display: block;
    font-style: italic;
    color: #6c757d;
    margin: 0;
    margin-top: -0.5rem;
}

#tulipErrorMessageModal {
    width: 100%;
    min-width: 100%;
}

.modal-backdrop.show {
    opacity: 0 !important;
    /* Makes the backdrop fully transparent */
    pointer-events: none !important;
    /* Allows clicks to pass through the backdrop */
}

.tulip-booking-iti-container>div {
    width: 100%;
}

#tulip-booking-paypal-result-message {
    font-size: 1rem;
    font-weight: 500;
    color: red;
}

.tulip-booking-input-autocomplete-wrapper {
    position: relative;
}

/* autocomplete */
#tulip-booking-end-autocomplete-results,
#tulip-booking-start-autocomplete-results {
    max-height: 250px;
    overflow-y: auto;
    border-radius: 3px !important;
    border: 1px solid #ced4da;
    background-color: #fff !important;
    z-index: 1051;
    font-size: 13px !important;
    line-height: 1.6 !important;
    /* padding: 9px !important; */
}

#tulip-booking-end-autocomplete-results li,
#tulip-booking-start-autocomplete-results li {
    cursor: pointer;
    padding-left: 10px !important;
    min-height: 25px;
    padding: 10px 12px;
}

#tulip-booking-end-autocomplete-results li:hover,
#tulip-booking-end-autocomplete-results li.active,
#tulip-booking-start-autocomplete-results li:hover,
#tulip-booking-start-autocomplete-results li.active {
    background-color: #dbdbdb;
}

@media (max-width: 576px) {
    .custom-ol li {
        padding-left: 2.5rem;
        margin-bottom: 0.1rem;
    }

    .custom-ol li .main-text {
        font-size: 5vw;
    }

    .custom-ol li .sub-text {
        font-size: 3vw;
    }
}