/* ==========================================================================
   Страница «Документы»
   ========================================================================== */

button.link-list__item {
  width: 100%;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

body.documents-popup-open {
  overflow: hidden;
}

.documents-popup[hidden] {
  display: none;
}

.documents-popup:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.documents-popup {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay, 1200);
}

.documents-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 50, 116, 0.55);
}

.documents-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 32px 56px 32px 32px;
  border-radius: var(--radius-m, 12px);
  background: var(--color-white, #ffffff);
}

.documents-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-primary, #003274);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.documents-popup__message {
  margin: 0;
  font-family: var(--font, "Rosatom", sans-serif);
  font-size: var(--fs-h4, 22px);
  font-weight: var(--fw-h4, 600);
  line-height: 130%;
  color: var(--color-primary, #003274);
}

@media (max-width: 960px) {
  .documents-popup__dialog {
    padding: 24px 48px 24px 24px;
  }

  .documents-popup__message {
    font-size: var(--fs-body, 18px);
  }
}
