.card-bg .tn-atom {
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.card-bg:hover .tn-atom {
  border-color: rgba(127, 224, 220, 0.35) !important;
  background-color: rgba(21, 54, 74, 0.85) !important;
}
.card-bg .tn-atom {
  pointer-events: auto;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.card-text {
  pointer-events: none;
}
.card-text a, .card-text button {
  pointer-events: auto;
}

/* === Форма заявки: тёмная тема === */

/* Базовые стили всех полей */
#rec2242691871 .t-input,
#rec2242691871 .t-input-group textarea,
#rec2242691871 select.t-select,
#rec2242691871 select.t-input {
  background-color: #0e1a26 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #e8eef5 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  height: auto !important;
  min-height: 48px !important;
  transition: border-color .2s ease;
}

#rec2242691871 .t-input::placeholder {
  color: #6b8094 !important;
}

/* Focus всех полей */
#rec2242691871 .t-input:focus,
#rec2242691871 .t-input-group textarea:focus,
#rec2242691871 select.t-select:focus,
#rec2242691871 select.t-input:focus {
  border-color: rgba(127,224,220,0.55) !important;
  outline: none !important;
}

/* Стрелка только у селекта */
#rec2242691871 select.t-select,
#rec2242691871 select.t-input {
  background-image: url("data:image/svg+xml;utf8,") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Кнопка отправки */
#rec2242691871 .t-submit {
  background-color: #7FE0DC !important;
  color: #0b1622 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  transition: background-color .2s ease;
}
#rec2242691871 .t-submit:hover {
  background-color: #5cc9c4 !important;
}

/* Сообщение об ошибке */
#rec2242691871 .t-form__errorbox-wrapper,
#rec2242691871 .t-input-error {
  color: #ff6b6b !important;
}

/* Крестик закрытия попапа — внутри карточки */
#rec2242691871 .t-popup__container {
  position: relative;
}

#rec2242691871 .t-popup__close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 32px !important;
  height: 32px !important;
  z-index: 10 !important;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s ease;
}

#rec2242691871 .t-popup__close:hover {
  opacity: 1;
}

#rec2242691871 .t-popup__close-icon {
  fill: #e8eef5 !important;
}

/* Success-плашка после отправки формы */
.t-form-success-popup,
#tildaformsuccesspopup-new .t-form-success-popup__wrapper {
  background-color: #111e2c !important;
  border: 1px solid rgba(127,224,220,0.35) !important;
  border-radius: 12px !important;
  color: #e8eef5 !important;
  font-family: 'Inter', sans-serif !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
}

.t-form-success-popup__title,
#tildaformsuccesspopup-new .t-form-success-popup__title {
  color: #e8eef5 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}

.t-form-success-popup__text,
#tildaformsuccesspopup-new .t-form-success-popup__text {
  color: #8aa0b4 !important;
  font-family: 'Inter', sans-serif !important;
}

/* Затемнение позади success-плашки — приглушённое */
#tildaformsuccesspopup-new {
  background-color: rgba(11,22,34,0.6) !important;
}
/* Кнопка ОК внутри success-плашки (только submit-кнопка, не крестик) */
.t-form-success-popup__button,
#tildaformsuccesspopup-new .t-submit {
  background-color: #7FE0DC !important;
  color: #0b1622 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  border: none !important;
  transition: background-color .2s ease;
}

.t-form-success-popup__button:hover,
#tildaformsuccesspopup-new .t-submit:hover {
  background-color: #5cc9c4 !important;
}


/* Иконка-галочка: фон-звёздочка в акцентный цвет */
.t-form-success-popup__content-icon-background {
  fill: #7FE0DC !important;
}

/* Крестик закрытия success-плашки */
.t-form-success-popup__close-icon {
  background: transparent !important;
  border: none !important;
  padding: 8px !important;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s ease;
}

.t-form-success-popup__close-icon:hover {
  opacity: 1;
  background: transparent !important;
}

.t-form-success-popup__close-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.t-form-success-popup__close-icon svg path {
  fill: #e8eef5 !important;
  opacity: 1 !important;
}

  /* Контейнер документа: ограничиваем ширину и центрируем */
  .privacy-doc {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    color: #E8EEF5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
  }

  /* Заголовок страницы */
  .privacy-doc h1 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #E8EEF5;
    margin: 0 0 32px;
  }

  /* Заголовки разделов */
  .privacy-doc h2 {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: #E8EEF5;
    margin: 48px 0 16px;
  }

  /* Абзацы */
  .privacy-doc p {
    margin: 0 0 16px;
    color: #E8EEF5;
  }

  /* Списки */
  .privacy-doc ul,
  .privacy-doc ol {
    margin: 0 0 16px;
    padding-left: 24px;
    color: #E8EEF5;
  }

  .privacy-doc li {
    margin: 0 0 8px;
  }

  .privacy-doc li::marker {
    color: #8AA0B4;
  }

  /* Ссылки */
  .privacy-doc a {
    color: #7FE0DC;
    text-decoration: none;
    border-bottom: 1px solid rgba(127, 224, 220, 0.3);
    transition: border-color 0.15s ease;
  }

  .privacy-doc a:hover {
    border-bottom-color: #7FE0DC;
  }

  /* Таблица "Цели обработки" в /privacy */
  .privacy-doc .purpose-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px;
    font-size: 16px;
  }

  .privacy-doc .purpose-table th,
  .privacy-doc .purpose-table td {
    text-align: left;
    vertical-align: top;
    padding: 14px 16px;
    border: 1px solid rgba(138, 160, 180, 0.2);
  }

  .privacy-doc .purpose-table th {
    width: 32%;
    font-weight: 600;
    color: #8AA0B4;
    background: rgba(138, 160, 180, 0.05);
  }

  .privacy-doc .purpose-table td {
    color: #E8EEF5;
  }

  /* Адаптив */
  @media (max-width: 640px) {
    .privacy-doc {
      padding: 24px 16px 56px;
      font-size: 16px;
    }
    .privacy-doc h1 {
      font-size: 32px;
    }
    .privacy-doc h2 {
      font-size: 20px;
      margin: 36px 0 12px;
    }
    .privacy-doc .purpose-table th,
    .privacy-doc .purpose-table td {
      display: block;
      width: 100%;
      border: none;
      padding: 8px 12px;
    }
    .privacy-doc .purpose-table th {
      padding-top: 14px;
    }
    .privacy-doc .purpose-table tr {
      display: block;
      border: 1px solid rgba(138, 160, 180, 0.2);
      margin-bottom: 8px;
    }
  }