/* =====================================================
   RKN-COMPLIANCE.CSS — соответствие требованиям РКН
   ===================================================== */

/* --- 1. Cookie-баннер --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.35);
  font-size: 13px;
  line-height: 1.5;
  transition: transform .3s ease;
}
#cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: #e8a000; text-decoration: underline; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
#cookie-banner .btn-cookie-accept {
  padding: 9px 22px;
  background: #e8a000;
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
#cookie-banner .btn-cookie-accept:hover { background: #c98000; }
#cookie-banner .btn-cookie-decline {
  padding: 9px 16px;
  background: transparent;
  color: #aaa;
  border: 1px solid #555;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
#cookie-banner .btn-cookie-decline:hover { color: #fff; border-color: #999; }

/* --- 2. Возрастная маркировка в футере --- */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  color: #ccc;
  margin-right: 8px;
}

/* --- 3. Строка реквизитов в футере --- */
.footer-requisites {
  border-top: 1px solid #333;
  padding: 14px 0;
  font-size: 12px;
  color: #777;
  line-height: 1.7;
}
.footer-requisites strong { color: #999; }
.footer-requisites a { color: #777; text-decoration: underline; }
.footer-requisites a:hover { color: #e8a000; }

/* --- 4. Блок согласия в форме --- */
.pdp-consent {
  margin: 12px 0 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}
.pdp-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px !important;
  height: 16px;
  accent-color: #e8a000;
  cursor: pointer;
}
.pdp-consent a { color: #e8a000; text-decoration: underline; }
.pdp-consent label { cursor: pointer; }

/* --- 5. Маркировка рекламы --- */
.ad-marker {
  font-size: 10px;
  color: #aaa;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 1px 5px;
  display: inline-block;
  margin-bottom: 4px;
  vertical-align: middle;
}

/* --- 6. Уведомление об операторе ПДн --- */
.pdp-operator-notice {
  background: #fff8e0;
  border-left: 3px solid #e8a000;
  padding: 12px 16px;
  font-size: 13px;
  color: #555;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
  line-height: 1.6;
}
.pdp-operator-notice a { color: #c98000; text-decoration: underline; }

/* Мобильная адаптация */
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  #cookie-banner .cookie-actions { width: 100%; }
  #cookie-banner .btn-cookie-accept,
  #cookie-banner .btn-cookie-decline { flex: 1; text-align: center; }
  .footer-requisites { font-size: 11px; }
}

/* Реквизиты — отступ под боковое меню на десктопе */
@media (min-width: 992px) {
  .page-wrapper.side-nav .footer-requisites,
  .footer-requisites {
    padding-left: 286px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
  }
  .footer-requisites .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}
@media (max-width: 991px) {
  .footer-requisites {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
