.header {
  display: flex;
  justify-content: space-between;
}

.content-body {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;

  width: 450px;
  min-height: 10vh;
  max-height: 50vh;
  margin-bottom: 25px;
}

.field {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 30vh;

  .field-title {
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ds-text-subtlest);
  }

  .field-m2m {
    overflow-y: scroll;
    min-height: 36px;

    &:focus-within {
      border-color: #4c9aff;
    }
  }

  .field-fk.select-model-widget {
    height: 36px;
    padding: 5px;
    border: 1px solid var(--color-gray-eee);
    border-radius: 3px;

    &:focus-within {
      border-color: #4c9aff;
    }
  }
}

div[cmf-dialog-footer] {
  gap: 10px;
}

:host ::ng-deep .field-fk.select-model-widget input.select-model-widget__input {
  width: 100%;
  height: 100%;
  border: unset;

  &:focus {
    outline: none;
  }
}
