.mptbm-filter-feature{
    display: flex !important;
    flex-direction: row !important;
    flex-flow: column wrap;
    justify-content: space-around !important;
    align-items: center !important;
}

.mptbm-filter-feature-input{
    width: 49%;
}

.mptbm-filter-feature-input select:focus {
  /* Add your styling here */
  border-color: #007bff; /* Example border color */
  outline: none; /* Remove default focus outline */
  background-color: #fff !important;
  /* Add any other styles you want for the focus state */
}

.geo-fence-no-transport{
  display: none;
}
.mptbm_manual_start_place , .mptbm_map_end_place{
  text-transform: capitalize;
}

/* Hide disabled core WooCommerce fields */
.woocommerce .checkout .form-row.mptbm-hidden-field,
.woocommerce-checkout .form-row.mptbm-hidden-field {
    display: none !important;
}

/* Custom CSS for taxi booking manager */

/* Prevent price and currency symbol from breaking into separate lines */
.mptbm_list_details h4,
.mptbm_product_total_price,
.mptbm_product_price,
.woocommerce-Price-amount,
.amount {
    white-space: nowrap !important;
    word-break: keep-all !important;
    display: inline-block;
}

/* Ensure currency symbols stay with price numbers */
.woocommerce-Price-currencySymbol {
    white-space: nowrap !important;
}

/* Mobile-specific price styling */
@media only screen and (max-width: 768px) {
    .mptbm_list_details h4 {
        font-size: 20px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    /* Container for price to allow horizontal scrolling if needed */
    .mptbm_list_details ._min_150_mL_xs {
        overflow-x: auto;
        overflow-y: hidden;
    }
}

/* For very small screens, keep it readable */
@media only screen and (max-width: 480px) {
    .mptbm_list_details h4 {
        font-size: 18px !important;
    }
}

/* Hide fields that are disabled but need to be hidden */
.mptbm-hidden-field {
    display: none !important;
}

/* Buffer time notice styling */
.mptbm_buffer_notice {
    background-color: #f8f9fa;
    border-left: 3px solid #007cba;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 12px;
    color: #495057;
    line-height: 1.4;
}

.mptbm_buffer_notice i {
    color: #007cba;
    margin-right: 5px;
}

.mptbm_buffer_notice:hover {
    background-color: #e9ecef;
    transition: background-color 0.2s ease;
}

/* Mobile responsive buffer notice */
@media only screen and (max-width: 768px) {
    .mptbm_buffer_notice {
        font-size: 11px;
        padding: 6px 10px;
    }
}

.woocommerce-page form .form-row .select2-container .select2-selection--single .select2-selection__rendered
 {
     padding: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: 3px  !important;
    margin-top: 8px  !important;
}

.woocommerce-input-wrapper .select2-container--default .select2-selection--single {
    background-color: #fff;
    /* border: 1px solid #aaa; */
    border-radius: 4px;
    height: 46px;
    padding: 0;
}

/* Override for small screens */
@media only screen and (max-width: 450px) {
    .mpStyle .justifyBetween {
        display: block !important;
        /* justify-content: space-between; */ /* Not needed for block */
    }
     ._dLayout.mptbm_distance_time {
        margin-top: 20px !important;
    }
}

/* Booking Success Message Styles */
.mptbm-booking-success {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mptbm-booking-success .success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.mptbm-booking-success h3 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 24px;
}

.mptbm-booking-success p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 16px;
}

.mptbm-booking-success .booking-details {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    margin: 20px 0;
    text-align: left;
}

.mptbm-booking-success .booking-details p {
    margin: 8px 0;
    color: #495057;
}

.mptbm-booking-success .new-booking-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.mptbm-booking-success .new-booking-btn:hover {
    background: #005a87;
}

/* Responsive design */
@media (max-width: 768px) {
    .mptbm-booking-success {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    .mptbm-booking-success h3 {
        font-size: 20px;
    }
    
    .mptbm-booking-success .booking-details {
        padding: 15px;
    }
    
    .mptbm-booking-success .new-booking-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}