/* ==========================================================================
   Инфраструктура Актиона: пейвол id2, плашка cookie
   Цвета/шрифт подогнать под лендинг — переменные ниже.
   ========================================================================== */
:root {
  --aktion_accent: #0B6EFD;
  --aktion_accent_hover: #2F82FF;
  --aktion_ink: #1A1C21;
  --aktion_muted: #4A4E57;
  --aktion_border: #D9E4F5;
  --aktion_font: inherit;
}

.js_auth_modal[hidden],
.js_cookie_notice[hidden] { display: none !important; }

/* Пейвол id2 */
.aktion_modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  background: rgba(18, 19, 24, .72);
  font-family: var(--aktion_font);
}
.aktion_modal_window {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  display: grid;
  gap: 16px;
  padding: 30px 28px 28px;
  border-radius: 20px;
  background: #fff;
  color: var(--aktion_ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
}
.aktion_modal_close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #F1F4F9;
  color: var(--aktion_ink);
  cursor: pointer;
}
.aktion_modal_title {
  padding-right: 48px;
  font-size: 24px;
  line-height: 1.15;
  margin: 0;
  font-weight: 500;
}
.aktion_modal_text {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: var(--aktion_muted);
}
.aktion_btn {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--aktion_accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms, border-color 150ms;
}
.aktion_btn:hover { background: var(--aktion_accent_hover); }
.aktion_btn_ghost {
  border: 1.5px solid var(--aktion_border);
  background: transparent;
  color: var(--aktion_ink);
  font-weight: 600;
}
.aktion_btn_ghost:hover { background: transparent; border-color: var(--aktion_ink); }

/* Плашка cookie */
.cookie_notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 16px;
  background: #fff;
  color: var(--aktion_ink);
  box-shadow: 0 -12px 40px rgba(8, 24, 61, .18);
  font-family: var(--aktion_font);
}
.cookie_notice_inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie_notice_text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--aktion_muted);
}
.cookie_notice_link { color: var(--aktion_ink); text-decoration: underline; }
.cookie_notice_link:hover { color: var(--aktion_accent); }
.cookie_notice_btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--aktion_accent);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms;
}
.cookie_notice_btn:hover { background: var(--aktion_accent_hover); }

@media (max-width: 767.98px) {
  .cookie_notice_inner { flex-direction: column; align-items: stretch; gap: 12px; }
}
