// Комплексные поля: core-field-organization, -license, -address, -identification-doc, -requisite

.complex-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: var(--COMPLEX-FIELD-RADIUS, 4px);
  min-height: var(--COMPLEX-FIELD-MIN-HEIGHT, 100px);
  height: 100%;
  position: relative;
  width: 100%;
  margin: 0 auto;
  border: var(--COMPLEX-FIELD-BORDER-WIDTH, 1.8px) solid var(--COMPLEX-FIELD-BORDER-COLOR, var(--GRAY));
  background: var(--COMPLEX-FIELD-BG, linear-gradient(160deg, #e2e2e2 -165.42%, var(--WHITE) 78.95%));

  button {
    width: var(--COMPLEX-FIELD-ACTION-WIDTH, 150px);
    border: none;
    background: none;
    height: var(--COMPLEX-FIELD-ACTION-HEIGHT, 70px);
    cursor: pointer;
    border-left: var(--COMPLEX-FIELD-ACTION-BORDER-LEFT, 1px solid var(--GRAY));
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.complex-field .sln-complex-field__title {
  font-family: var(--font-bold);
  margin: 0;
  font-size: var(--COMPLEX-FIELD-TITLE-FONT-SIZE, 13px);
  margin-bottom: var(--COMPLEX-FIELD-TITLE-MARGIN-BOTTOM, 5px);
  letter-spacing: var(--COMPLEX-FIELD-TITLE-LETTER-SPACING, 0.01em);
  text-transform: var(--COMPLEX-FIELD-TITLE-TRANSFORM, uppercase);
  color: var(--COMPLEX-FIELD-TITLE-COLOR, var(--MIDLE-GRAY));
}

.complex-field h6.required::after {
  color: var(--DANGER);
  content: ' *';
}

.complex-field h2 {
  margin: 0;
  font-weight: var(--COMPLEX-FIELD-VALUE-FONT-WEIGHT, 500);
  font-family: var(--font-medium);
  color: var(--COMPLEX-FIELD-VALUE-COLOR, var(--MIDLE-GRAY));
  font-size: var(--COMPLEX-FIELD-VALUE-FONT-SIZE, 18px);

  .sln-complex-field-copy {
    width: var(--COMPLEX-FIELD-VALUE-WIDTH, 86%);
    display: block;
  }

  span {
    display: block;
  }
}

.complex-field-info,
.complex-field-info-readony {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--COMPLEX-FIELD-INFO-PADDING-Y, 20px) var(--COMPLEX-FIELD-INFO-PADDING-X, 30px);
  width: var(--COMPLEX-FIELD-INFO-WIDTH, 80%);
  margin-bottom: -2px !important;
  position: relative;
}

.complex-field-info::after,
.complex-field-info-readony::after {
  content: '';
  width: var(--COMPLEX-FIELD-DIVIDER-WIDTH, 0);
  height: var(--COMPLEX-FIELD-DIVIDER-HEIGHT, 0);
  right: var(--COMPLEX-FIELD-DIVIDER-RIGHT, auto);
  position: absolute;
  // background: var(--COMPLEX-FIELD-DIVIDER-COLOR, var(--LIGHT-GRAY));
}
