.DateTimeInput {
  background: transparent;
  border-width: 0;
  color: var(--color-black);
  cursor: pointer;
  display: inline-block;
  font-size: 100%;
  font-weight: normal;
  padding: var(--gap-s) calc(var(--gap-s) * 2 + var(--Icon-size)) var(--gap-s) 0;
  position: relative;
  text-align: left;
  text-decoration: none;
  text-transform: none;

  &::before {
    border-color: var(--Input-borderColor);
    border-style: solid;
    border-width: 0 0 1px;
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
  }

  &::after {
    .Icon;

    bottom: calc(var(--gap-s) + (var(--Text-height) - var(--Icon-size)) / 2);
    color: var(--color-black);
    content: 'date_range';
    pointer-events: none;
    position: absolute;
    right: var(--gap-s);
    top: auto;
  }

  &:hover,
  &:focus {
    color: var(--color-black);
    text-decoration: none;

    &::before {
      border-color: var(--Input-focusColor);
    }

    &::after {
      color: var(--Input-focusColor);
    }
  }

  &.is-empty {
    color: var(--color-gray5);
    font-style: italic;
  }
}
