.date-picker-trigger.date-cell {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  background: #fbfcfe;
  color: #52627a;
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.date-picker-trigger.date-cell:hover { border-color: #aebbd0; background: #fff; }
.date-picker-trigger.date-cell:focus-visible,
.date-picker-trigger.date-cell[aria-expanded="true"] { outline: 0; border-color: #6e83ad; background: #fff; box-shadow: 0 0 0 3px rgba(71, 102, 154, .13); }
.date-picker-trigger .date-label { min-width: 0; overflow: hidden; color: inherit; text-overflow: ellipsis; }
.date-picker-trigger .date-icon { flex: 0 0 auto; color: #7183a0; }
.date-picker-trigger.overdue { border-color: #efc7cb; background: #fff8f8; color: #c94e5a; }
.date-picker-trigger.soon { border-color: #efd9b8; background: #fffbf4; color: #b87725; }

.date-time-popover.floating-menu {
  z-index: 90;
  padding: 0;
  overflow: visible;
  border: 1.5px solid #cbd4e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(28, 42, 64, .22), 0 4px 14px rgba(28, 42, 64, .08);
}
.date-time-popover[hidden] { display: none; }
.date-time-popover::before { background: #fff; border-color: #cbd4e1; }
.date-time-picker-shell { position: relative; z-index: 1; overflow: hidden; border-radius: 13px; background: #fff; }
.date-time-picker-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px 13px; border-bottom: 1px solid #e6eaf0; background: #f8fafc; }
.date-time-picker-head > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.date-time-picker-head strong { color: #263852; font-size: 16px; font-weight: 750; }
.date-time-picker-head span { overflow: hidden; color: #7a8799; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.date-time-picker-nav { display: flex; gap: 5px; }
.date-time-picker-nav button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #dce2ea; border-radius: 8px; background: #fff; color: #53657d; }
.date-time-picker-nav button:hover { border-color: #b8c4d5; background: #f3f6fa; }
.date-time-picker-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.date-time-weekdays,
.date-time-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.date-time-weekdays { padding: 12px 13px 5px; }
.date-time-weekdays span { color: #7c8899; font-size: 12px; font-weight: 700; text-align: center; }
.date-time-days { gap: 3px; padding: 3px 13px 12px; }
.date-time-day { display: grid; place-items: center; min-width: 0; height: 34px; border: 1px solid transparent; border-radius: 8px; color: #35465f; background: transparent; font-size: 13px; font-weight: 650; }
.date-time-day:hover { border-color: #d7deea; background: #f2f5f9; }
.date-time-day.outside { color: #a8b1bf; }
.date-time-day.today { border-color: #afbdd2; color: #315b9b; }
.date-time-day.selected { border-color: #426aa8; background: #426aa8; color: #fff; box-shadow: 0 3px 9px rgba(50, 87, 145, .24); }
.date-time-clock { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-top: 1px solid #e7ebf1; border-bottom: 1px solid #e7ebf1; background: #fafbfd; }
.date-time-clock-label { margin-right: auto; color: #4c5d74; font-size: 13px; font-weight: 700; }
.date-time-clock label { position: relative; display: block; }
.date-time-clock label span { position: absolute; top: -7px; right: 7px; padding: 0 3px; background: #fafbfd; color: #8793a5; font-size: 9px; }
.date-time-clock input { width: 58px; height: 38px; padding: 0 8px; border: 1px solid #ccd5e1; border-radius: 8px; outline: none; background: #fff; color: #263852; font-size: 15px; font-variant-numeric: tabular-nums; text-align: center; }
.date-time-clock input:focus { border-color: #6681ae; box-shadow: 0 0 0 3px rgba(71, 102, 154, .13); }
.date-time-clock b { color: #7d8a9d; font-size: 17px; }
.date-time-picker-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px 14px; }
.date-time-picker-foot > div { display: flex; gap: 7px; }
.date-time-picker-foot button { min-height: 34px; padding: 7px 12px; border: 1px solid #d6dde7; border-radius: 8px; font-size: 13px; font-weight: 700; }
.date-time-clear { border-color: transparent !important; color: #66758a; background: transparent; }
.date-time-clear:hover { background: #f1f4f8; }
.date-time-cancel { color: #5e6e84; background: #fff; }
.date-time-cancel:hover { background: #f5f7fa; }
.date-time-confirm { border-color: #315b9b !important; color: #fff; background: #315b9b; }
.date-time-confirm:hover { background: #284d84; }

@media (max-width: 520px) {
  .date-time-picker-head { padding-left: 14px; padding-right: 14px; }
  .date-time-days { padding-left: 10px; padding-right: 10px; }
}
