// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC Sucursal en España SL

@use "refactor/common-refactor.scss" as deprecated;

.element-set {
  margin: 0;
}

.title-spacing-svg-attrs {
  padding-left: deprecated.$s-2;
  margin: 0;
}

.element-set-content {
  @include deprecated.flex-column;

  margin: deprecated.$s-4 0 0 0;
}

.attr-content {
  display: flex;
  gap: deprecated.$s-4;
}

.attr-name {
  @include deprecated.body-small-typography;
  @include deprecated.two-line-text-ellipsis;

  width: deprecated.$s-88;
  margin: auto deprecated.$s-4;
  margin-right: 0;
  display: inline-block;
  color: var(--title-foreground-color);
}

.attr-input {
  @extend %input-element;
  @include deprecated.body-small-typography;

  width: deprecated.$s-124;
}

.attr-actions {
  display: flex;
  gap: deprecated.$s-4;
}

.attr-action-btn {
  @extend %button-tertiary;

  width: deprecated.$s-28;
  height: deprecated.$s-32;

  svg {
    @extend %button-icon;
  }
}

.attr-nested-content {
  display: grid;
  row-gap: deprecated.$s-4;
}

.attr-title {
  @include deprecated.body-small-typography;

  font-size: deprecated.$fs-10;
  text-transform: uppercase;
  margin-inline-start: deprecated.$s-4;
  color: var(--color-foreground-primary);
}

.attr-row {
  display: flex;
  gap: deprecated.$s-4;
}
