@import "../../../assets/scss/variables";

.rendered-date-time {

  position: relative;
  height: 4.7rem;
  width:100%;
  font-size: $input-size;
  //max-width: 470px;

  input {
    border: none;
    border-bottom:  0.1rem solid $text-color;
    width: 100%;
    height: 100%;
    background: transparent;
    font-size: $input-size;
    font-weight: $extra-light;
    color: $text-color;
    padding-left: 50px;
    outline: none;
    &:read-only{
      border: none;
      font-weight: 200;
      color: #707070;
    }
  }

  .MuiInputAdornment-root {
    left: 0;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    &.css-1laqsz7-MuiInputAdornment-root{
      margin-left: 0!important;
      button{
        padding-left: 0!important;
      }
    }
    .MuiSvgIcon-root {
      height: 26px;
      width: 26px;

    }
  }

}

.hasError {
  border-color: $error-color;
}