/* Heroicons calendar-days, MIT license: https://heroicons.com/ */
.calendar-trigger-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.data-range-trigger .calendar-trigger-icon,
.business-week-range-control .calendar-trigger-icon {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #366aab;
}

.nav-icon .calendar-trigger-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* The native picker remains clickable; the input paints the shared glyph. */
@supports selector(input::-webkit-calendar-picker-indicator) {
  input[type="date"],
  input[type="month"],
  input[type="datetime-local"] {
    padding-right: 30px;
    background-image: url("heroicon-calendar-days.svg?v=20261027-1");
    background-position: right 8px center;
    background-size: 16px 16px;
    background-repeat: no-repeat;
  }

  input[type="date"]::-webkit-calendar-picker-indicator,
  input[type="month"]::-webkit-calendar-picker-indicator,
  input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
  }
}
