.flex {
    display: flex;
}
.space-between {
    justify-content: space-between;
}
.align-items {
    align-items: center;
}
.c-label {
    color: #17171a !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    font-size: 16px !important;
}
.border-none { border: none !important; }
.p-0 { padding: 0 !important; }
.m-0 { margin: 0 !important; }

.pt-0 { padding-top: 0 !important; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-5 { margin-bottom: 5px; }

.link-btn {
    border: none;
    padding: 0;
    height: auto;
    background: none;
    color: #17171a;
    font-size: 13px;
}
.link-btn:hover {
    border: none;
    background: none;
    color: #17171a;
}


html body .chbs-main .ride-booking-tab ul.chbs-ui-tabs-nav {
    background: #f2f3f5;
    padding: 5px !important;
    border-radius: 1rem;
}
.chbs-main .ride-booking-tab .chbs-ui-tabs-panel {
    border: none;
}
.chbs-main .ride-booking-tab .chbs-ui-tabs-nav>li.active>a {
    background: #fff;
    color: #000;
    font-weight: 600;
    text-transform: capitalize;
    padding: 4px 10px;
    border-radius: .5rem;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.chbs-main .ride-booking-tab .chbs-ui-tabs-nav>li>a {
    color: #46464d;
    font-weight: 500;
    text-transform: capitalize;
    padding: 4px 10px;
    border: none;
}

/* Simple Plus Minus Control */
.quantity-control {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    gap: 10px;
}
.qty-btn {
    width: 40px;
    height: 40px;
    /* background: var(--primary-color); */
    background: #f2f3f5;
    color: #17171a;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    border-radius: 100px;
    padding: 0;
    margin: 0;
    text-align: center;
}
.qty-btn:hover {
    background: var(--primary-color);
}
.qty-input {
    width: 60px !important;
    height: 25px !important;
    border: none !important;
    text-align: center;
    font-size: 16px !important;
    padding: 0 !important;
    min-height: 44px !important;
    display: flex !important;
    justify-content: center;
}
.qty-input:focus {
    outline: none;
}
.qty-btn:disabled {
    opacity: 0.6;
    background: #f2f3f5;
}

/* Routes */
/* Floating Label Styles */
.route-input-wrapper {
    position: relative;
}

.floating-label-wrapper, .floating-label-container {
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
    flex-grow: 1;
}

.floating-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #17171a;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease;
    padding: 0 5px;
    line-height: 1;
}

.route-field {
    width: 100%;
    padding: 20px 42px 8px 12px !important;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.route-field:focus {
    outline: none;
    border-color: #17171a;
}

/* Label animation states */
.route-field:focus + .floating-label,
.route-field:not(:placeholder-shown) + .floating-label {
    top: 10px;
    transform: translateY(0);
    font-size: 11px;
    color: #46464d;
}

.route-field:focus + .floating-label {
    color: #17171a;
}

.drag-handle {
    cursor: grab;
    font-size: 20px;
    margin-left: 10px;
    color: #777;
    flex-shrink: 0;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}
.route-item .remove-stop {
    background: #f2f3f5;
    height: 50px;
    width: 50px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600 !important;
    font-size: 23px;
    cursor: pointer;
}
body .route-item input[type=search], 
body .route-item input[type=date], 
body .route-item input[type=text], 
body .route-item input[type=number], 
body .route-item input[type=email], 
body .route-item input[type=url], 
body .route-item input[type=password], 
body .route-item input[type=tel], 
body .route-item .wp-block-search__input, 
body .route-item select, 
body .route-item textarea {
    background: #f2f3f5;
}

/* Floating Label Inputs */
.c-floating-label-container {
  position: relative;
}
.c-floating-input {
  width: 100%;
  padding: 23px 42px 8px 12px !important;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: none;
  outline: none;
}
.c-floating-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #17171a !important;
    pointer-events: none;
    transition: 0.2s ease all;
    font-size: 14px !important;
    background: none !important;
    text-align: left;
    z-index: 999;
}
.c-floating-input:focus + .c-floating-label, .c-floating-input.has-value + .c-floating-label {
    top: 13px;
    left: 10px;
    font-size: 12px;
    color: #46464d;
    background: white;
    padding: 0 4px;
    font-size: 10px !important;
}

/* Meet and Great Options */
.extra-options-card {
  background: var(--grey-color);;
  border-radius: 18px;
  padding: 24px;
  max-width: 800px;
  font-family: Arial, sans-serif;
}
.extra-options-card .option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}
.extra-options-card .option-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.extra-options-card .option-icon {
  font-size: 19px;
}
.extra-options-card .option-title {
    font-size: 17px;
    font-weight: 600 !important;
}
.extra-options-card .option-price {
  font-size: 18px;
  color: #17171a;
}
.extra-options-card hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 7px 0 !important;
}
.extra-options-card .qty-btn {
    background: var(--primary-color);
    color: #fff;
}
/* Child seat section */
.extra-options-card .child-seat-options {
  padding-left: 36px;
  margin-top: 10px;
}
.extra-options-card .seat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.extra-options-card .seat-label {
  font-size: 14px;
  font-weight: 600 !important;
}
.extra-options-card .qty-input {
    background: #fff !important;
}

/* Toggle switch */
.switch {
  position: relative;
  width: 56px;
  height: 30px;
  display: inline-block;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

/* ON state */
.switch input:checked + .slider,
.switch.chbs-state-selected .slider {
  background: var(--primary-color);
}

.switch input:checked + .slider::before,
.switch.chbs-state-selected .slider::before {
  transform: translateX(26px);
}
































.stops-container {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.stops-list {
    min-height: 50px;
}

.stop-item {
    position: relative;
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    cursor: move;
    transition: all 0.3s ease;
}

.stop-item:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stop-item.ui-sortable-helper {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: scale(1.02);
}

.stop-item.ui-sortable-placeholder {
    background: #e0e0e0;
    border: 2px dashed #ccc;
    visibility: visible !important;
}

.stop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.stop-number {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
}

.remove-stop {
    background: #f2f3f5;
    height: 50px;
    width: 50px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600 !important;
    font-size: 23px;
    cursor: pointer;
    color: #17171a;
    border: none;
    margin-left: 14px;
}

.remove-stop:hover {
    background: #ebecec;
    color: #17171a !important;
}

.handle {
    cursor: move;
    color: #666;
    margin-right: 10px;
}

.handle:hover {
    color: var(--primary-color);
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.link-btn:hover {
    text-decoration: underline;
}



.handle-draggable {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 83px;
    font-size: 20px;
    margin-top: -2px;
}
.stop-field-item:first-child .handle-draggable, .stop-field-item:last-child .handle-draggable {
    margin-right: 22px;
}
.stop-address, .pickup-address, .dropoff-address {
    padding-right: 54px !important;
}

.c-booking-buttons {
    display: flex;
    border-bottom: 2px solid var(--primary-color);
}
.c-booking-buttons .c-button {
    flex: 1;
    padding: 21px !important;
    display: block;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    border-style: solid;
    text-transform: uppercase;
    border-width: 1px 1px 0px 1px;
    border-color: var(--grey-color);
    transition: all 0.5s ease;
    text-decoration: none;
    border-radius: 0 !important;
    background-color: #fff;
    color: var(--primary-color);
}
.c-booking-buttons .c-button.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white-color);
}
