/* Destination dropdown + calendar (pickers.js). Panels are appended to <body>. */

.pk-panel {
  position: absolute;
  z-index: 2100;
  background: #fff;
  border: 1px solid #e2ebf7;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(12, 45, 94, 0.22), 0 4px 12px rgba(12, 45, 94, 0.08);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #0f1f38;
  animation: pk-in 0.18s ease;
}
.pk-panel[hidden] { display: none; }
@keyframes pk-in { from { opacity: 0; transform: translateY(-6px); } }

/* Field gets a focus ring while its panel is open. */
.pk-focus { box-shadow: inset 0 0 0 2px rgba(30, 95, 184, 0.35); border-radius: 14px; }

/* ---------- Dropdown ---------- */
.pk-suggest { max-height: 420px; overflow-y: auto; padding: 8px; }
.pk-group { padding: 10px 12px 6px; color: #6b7a92; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pk-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pk-opt:hover,
.pk-opt.is-active { background: #f2f7ff; }
.pk-opt-ico {
  display: inline-flex;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eaf3ff;
  color: #1e5fb8;
}
.pk-opt.is-active .pk-opt-ico { background: #1e5fb8; color: #fff; }
.pk-opt-ico svg { width: 19px; height: 19px; }
.pk-opt-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pk-opt-text b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-opt-text b mark { padding: 0; background: none; color: #f26a1b; }
.pk-opt-text small { color: #6b7a92; font-size: 12.5px; }
.pk-opt-badge { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: #fff3ea; color: #d9560c; font-size: 12px; font-weight: 700; }
.pk-empty { padding: 18px 14px; color: #6b7a92; font-size: 14px; }

/* ---------- Date display buttons (replace the native date input) ---------- */
.pk-date-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f1f38;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.pk-date-btn.is-empty { color: #9aa8bd; font-weight: 500; }
.pk-date-btn.is-open { color: #1e5fb8; }

/* Inside the boxed forms (enquiry cards), look like the other inputs. */
.tl-form .pk-date-btn {
  padding: 12px 14px;
  border: 1.5px solid #e2ebf7;
  border-radius: 12px;
  background: #f5f9ff;
  font-size: 15px;
}
.hi-form .pk-date-btn { padding: 10px 12px; font-size: 14px; }
.tl-form .pk-date-btn.is-open { border-color: #1e5fb8; background: #fff; box-shadow: 0 0 0 4px rgba(30, 95, 184, 0.12); }
.hx-field .pk-date-btn {
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d6e2f3;
  border-radius: 10px;
  background: #fff;
}

/* ---------- Calendar ---------- */
.pk-cal { padding: 18px 20px 14px; }
.pk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pk-cal-hint { color: #6b7a92; font-size: 13px; font-weight: 600; }
.pk-nav {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2ebf7;
  border-radius: 50%;
  background: #fff;
  color: #0f1f38;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pk-nav:hover:not(:disabled) { border-color: #1e5fb8; background: #1e5fb8; color: #fff; }
.pk-nav:disabled { opacity: 0.35; cursor: default; }
.pk-nav svg { width: 17px; height: 17px; }

.pk-months { display: flex; gap: 28px; }
.pk-month { width: 280px; }
.pk-month-title { margin: -30px 0 12px; text-align: center; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; pointer-events: none; }
.pk-months .pk-month + .pk-month .pk-month-title { margin-top: -30px; }
.pk-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.pk-dow { padding: 6px 0; color: #9aa8bd; font-size: 11.5px; font-weight: 700; text-align: center; }
.pk-day {
  position: relative;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f1f38;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  z-index: 0;
}
.pk-day::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 12px;
  transition: background 0.12s ease;
}
.pk-day:hover:not(:disabled)::before { background: #eaf3ff; }
.pk-day.is-today { color: #f26a1b; }
.pk-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #f26a1b; }
.pk-day.is-off { color: #c9d3e2; cursor: default; text-decoration: line-through; text-decoration-color: rgba(201, 211, 226, 0.6); }
.pk-day.is-in { background: #eaf3ff; color: #123f80; }
.pk-day.is-start,
.pk-day.is-end { color: #fff; }
.pk-day.is-start::before,
.pk-day.is-end::before { background: linear-gradient(135deg, #1e5fb8, #3b9cf0) !important; box-shadow: 0 6px 14px rgba(30, 95, 184, 0.35); }
.pk-day.is-start.has-range { background: linear-gradient(90deg, transparent 50%, #eaf3ff 50%); }
.pk-day.is-end:not(.is-start) { background: linear-gradient(90deg, #eaf3ff 50%, transparent 50%); }
.pk-day.is-preview::before { background: rgba(30, 95, 184, 0.55) !important; box-shadow: none; }
.pk-day.is-today.is-start::after,
.pk-day.is-today.is-end::after { background: #fff; }

.pk-cal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2ebf7;
  font-size: 13.5px;
  color: #3a4a63;
}
.pk-cal-foot b { color: #0f1f38; }
.pk-cal-foot i { color: #9aa8bd; font-style: normal; }
.pk-cal-foot > div { display: flex; gap: 8px; }
.pk-clear,
.pk-done {
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.pk-clear { background: transparent; color: #6b7a92; }
.pk-clear:hover { color: #0f1f38; background: #f2f7ff; }
.pk-done { background: linear-gradient(135deg, #ff8a3d, #f26a1b); color: #fff; }

/* ---------- Phones: bottom sheet ---------- */
.pk-panel.pk-sheet {
  position: fixed;
  left: 0 !important;
  right: 0;
  bottom: 0;
  top: auto !important;
  width: auto !important;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  animation: pk-up 0.22s ease;
}
@keyframes pk-up { from { transform: translateY(40px); opacity: 0; } }
.pk-sheet .pk-month { width: 100%; }
