@import './../index.scss';

.mods-modelinput {
  display: flex;
  width: 100%;
  height: 32px;
  padding: 4px;
  padding-left: 8px;
  font-size: 12px;
  background: $amos-form-item-background;
  border: 1px solid $amos-form-item-border;
  border-radius: 4px;
  outline: none;
  opacity: 1;
  color: $form-label-font-color;
  align-items: center;

  &:hover {
    > i {
      display: inline-block;
    }
  }

  input.mods-modelinput-input.amos-input {
    width: 100%;
    height: 100%;
    padding: 0;
    color: inherit;
    cursor: default;
    border: 0;
    flex: 1;
  }

  > i {
    display: none;
    padding-right: 2px;
    font-size: 12px;
    color: red;
    cursor: pointer;
    transform: scale(0.8);
  }

  .amos-btn.mods-modelinput-btn {
    height: 100%;
    padding: 0 0.8em;
    font-size: 12px;
    color: white;
    text-align: center;
    background-color: #27b3fe;
    border: 1px solid #27b3fe;
    border-radius: 3px;
  }
}
