/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */
.field {
  box-sizing: border-box;

  & .field {
    height: 32px;
    padding: 0;
  }
}

.fieldLabel {
  composes: theme-typography--body1 from global;
  box-sizing: border-box;
  overflow: hidden;
  white-space: initial;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fieldDescription {
  composes: theme-typography--caption from global;
  box-sizing: border-box;
  padding-top: 4px;
  min-height: 24px;
}

.valid {
  composes: theme-text-text-hint-on-light from global;
}

.invalid {
  composes: theme-text-negative from global;
}

.input,
.textarea {
  font-size: 12px;

  &.select {
    cursor: pointer;
    user-select: none;
  }
}
