.lookup-field-config-panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 16px 0 rgba(13, 13, 13, 0.187);
  z-index: 1000;
  width: 460px;

  .lookup-field-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8e8;

    .lookup-field-config-header-left {
      display: flex;
      align-items: center;
      gap: 6px;

      .lookup-field-config-header-icon {
        display: block;
        flex-shrink: 0;
      }
    }

    .lookup-field-config-title {
      font-size: 15px;
      font-weight: 500;
      color: #333;
    }
  }

  .lookup-field-name-section {
    padding: 12px 16px 6px;
  }

  .lookup-field-config-section {
    padding: 12px 16px;

    &:last-of-type {
      padding-bottom: 6px;
    }
  }

  .lookup-field-config-label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
  }

  .lookup-field-sub-label {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
  }

  .lookup-field-reference-box {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 12px;
  }

  .lookup-field-reference-section {
    margin-bottom: 12px;
  }

  .lookup-field-reference-selectors {
    display: flex;
    gap: 6px;
  }

  .lookup-field-config-validation-error {
    color: #f5222d;
    font-size: 12px;
    padding: 0 16px 6px;
  }

  .lookup-field-config-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 16px;
    border-top: 1px solid #e8e8e8;

    .lookup-field-config-footer-left {
      flex: 1;
      margin-right: 8px;
    }

    .lookup-field-config-footer-right {
      display: flex;
      gap: 8px;
      flex-shrink: 0;
    }
  }
}
