.chbk-departure-picker {
  gap: 0.65rem;
}

.chbk-departure-calendar {
  width: 100%;
  max-width: none;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker {
  width: 100%;
  border: 1px solid var(--chbk-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  padding: 0.75rem;
  font-size: 0.95rem;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-inline {
  display: block;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-header {
  position: relative;
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: #f6f9fc;
  color: var(--chbk-text);
  font-weight: 700;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-title {
  margin: 0 2.4rem;
  line-height: 34px;
  text-align: center;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-prev,
.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-next {
  position: absolute;
  top: 3px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-prev {
  left: 3px;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-next {
  right: 3px;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-prev:hover,
.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-next:hover,
.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-prev:focus,
.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-next:focus {
  border: 0;
  background: #e7f0fa;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-prev span,
.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-next span {
  display: none;
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-prev::before,
.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-next::before {
  color: var(--chbk-primary);
  font-size: 20px;
  font-weight: 700;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -52%);
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-prev::before {
  content: "\2039";
}

.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-next::before {
  content: "\203A";
}

.chbk-booking-shell .chbk-departure-calendar table {
  width: 100%;
  margin: 0.65rem 0 0;
  border-collapse: separate;
  border-spacing: 4px;
}

.chbk-booking-shell .chbk-departure-calendar th {
  padding: 0.25rem 0;
  color: var(--chbk-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chbk-booking-shell .chbk-departure-calendar td {
  width: 14.285%;
  padding: 0;
}

.chbk-booking-shell .chbk-departure-calendar .ui-state-default {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--chbk-text-soft);
  text-align: center;
  font-weight: 600;
}

.chbk-booking-shell .chbk-departure-calendar .chbk-departure-date-available .ui-state-default {
  border-color: rgba(31, 111, 178, 0.28);
  background: #eef6ff;
  color: var(--chbk-primary);
}

.chbk-booking-shell .chbk-departure-calendar .chbk-departure-date-available .ui-state-default:hover,
.chbk-booking-shell .chbk-departure-calendar .chbk-departure-date-available .ui-state-default:focus,
.chbk-booking-shell .chbk-departure-calendar .ui-datepicker-current-day .ui-state-default {
  border-color: var(--chbk-primary);
  background: var(--chbk-primary);
  color: #ffffff;
}

.chbk-booking-shell .chbk-departure-calendar .ui-state-disabled .ui-state-default,
.chbk-booking-shell .chbk-departure-calendar .chbk-departure-date-disabled .ui-state-default {
  background: #f5f7fa;
  color: #a4adba;
  opacity: 1;
}

.chbk-departure-times {
  display: grid;
  gap: 0.5rem;
}

.chbk-departure-times:empty {
  display: none;
}

.chbk-departure-times-label {
  color: var(--chbk-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.chbk-departure-time-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chbk-departure-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--chbk-border-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--chbk-text);
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.chbk-departure-time:hover,
.chbk-departure-time:focus-visible,
.chbk-departure-time.is-selected {
  border-color: var(--chbk-primary);
  background: var(--chbk-primary);
  color: #ffffff;
}

@media (max-width: 480px) {
  .chbk-departure-calendar {
    max-width: none;
  }

  .chbk-booking-shell .chbk-departure-calendar .ui-datepicker {
    padding: 0.55rem;
  }

  .chbk-booking-shell .chbk-departure-calendar table {
    border-spacing: 2px;
  }

  .chbk-booking-shell .chbk-departure-calendar .ui-state-default {
    min-height: 34px;
  }
}
