/* ===== СОПД (чисто) ===== */
.consent-page{ color:var(--brand-gray,#2A2F33); }
.consent-card{ background:#fff; border:1px solid #e8edf3; border-radius:24px; padding:var(--gap-xxl); margin:12px 0 40px; display: flex; flex-direction: column;gap: var(--gap-md);}
.consent-form {    display: flex;flex-direction: column;gap: var(--gap-md);}
/* Заголовок 30px, без подчёркивания */
.heading-accent--plain{ font-size:30px; line-height:1.25; font-weight:700; text-decoration:none; color:var(--accent)}
.heading-accent--plain::after{ content:none !important; }
.consent-sub{ margin:0 0 16px; }

/* Табличная форма — "наименование | value" */
.consent-table{ border-top:1px solid #e6e6e6; }
.consent-row{
  display:grid;
  grid-template-columns: 320px 1fr;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #e6e6e6;
}
.consent-label{
  padding:14px 18px;
  font-weight:600;
  position:relative;
}
.consent-label::after{
  content:"";
  position:absolute; right:0; top:0; bottom:0;
  width:1px; background:#e6e6e6; /* вертикальный разделитель */
}
.consent-field{ padding:10px 18px; }

/* Поля как текст (без рамок/теней) */
.consent-field input[type="text"],
.consent-field input[type="email"],
.consent-field input[type="tel"]{
  width:100%; height:42px;
  border:0; outline:0; background:transparent;
  font-size:16px; color:var(--brand-gray,#2A2F33); padding:0;
}
.consent-field input::placeholder{ color:#9aa8b6; }


/* Юр. текст — без много колонок, обычный поток */
.consent-legal{ column-count:1 !important; -webkit-column-count:1 !important; column-gap:normal !important; }
.consent-legal p{ margin:12px 0; line-height:1.6; }

/* Блок "Перечень обрабатываемых данных" — молекула слева, список справа */
.consent-data-block{
  display:grid; grid-template-columns:1fr 1fr;
  gap:24px; align-items:start; margin: var(--gap-xxl) 0;
}
.consent-molecule{
  width:280px; height:210px; place-self: center;
  background:url("../icons/molecil.svg") center/contain no-repeat;
}
.consent-list{ margin:0; padding-left:18px; display:grid; gap:8px; line-height:1.6; }

/* Чекбокс и кнопка */
.consent-check{ display:flex; gap:10px; align-items:flex-start; margin:16px 0 8px; }
.consent-actions{ margin:var(--gap-xxl);align-self: center; } /* кнопка btn--outline btn_icon приходит из globals */

/* Сообщение об успехе/ошибке */
.consent-result {
  padding: 20px 24px;
  margin: 0 0 24px 0;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  display: none;
  animation: slideIn 0.3s ease-out;
}

.consent-result--ok {
  display: block;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.consent-result--err {
  display: block;
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Документы (стиль как на странице Антикоррупция) */
.anti-docs {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: 0;
  list-style: none;
  max-width: 640px;
}
.anti-doc a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #2A2F33;
  text-decoration: none;
}
.anti-doc a:hover { text-decoration: underline; }

/* Иконки */
.icon {
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}
.icon-pdf { background-image: url("../icons/pdf.svg"); width: 31px; height: 31px; }
.icon-link { background-image: url("../icons/link.svg"); width: 14px; height: 14px; }

/* Адаптив */
@media (max-width:920px){
  /* Убираем карточку на мобильных (как в ЛК) */
  .consent-page {
    background: #fff;
  }
  .consent-card {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
  
  .consent-row{ grid-template-columns:1fr; }
  .consent-label{ padding-bottom:6px; }
  .consent-label::after{ display:none; }
  .consent-field{ padding-top:0; }
  .consent-data-block{ grid-template-columns:1fr; }
  .consent-molecule{ display:none; }
}
