/* --- Cookie Policy page: force secure01-like dark gradient and neutralize any light wrappers --- */

html.cookie-policy-page,
body.cookie-policy-page {
  background-color: #0d0f1a !important;
  background-image: linear-gradient(to bottom, #1a1c29 0%, #0d0f1a 100%) !important;
  min-height: 100%;
  color: #eaeaea !important;
}

/* Nuke white/gray backgrounds in wrappers and components */
.cookie-policy-page main,
.cookie-policy-page section,
.cookie-policy-page .page,
.cookie-policy-page .container,
.cookie-policy-page .content,
.cookie-policy-page .prose,
.cookie-policy-page [class*="bg-"],
.cookie-policy-page [style*="background"] {
  background: transparent !important;
}

/* Text colors similar to secure01 dark theme */
.cookie-policy-page .text-white,
.cookie-policy-page .prose :where(p, li, span, h1, h2, h3, h4, h5, h6),
.cookie-policy-page .content,
.cookie-policy-page p,
.cookie-policy-page li,
.cookie-policy-page span {
  color: #eaeaea !important;
}

.cookie-policy-page .muted,
.cookie-policy-page .text-gray-400,
.cookie-policy-page .text-[#9C9C9C],
.cookie-policy-page .text-gray,
.cookie-policy-page .text-secondary {
  color: #9C9C9C !important;
}

/* Darken card-like elements */
.cookie-policy-page .card,
.cookie-policy-page .box,
.cookie-policy-page .panel,
.cookie-policy-page .rounded-[25px],
.cookie-policy-page .border {
  background: rgba(9, 12, 22, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Ensure gradient sections look consistent */
.cookie-policy-page .bg-gradient-to-b {
  background-image: linear-gradient(to bottom, #1a1c29 0%, #0d0f1a 100%) !important;
}

/* Add top padding for fixed header */
.cookie-policy-page main,
.cookie-policy-page .page,
.cookie-policy-page .container {
  padding-top: max(24px, var(--hdrH, 80px));
}

/* Smooth transitions when switching states */
.cookie-policy-page {
  transition: background 0.3s ease, color 0.3s ease;
}

/* Force a gradient layer behind everything (absolute safety net) */
html.cookie-policy-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, #1a1c29 0%, #0d0f1a 100%);
}
body.cookie-policy-page,
.cookie-policy-page main,
.cookie-policy-page .container {
  position: relative;
  z-index: 1;
}

/* --- Fix remaining light backgrounds on cookie-policy page --- */
.cookie-policy-page .center-form-box-cookie-policy {
  background: transparent !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.cookie-policy-page .btn_accessibility_action,
.cookie-policy-page .accessibility_component {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
