.fieldContainer {
  border: 1px solid #d9d9d9;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  margin: 16px;
  background-color: white;
  position: relative;

  .header {
    padding: 12px 12px 0 12px;
    display: flex;

    &Type {
      font-weight: 600;
      font-size: 12px;
      line-height: 16px;
      letter-spacing: 0.05em;
      color: #858585;
    }
  
    &Drag {
      right: 26px;
      margin-right: 12px;
      height: 16px;
      width: 10px;
      position: absolute;
    }
  
    &Delete {
      right: 0;
      margin-right: 14px;
      height: 16px;
      width: 12px;
      position: absolute;

      svg:hover path { 
        fill:  #DA251C;;
     }
    }
  }
  .defaultField {
    margin: 10px 12px 0 12px;
  }
  .field {
    margin: 10px 12px 0 12px;
    height: 38px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;

    &:hover {
      border: 1px solid #6FB2FF;
      border-radius: 4px;
    }

    &Hint {
      outline: none;
      border: none;
      font-size: 14px;
      margin-left: 10px;
      margin-top: 2px;
      width: 220px;

      &::placeholder {
        color: #858585;
      }
    }
    
    &Icon {
      display: flex;
      padding: 7px;
      
      &ChangeButton {
        margin-left: 5px;
        margin-top: 6px;
        width: 14px;
        height: 14px;
        svg path {
          fill: #595959;
        }

        svg:hover path { 
          fill: #1DA92A;
        }
      }
    }
  }

  .mandatory {
    display: flex;
    margin-top: 16px;

    &Checkbox {
      margin: 0 5px 0 12px;
    }
    svg {
      margin-top: 3px;
    }
  }

  .setEntity {
    margin: 16px 12px 0 12px;
    &:global(-label) {
      color: black !important;
      font-size: 14px;
      font-weight: 500;
      margin-top: -3px;
      padding-right: 4px;
    }
    &:global(-input) {
      height: 36px;
      border-radius: 4px;
      &:global(-input) {
        font-size: 14px;
      }
    }
  }

  .additionalOption {
    margin: 13px;
    &:global(-label) { 
      color: black;
      font-size: 14px;
      font-weight: 500;
    }
    &:global(-textinput) {
      margin: 0px;
      height: 36px;
      border-radius: 4px;
    }
  }

  .advanceOption {
    margin-top: 16px;
    padding: 0 12px;

    &Header {
      padding: 14px 0px;
      font-weight: 500;
      font-size: 16px;
      line-height: 20px;
      color: #000000;
      display: flex;
      &Icon {
        right: 0;
        position: absolute;
      }
    }

    &:global(-body) {
      padding-bottom: 12px;
    }

    .validations {
      .heading {
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        margin-top: 6px;
        margin-bottom: 10px;
        color: #000000;
      }

      .defaultValidation {
        &Radio {
          &:global(-text) {
            color: #333333;
            font-weight: 600;
            font-size: 16px;
            line-height: 22px;
          }
        }

        &List {
          &:global(-options) {
            margin-left: 26px;
            display: block;
          }
          &:global(-option) {
            margin-top: 6px;
            &:global(-text) {
              font-size: 14px;
              line-height: 19px;
              color: #333333;
            }
          }
        }
      }
      .fixedLength {
        &Checkbox {
          margin-left: 26px;
          margin-top: 6px;
          &:global(-text) {
            font-size: 14px;
            line-height: 19px;
            color: #333333;
          }
        }

        &Input {
          margin-left: 14px;
          &:global(-textinput) {
            height: 36px;
            border-radius: 4px;
          }
        }
      }

      .customValidation {
        &Radio {
          margin-top: 14px;
          &:global(-text) {
            color: #333333;
            font-weight: 600;
            font-size: 16px;
            line-height: 22px;
          }
        }

        &Input {
          margin-left: 14px;
          &:global(-textinput) {
            height: 36px;
            border-radius: 4px;
          }
        }
      }

      .numberValidation {
        &Radio {
          margin-top: 8px;
        }

        &Input {
          margin-left: 14px;
          &:global(-input) {
            font-size: 14px;
            line-height: 19px;
            color: #333333;
          }
          &:global(-textinput) {
            height: 36px;
            border-radius: 4px;
          }
        }
      }

      .dateValidation {
        &Checkbox {
          margin-top: 8px;
          &:global(-text) {
            font-size: 14px;
            line-height: 19px;
            color: #333333 !important;
          }
        }

        &Input {
          margin-left: 28px;
          margin-top: 6px;
          &:global(-input) { 
            border: 1px solid #ddd;
            box-sizing: border-box;
            height: 36px;
            border-radius: 4px;
            input {
              font-size: 14px;
            }
          }
          &:global(-label) { 
            color: black;
            font-size: 14px;
            font-weight: 500;
          }
        }
      }

      .errorMessageInput {
        margin-top: 16px;
        margin-bottom: 8px;
        &:global(-label) {
          font-weight: 500;
          font-size: 16px;
          line-height: 20px;
          color: #000000;
        }
        &:global(-textinput) {
          margin: 0;
          border-radius: 4px;
          height: 36px;
        }
        &:global(-input) {
          font-size: 14px;
        }
      }
    }
  }
}