/* Cookie consent banner — public marketing & legal pages */
.hc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  padding: 16px;
  pointer-events: none;
}
.hc-cookie-banner[hidden] { display: none !important; }
.hc-cookie-inner {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(15, 15, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fafafa;
}
.hc-cookie-text { flex: 1; min-width: 220px; }
.hc-cookie-title {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hc-cookie-title i { color: #a5b4fc; }
.hc-cookie-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.72);
}
.hc-cookie-desc a { color: #a5b4fc; font-weight: 600; text-decoration: none; }
.hc-cookie-desc a:hover { text-decoration: underline; }
.hc-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.hc-cookie-btn {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.hc-cookie-btn:hover { transform: translateY(-1px); }
.hc-cookie-btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}
.hc-cookie-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 600px) {
  .hc-cookie-actions { width: 100%; }
  .hc-cookie-btn { flex: 1; text-align: center; }
}

/* Light pages (legal) */
body.legal-page .hc-cookie-inner {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(9, 9, 11, 0.1);
  color: #18181b;
  box-shadow: 0 20px 60px rgba(15, 15, 18, 0.12);
}
body.legal-page .hc-cookie-desc { color: #52525b; }
body.legal-page .hc-cookie-btn-ghost {
  background: #f4f4f5;
  color: #3f3f46;
  border-color: rgba(9, 9, 11, 0.1);
}
