@import '../../../styles/common.scss';

.container {
  input {
    color: var(--input-color, $input-color);
    border: 1px solid var(--input-border-color, $input-border-color);
    padding: 0 12px;
    display: inline-block;
    font-size: var(--label-font-size, $label-font-size);
    outline: none;
    height: 50px;
    padding-right: 50px;
    width: 325px;
    max-width: $date-picker-max-width;

    transition: box-shadow 0.15s ease-in-out 0s;

    &.hasError {
      border: 1px solid
        var(--input-invalid-border-color, $input-invalid-border-color);
    }
  }

  input:hover:enabled,
  input:focus {
    border: 1px solid var(--input-hover-color, $input-hover-color);
    box-shadow: 0 0 0 2px var(--input-hover-color, $input-hover-color);
    transition: box-shadow 0.15s ease-in-out 0s;

    &.hasError {
      border: 1px solid
        var(--input-invalid-border-color, $input-invalid-border-color);
      box-shadow: 0 0 0 2px
        var(--input-invalid-hover-color, $input-invalid-hover-color);
    }
  }

  .button {
    margin-left: -50px;
  }

  .inputbutton {
    display: grid;
    grid-template-columns: min-content min-content;
  }
}

.picker {
  overflow: visible;
  z-index: 99999;
}
