.date-picker-field { position: relative; }
.date-picker-field > .form-control { padding-right: 2.8rem; }
.date-picker-toggle {
  position: absolute;
  right: .4rem;
  top: 50%;
  transform: translateY(-50%);
  padding: .4rem .6rem;
  border: 0;
  background: transparent;
  color: #607e93;
}
.date-picker-popup {
  box-sizing: border-box;
  position: fixed;
  inset: auto;
  margin: 0;
  width: 324px;
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #c1d8ec;
  border-radius: 16px;
  background: #fff;
  color: #17354a;
  box-shadow: 0 12px 32px #17354a33;
  z-index: 1090;
  font-variant-numeric: tabular-nums;
}
.date-picker-header { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.date-picker-header select, .date-picker-header input {
  min-width: 0;
  height: 36px;
  padding: 4px;
  border: 1px solid #d6e5f1;
  border-radius: 8px;
  background: #f5faff;
  color: #17354a;
  font: inherit;
  font-weight: 600;
}
.date-picker-header select { flex: 1; }
.date-picker-header input { width: 72px; }
.date-picker-popup button { font: inherit; cursor: pointer; }
.date-picker-nav {
  flex: 0 0 30px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: #607e93;
  background: transparent;
}
.date-picker-weekdays, .date-picker-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.date-picker-weekdays { margin-bottom: 8px; text-align: center; color: #70859a; font-size: .8rem; font-weight: 600; }
.date-picker-day {
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #17354a;
}
.date-picker-day.is-weekend { color: #c65360; }
.date-picker-day.is-outside { color: #a2b3c2; }
.date-picker-day.is-today { border-color: #21a4d8; }
.date-picker-nav:hover, .date-picker-day:hover { background: #eaf5ff; }
.date-picker-day[aria-pressed="true"] { background: #0d8dce; color: #fff; border-color: #0d8dce; font-weight: 700; }
.date-picker-popup button:disabled { opacity: .35; cursor: default; }
.date-picker-popup :focus-visible { outline: 2px solid #0d6efd; outline-offset: 2px; }
.date-picker-footer { display: flex; justify-content: space-between; border-top: 1px solid #e4edf5; margin-top: 14px; padding-top: 12px; }
.date-picker-footer button { padding: 6px 10px; border: 0; border-radius: 8px; color: #087eb9; background: #edf8ff; font-weight: 600; }
