@media (max-width: 479px) {
  #dc-session { padding: 0 !important; }
  #dc-tabs .nav>li>a>i { display: none; }
  #dc-tabs .nav-item:last-child i { display: inline-block; }
  #ticket.ticket { padding: 10px; }
  #ticket .ticket-body, #ticket .ticket-body .col-12, #overal-block .col-12 { padding: 0; }
  #overal-block.overal { padding: 20px 5px; }
}

@media (min-width: 480px) {
  #ticket.ticket { padding: 20px; }
  #ticket .ticket-body, #ticket .ticket-body .col-12 { padding: 10px; }
  #overal-block.overal { padding: 20px; }
}

@media (min-width: 768px) { .hidden-mobile { display: inline; } }
@media (max-width: 767px) { .hidden-mobile { display: none; } }

#dc-tabs .nav-tabs {
  display: flex;
  border-bottom: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

#dc-tabs .nav-item { margin: 0 !important; }

#dc-tabs .nav-link {
  display: block;
  padding: 12px 15px;
  color: #495057;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ccc;
  border-bottom-color: #cccccc4f;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
  background: #fff;
  font: bold .8em normal;
  font-family: sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/*#dc-tabs .nav-link#tourzzzzzz { padding: 12px 6px 12px 10px; }
#dc-tabs .nav-link#tourzzzzzz.active { background: #ffc107; border-color: #ffc107; color: #fff; padding: 12px 6px 12px 10px; }
*/

#dc-tabs .nav-link i { font-size: 1.2rem; }
#dc-tabs .fa-icon { margin-right: 1px; }
#dc-tabs .nav>li>a>i { padding-right: 5px !important; }

#distance-calculator-form {
  margin: 0 auto 20px;
  padding: 20px;
  border-radius: 0 5px 5px;
  transition: background-color 0.3s ease;
  background: linear-gradient(#fff, #f8eedb);
  line-height: 24px;
  outline: 2px solid transparent;
  text-transform: none;
  box-shadow: -6px 8px 10px rgba(81,41,10,0.1), 0 2px 2px rgba(81,41,10,0.2);
}

#distance-calculator-form input:disabled, #distance-calculator-form select:disabled {
  background-color: transparent;  /* Thay đổi nền của input */
  border: none;                   /* Loại bỏ viền */
  color: #333;                    /* Màu chữ */
  font-style: italic;             /* Kiểu chữ */
  cursor: not-allowed;            /* Thay đổi con trỏ khi hover */
  padding: 8px 12px;              /* Thêm khoảng cách bên trong */
  font-size: 16px;                /* Kích thước chữ */
  box-shadow: none;               /* Loại bỏ bóng đổ */
}


#distance-calculator-form .form-group label { font-weight: bold; color: #666; }
.form-group .input-group { position: relative; }
.form-group .input-group i.fa-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #aaa; z-index: 10; }
.form-group .input-group .location-icon, .form-group .input-group .convert-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #9e9e9e;
  z-index: 999;
}

input.form-control, select.form-control, textarea.form-control {
  padding: 0 32px !important;
  border-radius: .25rem !important;
}

.ui-menu-item-wrapper:before {
  content: "\f3c5";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: #f44336;
}

.ui-menu-item-wrapper:hover:before { color: #2196f3; }
.ui-menu-item-wrapper:hover { color: #f44336; }

#distance-calculator-form .form-group a.show-map {
  float: right;
  background: #0683c0;
  color: #fff;
  border: 1px solid #0683c0;
  padding: 1px 5px;
  font-size: small;
  border-radius: 5px;
  text-decoration: none;
}

#distance-calculator-form .form-group a.show-map:hover {
  background: #fff;
  color: #0738ff;
  border-color: #0738ff;
}

input.form-control#trip-time { padding: 0 0 0 32px !important; }

#distance-result { margin-top: 0; }
#distance-result>p {
  color: #ff0000;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ff0000;
  border-radius: 5px;
  text-align: center;
}

#map { margin-top: 20px; }

#booking-form .form-group .form-check input[type=checkbox], #booking-form .form-group .form-check input[type=radio] { transform: scale(1.5); }
#booking-form .form-check-label { margin-bottom: 0; font-size: 15px; padding-left: 25px; }
#booking-form .form-group>label { font-weight: bold; font-size: 16px; }

#loading-overlay {
  display: none;
  position: fixed;
  z-index: 99999999999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
}

#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 20px;
  text-align: center;
}

#loading img { max-width: 100px; }
#loading .loading-text { display: block; margin-top: 10px; }

.flatpickr-calendar { display: flex; flex-direction: column; }
.flatpickr-calendar .flatpickr-months { order: 1; }
.flatpickr-calendar .flatpickr-innerContainer, .flatpickr-calendar .flatpickr-time { order: 2; }
.flatpickr-time.time24hr .numInputWrapper { background: #cddc39; }

.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  z-index: 1000;
}

.ui-menu-item {
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  color: #333;
  font-size: small;
}

.ui-menu-item:hover { background: #f0f0f0; color: #000; }
.ui-menu-item.ui-state-focus { background: #007bff; color: #fff; }
.ui-menu-item .highlight { background: #ff0; font-weight: bold; }

.error-message { color: red; font-size: 14px; margin-top: 5px; }

.map-container { position: relative; z-index: 1000; }
#pickup-map-container, #dropoff-map-container { position: relative; margin-bottom: 1rem; }

#confirm-pickup, #confirm-dropoff {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1001;
  border-radius: 5px;
  padding: 4px 8px;
  border: 1px dashed #000;
}

#confirm-pickup { background: #18ff00; color: #000; }
#confirm-dropoff { background: #0037ff; color: #fff; }

#confirm-pickup::before, #confirm-dropoff::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5rem;
}

.show-map::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f3c5";
  margin-right: 5px;
}

#ticket.ticket, #overal-block.overal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 100%;
  font-size: 14px;
  margin-bottom: 20px;
}

#ticket .ticket-header, #overal-block .overal-header { text-align: center; margin-bottom: 20px; }
#ticket .ticket-header h1, #overal-block .overal-header h1 { font-size: 20px; color: #333; }
#ticket .ticket-body, #overal-block .overal-body { border-top: 1px dashed #ccc; }
#ticket .ticket-body { font-size: medium; }
#ticket .ticket-info, #overal-block .overal-info { margin-bottom: 10px; }
#ticket .info-label, #overal-block .info-label { font-weight: bold; color: #666; }
#ticket .info-label i, #overal-block .info-label i { padding-right: 10px; }
#ticket .info-value, #overal-block .info-value { color: #333; padding-left: 20px; }
#ticket .ticket-footer, #overal-block .overal-footer { padding: 20px 5px 0; border-top: 1px dashed #ccc; text-align: center; }
#ticket .ticket-footer h1, #overal-block .overal-footer h1 { font-size: 20px; color: #f10; }

#overal-block .input-group i {
  color: #fff;
  width: 35px;
  height: 100%;
  position: absolute;
  left: 0;
  padding: 12px;
  border-radius: 5px 0 0 5px;
  background: #0075ff;
}

#swal2-title, .swal2-title { font-size: 22px !important; }
#swal2-html-container { display: flex !important; }
.swal2-content { border: 3px dashed #ff1100 !important; border-radius: 10px !important; padding: 10px 20px !important; width: fit-content !important; font-size: 30px !important; }
.swal2-confirm { font-size: 15px !important; padding: 8px 16px !important; background: #4caf50 !important; border: 0 !important; }

.rc-anchor-normal .rc-anchor-pt { display: none !important; }
.nav>li>a>i { padding-right: 10px !important; }

#booking-form input, #booking-form textarea { padding: 0 40px !important; width: inherit; box-sizing: border-box; }
#booking-form #overal-block .input-group i { padding: 12px !important; }

.section-content.relative { z-index: 7 !important; }

.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22,22,22,0.75);
  z-index: 9998 !important;
  display: none;
}

.booking-modal {
  display: none;
  position: fixed;
  z-index: 10000 !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fefefe;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  margin: 20px auto;
}

.modal-content > * { max-height: 80vh; overflow-y: auto; }

.booking-modal .close {
  color: #cf0b0b;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 40px;
  z-index: 999;
}

.booking-modal .close:hover, .booking-modal .close:focus { color: #000; text-decoration: none; }

#distance-result .ticket, #booking-modal-content .overal, #payment-modal-content .overal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
}

#booking-modal-content .overal, #payment-modal-content .overal { text-align: center; }
#booking-modal-content .overal-header h1, #payment-modal-content .overal-header h1 { font-size: 1.8em; margin-bottom: 20px; }
#booking-modal-content .overal-body p, #payment-modal-content .overal-body p { margin: 10px 0; }
#booking-modal-content .overal-footer, #payment-modal-content .overal-footer { margin-top: 20px; font-style: italic; }

#back-to-booking { margin-top: 15px; }

.btn-disabled { pointer-events: none; opacity: 0.5; }

.row { margin-right: auto !important; margin-left: auto !important; }
.custom-col { max-width: auto; }
div:where(.swal2-container) { z-index: 999999999999999 !important; }