.booking_header_button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  background: #ffffff;
  color: var(--color-text-primary, #333);
  margin-right: 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.booking_header_button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}
.booking_header_button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary, #EDB059);
}
.booking_header_button:hover::before {
  left: 100%;
}
.booking_header_button.active {
  background: linear-gradient(135deg, var(--color-primary, #EDB059) 0%, var(--color-secondary, #d09d50) 100%);
  color: #ffffff !important;
  border-color: var(--color-primary, #EDB059);
  box-shadow: 0 4px 16px rgba(237, 176, 89, 0.3);
}

.locations-control-label {
  color: #477ffa;
}
.locations-control-label.collapsed {
  align-items: flex-start;
}
.locations-control-label.collapsed i {
  transform: rotate(180deg);
}
.locations-control-label:not(.collapsed) {
  align-items: flex-end;
}

.address-inp {
  padding-right: 85px;
}

.add-location, .replace-location, .delete-location, .advance-location, .current-location, .move-location {
  position: absolute;
  right: -15px;
  border: none;
  background-color: transparent;
  font-size: 12px;
  top: 10px;
  color: gray;
  border-radius: 50%;
  width: 20px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  font-family: serif;
  font-weight: 900;
}
.add-location:hover, .replace-location:hover, .delete-location:hover, .advance-location:hover, .current-location:hover, .move-location:hover {
  background-color: #8BC34A;
  color: #fff;
}

.widget .delete-location + .move-location {
  right: -2px;
}

.advance-location {
  right: 35px;
}
.advance-location:hover {
  background-color: transparent;
  color: #bb6baa;
}
.advance-location.has_delete_btn {
  right: 55px;
}

.current-location {
  right: 55px;
}
.current-location svg {
  width: 15px;
  height: 15px;
  fill: gray;
}
.current-location:hover {
  background-color: transparent;
}
.current-location:hover svg {
  fill: #bb6baa;
}
.current-location.has_delete_btn {
  right: 75px;
}

.replace-location {
  top: 38px;
}
.replace-location svg {
  fill: gray;
}
.replace-location:hover {
  background-color: #a15c93;
}
.replace-location:hover svg {
  fill: #fff;
}

.address-locations {
  position: absolute;
  border: 1px solid #E4E6EF;
  padding: 5px 0;
  background-color: #fff;
  top: 40px;
  width: calc(100% - 20px);
  border-radius: 0.42em;
  max-height: 200px;
  overflow-y: scroll;
  z-index: 2;
}
.address-locations .one-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.address-locations .one-address p {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 5px 10px;
}
.address-locations .one-address i {
  color: #9d9d9d;
  font-size: 16px;
  width: 25px;
  text-align: center;
}
.address-locations .one-address:hover {
  background-color: #477ffa;
}
.address-locations .one-address:hover i {
  color: #fff;
}

.full_address {
  border-radius: 0 0 0.42em 0.42em;
  border-top: none;
}

.has_full_address {
  border-radius: 0.42em 0.42em 0 0;
  border-bottom: none;
}

#BookingForm .mx-datepicker {
  width: 100%;
}

.flight-details-btn {
  transform: rotate(-90deg);
  font-size: 18px;
  color: gray;
  cursor: pointer;
}

.flight-details-wrapper-parent {
  min-width: 280px;
}
.flight-details-wrapper-parent .flight-details-wrapper {
  position: absolute;
  min-width: 280px;
  top: 0;
  right: 0;
  border: 1px solid #dadada;
  box-shadow: 0 0 16px 0 rgba(205, 205, 205, 0.5294117647);
  background-color: #fff;
  display: none;
  z-index: 10;
}
.flight-details-wrapper-parent .flight-details-wrapper.show {
  display: block;
}
.flight-details-wrapper-parent .flight-details-wrapper .flight-details-body {
  position: relative;
}
.flight-details-wrapper-parent .flight-details-wrapper .flight-details-body .close-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ababab;
  border-radius: 50%;
  top: -20px;
  right: -10px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 200;
  cursor: pointer;
}
.flight-details-wrapper-parent .flight-details-wrapper .flight-details-body input:not([type=checkbox]), .flight-details-wrapper-parent .flight-details-wrapper .flight-details-body textarea {
  width: 95%;
  display: block;
  padding: 10px;
  border: none;
  margin: 10px auto;
  font-size: 11px;
  border-bottom: 1px solid rgba(171, 171, 171, 0.49);
  resize: none;
}
.flight-details-wrapper-parent .flight-details-wrapper .flight-details-body input:not([type=checkbox]):hover, .flight-details-wrapper-parent .flight-details-wrapper .flight-details-body input:not([type=checkbox]):focus, .flight-details-wrapper-parent .flight-details-wrapper .flight-details-body textarea:hover, .flight-details-wrapper-parent .flight-details-wrapper .flight-details-body textarea:focus {
  border-bottom: 1px solid rgba(171, 171, 171, 0.49);
  outline: none;
}
.flight-details-wrapper-parent .flight-details-wrapper label {
  font-size: 11px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 95%;
  margin: 10px auto;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  color: gray;
}
.flight-details-wrapper-parent .flight-details-wrapper label input[type=checkbox] {
  margin-right: 10px;
  border: 1px solid gray;
}

.passenger-details-wrapper-parent {
  min-width: 280px;
}
.passenger-details-wrapper-parent .passenger-details-wrapper {
  position: absolute;
  min-width: 280px;
  top: 0;
  right: 0;
  border: 1px solid #dadada;
  box-shadow: 0 0 16px 0 rgba(205, 205, 205, 0.5294117647);
  background-color: #fff;
  display: none;
  z-index: 10;
}
.passenger-details-wrapper-parent .passenger-details-wrapper.show {
  display: block;
}
.passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body {
  position: relative;
}
.passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body .close-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ababab;
  border-radius: 50%;
  top: -20px;
  right: -10px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 200;
  cursor: pointer;
}
.passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body input:not([type=checkbox]), .passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body textarea {
  width: 95%;
  display: block;
  padding: 10px;
  border: none;
  margin: 10px auto;
  font-size: 11px;
  border-bottom: 1px solid rgba(171, 171, 171, 0.49);
  resize: none;
}
.passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body input:not([type=checkbox]):hover, .passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body input:not([type=checkbox]):focus, .passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body textarea:hover, .passenger-details-wrapper-parent .passenger-details-wrapper .passenger-details-body textarea:focus {
  border-bottom: 1px solid rgba(171, 171, 171, 0.49);
  outline: none;
}

.add-passenger-btn {
  position: absolute;
  right: -20px;
  bottom: 33px;
  color: gray;
  font-size: 16px;
  cursor: pointer;
}

.select-with-icon {
  position: relative;
  margin: 5px;
  width: 85px;
}
.select-with-icon i {
  position: absolute;
  color: gray;
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}
.select-with-icon select.form-control {
  text-align: center;
  padding: 0;
}

.add-service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 0;
  color: gray;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.add-service-item i {
  color: #477ffa;
}

.add-item-box {
  position: absolute;
  width: 300px;
  top: 0;
  padding: 10px;
  border: 1px solid gray;
  background-color: #fff;
  display: none;
  max-height: 200px;
  overflow-y: scroll;
  z-index: 1;
}
.add-item-box.show {
  display: block;
}
.add-item-box ul {
  list-style: none;
  padding: 0;
}
.add-item-box ul li {
  padding: 10px 5px;
  border-radius: 4px;
  cursor: pointer;
}
.add-item-box ul li:hover {
  background-color: #5897fb;
  color: #fff;
}

.additional-charge-item {
  border: 1px solid #cccccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  max-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 2;
  margin: 5px;
  cursor: pointer;
  padding: 0 !important;
}
.additional-charge-item div {
  padding: 8px 5px;
}
.additional-charge-item i {
  color: gray;
}
.additional-charge-item i:hover {
  color: #ab3535;
}
.additional-charge-item .item-name {
  font-weight: 500;
}
.additional-charge-item .item-info {
  font-size: 0.9em;
  color: #6c757d;
  margin-left: 4px;
}

.quantity-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.quantity-box .form-control {
  width: calc(100% - 80px);
}
.quantity-box i {
  font-size: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dddddd;
  border-radius: 50%;
  margin: 5px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.quantity-box.disabled {
  opacity: 0.6;
  pointer-events: none;
}
.quantity-box .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.select-payment-method-wrapper {
  display: flex;
  padding: 0 5px;
  border-radius: 4px;
  border: 1px solid #dfe1eb;
}
.select-payment-method-wrapper select {
  border: none !important;
}
.select-payment-method-wrapper select:hover, .select-payment-method-wrapper select:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}
.select-payment-method-wrapper input[type=checkbox]:hover, .select-payment-method-wrapper input[type=checkbox]:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.item-with-mini-modal {
  position: relative;
  border: 1px solid #e4e6ef;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 40px;
  border-radius: 0.42em;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 7px 0;
  line-height: 2;
}
.item-with-mini-modal + .mini-modal {
  display: none;
  min-width: 230px;
  border: 1px solid #cccccc;
  border-radius: 7px;
  position: absolute;
  z-index: 1050;
  background-color: #fff;
}
.item-with-mini-modal + .mini-modal textarea, .item-with-mini-modal + .mini-modal input {
  border: none;
}
.item-with-mini-modal + .mini-modal textarea:hover, .item-with-mini-modal + .mini-modal textarea:focus, .item-with-mini-modal + .mini-modal input:hover, .item-with-mini-modal + .mini-modal input:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}
.item-with-mini-modal + .mini-modal .close-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ababab;
  border-radius: 50%;
  top: -10px;
  right: -10px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 200;
  cursor: pointer;
  z-index: 1101;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper {
  position: relative;
  margin-bottom: 15px;
  margin-top: 10px;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper .form-control {
  padding-top: 20px;
  padding-bottom: 8px;
  transition: all 0.2s ease-in-out;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper .form-control:focus {
  padding-top: 20px;
  padding-bottom: 8px;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper .floating-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #6c757d;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
  background-color: transparent;
  z-index: 1;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper .floating-label-active {
  top: 8px;
  transform: translateY(-10px);
  font-size: 12px;
  color: #000000;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper .form-control.has-value + .floating-label,
.item-with-mini-modal + .mini-modal .floating-label-wrapper .form-control.is-focused + .floating-label {
  top: 8px;
  transform: translateY(-10px);
  font-size: 12px;
  color: #000000;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper .form-control.input-light-background + .floating-label {
  background-color: #E3EDFA;
  padding: 0 4px;
}
.item-with-mini-modal + .mini-modal .floating-label-wrapper .form-control.input-light-background.has-value + .floating-label,
.item-with-mini-modal + .mini-modal .floating-label-wrapper .form-control.input-light-background.is-focused + .floating-label {
  background-color: #E3EDFA;
  padding: 0 4px;
}

.c-pointer {
  cursor: pointer;
}

.switcher {
  position: relative;
  width: 0;
  margin: 0 30px;
  cursor: pointer;
}
.switcher:before {
  content: "";
  position: absolute;
  width: 45px;
  height: 25px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  top: -5px;
  left: -23px;
  transition: 0.3s;
  background: rgba(27, 139, 215, 0.1490196078);
}
.switcher:after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  top: -5px;
  left: -23px;
  transition: 0.3s;
  background: #ff7b7b;
}
.switcher:checked::after {
  left: 0;
  background: #6ead6e;
}

.color-item {
  position: relative;
  margin-top: 10px;
}
.color-item input[type=color] {
  position: absolute;
  left: 0;
  border: none;
  background-color: transparent;
  width: 35px;
  height: 35px;
  margin-top: 3px;
}
.color-item input[type=text] {
  padding-left: 35px;
}

.info-tooltip {
  font-size: 18px;
  color: #00c0ef;
}

.market .all-bookings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.market .all-bookings .one-booking {
  border-radius: 7px;
  transition: all 0.3s;
  min-width: 320px;
  max-width: 500px;
  width: 30%;
  margin: 12px;
  padding: 15px;
  border: 1px solid #d1d1d1;
}
.market .all-bookings .one-booking:hover {
  box-shadow: 0 0 5px gray;
  transform: scale(1.05);
}
.market .all-bookings p.b-item {
  border-top: 1px solid #d1d1d1;
  padding-top: 5px;
}
.market .all-bookings p.b-item strong {
  margin-right: 10px;
}

.inline-editable {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.inline-editable .main-content {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  text-wrap: nowrap;
}
.inline-editable .main-content i {
  margin-left: 10px;
  opacity: 0;
}
.inline-editable:hover .main-content > i {
  opacity: 1;
}
.inline-editable .loader {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.inline-editable .loader.show {
  display: flex;
}

.inline-editable-modal {
  border: 1px solid #d4d4d4;
  background-color: #f6f6f6;
  border-radius: 3px;
  padding: 10px;
  min-width: 180px;
}
.inline-editable-modal .buttons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.inline-editable-modal .buttons button {
  padding: 0;
  width: 30px;
  height: 30px;
}

.payment-history-modal .modal-body {
  position: relative;
  overflow-x: auto;
}
.payment-history-modal .modal-body .modal-loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.payment-history-modal .modal-body .modal-loader[style*="display: flex"], .payment-history-modal .modal-body .modal-loader.show {
  display: flex;
}
.payment-history-modal .modal-body .modal-loader .spinner-border {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
}

.booking-transactions-btn {
  margin-top: 1rem;
}

.booking-transactions-panel {
  position: relative;
}
.booking-transactions-panel .modal-loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  color: #1b1b1b;
  z-index: 5;
  justify-content: center;
  align-items: center;
}
.booking-transactions-panel .modal-loader[style*="display: flex"], .booking-transactions-panel .modal-loader.show {
  display: flex;
}
.booking-transactions-panel .modal-loader .spinner-border {
  width: 3rem;
  height: 3rem;
  display: block;
}

.booking-transactions-inline {
  position: relative;
}
.booking-transactions-inline #booking-transactions-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 520px;
  max-width: 640px;
  z-index: 1050;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tracking-history-modal .modal-content {
  min-height: 600px;
}

.booking-actions i {
  width: 20px;
  text-align: center;
}

.dropdown-with-multi-col {
  display: flex;
  flex-wrap: wrap;
  width: 400px;
}
.dropdown-with-multi-col button {
  padding-right: 0;
}
.dropdown-with-multi-col .drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  cursor: grab;
  background-color: #9f9f9f;
  width: 25px;
  height: 25px;
  margin-left: auto;
  margin-right: 8px;
  font-size: 10px;
  border-radius: 6px;
  color: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4705882353);
}

.reload-table {
  position: relative;
}
.reload-table .timer {
  position: absolute;
  top: -9px;
  left: 0;
  font-size: 10px;
  right: 0;
  margin: auto;
}

.input-light-background {
  background-color: #E3EDFA !important;
}

#return_vehicle_id.select2-container--default, #return_vehicle_id.select2-selection--single {
  background-color: #E3EDFA;
}

.custom-popover-for-booking-list {
  min-width: 200px;
}

.custom-modal {
  max-width: 90%;
  width: 90%;
}

.hover-effect {
  color: black;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}
.hover-effect:hover {
  color: dodgerblue;
}

.custom-border {
  border-bottom: 1px #ca9226 solid;
}

.w-45 {
  width: 45%;
}

.card-body > .info-block {
  flex: 0 0 calc(50% - 0.5rem); /* two items per row with gap */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gap-1 {
  gap: 1rem;
}

.el-tabs__nav-scroll {
  background-color: #f7f7f7;
}

.fit-width {
  width: -moz-fit-content;
  width: fit-content;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}
.tooltip-container .tooltip-box {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #333;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 8px;
  z-index: 10;
  border: 1px solid #ccc;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  white-space: normal;
  word-wrap: break-word;
  width: 300px;
  max-width: 300px;
  opacity: 0;
  animation: fadeIn 0.2s forwards;
}
.tooltip-container .tooltip-box::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ccc;
}
.tooltip-container .tooltip-box::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #fff;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.custom-radio {
  display: inline-block;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: transparent;
  transition: background-color 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-radio .checkmark::after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--color-primary, #edb059);
  border-radius: 50%;
  display: none;
}

.custom-radio input:checked ~ .checkmark {
  border-color: var(--color-primary, #edb059);
}

.custom-radio input:checked ~ .checkmark::after {
  display: block;
}

.passenger-details-btn {
  min-height: 42px;
  overflow: hidden;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}
.passenger-details-btn .passenger-name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.passenger-details-btn .icon-group {
  flex-shrink: 0;
}
.passenger-details-btn .icon-group i {
  font-size: 1rem;
  color: #666;
  cursor: pointer;
}

.modal[id^=additional-charge-item-modal] .alert-warning {
  padding: 8px 12px;
  margin-bottom: 10px;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #856404;
  font-size: 0.9em;
}
.modal[id^=additional-charge-item-modal] .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #dee2e6;
}
.modal[id^=additional-charge-item-modal] .modal-footer .btn {
  min-width: 80px;
}
