/* ═══════════════════════════════════════════════════════════════════
   SEOX Consent Banner — Custom CMP (Google Consent Mode v2, Opt-in)
   Light = Standard · Dark via html[data-theme="dark"]
   ═══════════════════════════════════════════════════════════════════ */

#seox-consent {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  z-index: 11000;
  width: min(960px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #ececf1;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(20, 16, 40, 0.18);
  padding: 22px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
  font-family: 'Inter', system-ui, sans-serif;
}
#seox-consent.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sc-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.sc-text { flex: 1; min-width: 0; }
.sc-text strong {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.sc-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5a5a6e;
}
.sc-text a {
  color: #d4238a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sc-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.sc-btn {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 50px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.sc-decline {
  background: transparent;
  border-color: #d7d7e0;
  color: #45455a;
}
.sc-decline:hover { border-color: #b9b9c8; background: #f7f7fa; }
.sc-accept {
  background: #d4238a;
  color: #fff;
  box-shadow: 0 4px 18px rgba(212, 35, 138, 0.35);
}
.sc-accept:hover { background: #b91d75; box-shadow: 0 6px 24px rgba(212, 35, 138, 0.45); transform: translateY(-1px); }
.sc-btn:focus-visible { outline: 2px solid #d4238a; outline-offset: 2px; }

/* ─── Dark Mode ─────────────────────────────────────────────────── */
html[data-theme="dark"] #seox-consent {
  background: rgba(22, 20, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .sc-text strong { color: rgba(255, 255, 255, 0.95); }
html[data-theme="dark"] .sc-text p { color: rgba(255, 255, 255, 0.62); }
html[data-theme="dark"] .sc-decline {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
html[data-theme="dark"] .sc-decline:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #seox-consent { bottom: 12px; padding: 20px; width: calc(100vw - 24px); }
  .sc-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .sc-actions { flex-direction: column-reverse; }
  .sc-btn { width: 100%; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #seox-consent { transition: opacity .2s ease; transform: translateX(-50%); }
}
