/* Delivery date face from the live account review step. */
.fo-au-date {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 8.75rem;
  min-height: 2.1rem;
  border: 1px solid hsl(var(--money-line, 32 18% 86%));
  background: hsl(40 36% 96.3%);
  padding: 0.25rem 0.55rem;
}

.fo-au-date__face {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}

.fo-au-date__text {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.fo-au-date__icon {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  opacity: 0.7;
}

.fo-au-date input[type="date"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.01;
  cursor: pointer;
  color: transparent;
  caret-color: transparent;
  background: transparent;
}

.fo-au-date input[type="date"]::-webkit-datetime-edit,
.fo-au-date input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.fo-au-date input[type="date"]::-webkit-datetime-edit-text,
.fo-au-date input[type="date"]::-webkit-datetime-edit-month-field,
.fo-au-date input[type="date"]::-webkit-datetime-edit-day-field,
.fo-au-date input[type="date"]::-webkit-datetime-edit-year-field,
.fo-au-date input[type="date"]::-webkit-inner-spin-button,
.fo-au-date input[type="date"]::-webkit-calendar-picker-indicator {
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0;
}

.fo-au-date:focus-within {
  outline: 2px solid hsl(var(--money-accent, 8.9 100% 59%));
  outline-offset: 2px;
}

.fo-au-date input[type="date"]:focus,
.fo-au-date input[type="date"]:focus-visible {
  outline: none;
}

.fo-au-date:has(input:disabled) {
  opacity: 0.88;
}

.fo-au-date input:disabled {
  cursor: default;
}
