src/components/formRow/formRow.scss
.form-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 15px;
  position: relative;

  @media screen and (max-width: 620px) {
    flex-direction: column;
    align-items: flex-start;
  }

  .help-text {
    color: #666;
    font-style: italic;
    font-size: 12px;
    margin-top: 4px;
    width: 100%;
    
    @media screen and (max-width: 620px) {
      margin-left: 0;
    }
  }

  > label {
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;

    @media screen and (max-width: 620px) {
      width: 100%;
    }

    .premium-star {
      margin-right: 5px;
      margin-top: -3px;
    }
  }

  .field-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;

    > *:not(.help-text) {
      width: 100%;
    }
  }

  .array-form {
    .add-array-item {
      border-radius: 50em;
    }
    
    .array-form-item {
      margin-bottom: 10px;
      position: relative;

      .clear-input {
        top: 50%;
        transform: translateY(-50%);
      }
    }
  }

  .clear-input {
    cursor: pointer;
    position: absolute;
    z-index: 2;
    right: 8px;
    opacity: 0.6;

    @media screen and (max-width: 800px) {
      bottom: 18px;
    }

    &:hover {
      opacity: 0.85;
    }
  }
  
  .field-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;

    input[type=text], 
    select, 
    textarea, 
    input[type=url], 
    input[type=number], 
    input[type=date], 
    input[type=email], 
    input[type=password], 
    input[type=date] {
    width: 100%;
    padding: 9px;
    border: 1px solid rgba(0,0,0,0.1);
    color: #7f848e;
    background-color: #fff;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
    border-radius: 2px;
    transition: all 0.2s ease;
    text-overflow: ellipsis;

    &:disabled {
      background-color: rgba(0,0,0,0.1);
    }

    &.small {
      max-width: 70px;
      text-align: center;
    }

    &::placeholder {
      color: #c5c9d2;
    }

      &::selection {
        background-color: #AAB0BE;
        color: #fff;
      }
      
      &:focus {
        color: #1d1e21;
        box-shadow: 0 0 3px rgba(0,0,0,0.35);
        outline: none;
      }
    }

    textarea {
      height: 120px;
      min-height: 120px;
    }

    input[type=text] {
      padding-right: 25px;
    }

    input[type=date] {
      font-family: 'Open Sans', sans-serif;
    }

    input[type=checkbox] {
      flex: 1;
    }

    .clear-input {
      position: absolute;
      right: 8px;
      top: 50%;
      transform: translateY(-50%);
    }

    .help-text {
      color: #666;
      font-style: italic;
      font-size: 12px;
      margin-top: 2px;
    }

    .field-input {
      position: relative;
    }
  }

  .jsoneditor {
    border-color: rgba(0, 0, 0, 0.1);
    
    .jsoneditor-menu {
      border-color: rgba(0, 0, 0, 0.1);
      background-color: #efefef;

      > button {
        background-color: rgba(0, 0, 0, 0.3);
      }
    }

    .jsoneditor-selected {
      background: #adadad !important;
    }

    .jsoneditor-modes {

      button {
        background: #adadad;
        color: #ebebeb;

        &:hover {
          background: #c1c1c1;
        }
      }
    }

    .jsoneditor-navigation-bar {
      border-bottom-color: rgba(0, 0, 0, 0.03);
      background-color: rgba(0, 0, 0, 0.02);
    }
  }

  .note {
    margin: 0;
    font-size: 14px;
    color: #777;
    background: #f5f5f5;
    border: 1px dashed #ccc;
    padding: 10px;
    border-radius: 3px;
    line-height: 1.5em;
  }
  
  &.column {
    flex-direction: column;
    align-items: flex-start;

    label {
      flex-basis: 0;
      margin: 0 5px 10px;
    }
  }
  .singleChip, .searchBox {
    font-size: 14px;
    font-family: Arial;
    font-weight: 400;
    color: #7f848e;
    margin: 0;
    padding: 4px;
  }
  .optionContainer {
    font-size: 14px;
    font-family: Arial;
    font-weight: 400;
    margin: 0;
    padding: 4px;
  }
}
