.fab-input {
  .input-wrapper {
    position: relative;
    display: table;
    border-collapse: separate;
  }

  &--icon {
    min-width: 40px;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #c4c4c4;
    border-radius: 4px 0 0 4px;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    display: table-cell;

    &:first-child {
      border-right: 0;
    }
  }

  &--input {
    display: block;
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #c4c4c4;
    border-radius: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .08);
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;

    &[disabled], &[readonly] {
      background-color: #eee;
      opacity: 1;
    }
  }

  &--addon {
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #c4c4c4;
    border-radius: 0 4px 4px 0;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    display: table-cell;

    &:last-child, &:not(:first-child) {
      border-left: 0;
    }

  }

  .input-error {
    .fab-input--icon {
      color: #a94442;
      background-color: #f2dede;
      border-color: #a94442;
    }
    .fab-input--input {
      border-color: #a94442;
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
    }
  }
  &--error {
    display: block;
    color: #a94442;
    margin-top: 5px;
    margin-bottom: 10px;
  }
}
