/* ═══════════════════════════════════════════════════════════
   Cookie Consent Banner & Actions (152-ФЗ / GDPR Compliant)
   ═══════════════════════════════════════════════════════════ */
.pd-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background: rgba(10, 14, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(195, 215, 245, 0.16);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #b0bdd0;
  line-height: 1.55;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.55);
  transform: translateY(100%);
  animation: pdSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pd-consent-banner.hidden {
  display: none !important;
}

@keyframes pdSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.pd-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
}

.pd-consent-text {
  max-width: 780px;
  flex: 1 1 auto;
  font-size: 13px;
  color: #c5d2e5;
}

.pd-consent-text a {
  color: #57e5d0;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.pd-consent-text a:hover {
  color: #ffffff;
}

.pd-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pd-consent-btn {
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
  outline: none;
  font-family: inherit;
}

.pd-consent-btn-accept {
  background: linear-gradient(135deg, #57e5d0 0%, #82aaff 100%);
  color: #0a0e16;
  font-weight: 700;
}

.pd-consent-btn-accept:hover {
  transform: scale(1.03);
  box-shadow: 0 0 18px rgba(87, 229, 208, 0.45);
}

.pd-consent-btn-accept:active {
  transform: scale(0.98);
}

.pd-consent-btn-decline {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(195, 215, 245, 0.24);
}

.pd-consent-btn-decline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(195, 215, 245, 0.5);
  transform: scale(1.02);
}

.pd-consent-btn-decline:active {
  transform: scale(0.98);
}

.pd-consent-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000000;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(87, 229, 208, 0.35);
  color: #e2e8f0;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: pdToastFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes pdToastFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .pd-consent-content {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .pd-consent-text {
    font-size: 12px;
    line-height: 1.5;
  }
  .pd-consent-actions {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .pd-consent-btn {
    flex: 1 1 130px;
    min-height: 42px;
  }
  .pd-consent-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}
