/* Fixed positioning prevents the consent UI from shifting page content. */
.iq-consent-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  padding: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.iq-consent-banner[hidden] { display: none; }
.iq-consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.iq-consent-card {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.iq-consent-copy {
  min-width: 0;
  flex: 1;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}
.iq-consent-copy p { margin: 0; }
.iq-consent-title {
  margin: 0 0 4px !important;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}
.iq-consent-copy a {
  color: #1e3fcc;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.iq-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.iq-consent-actions button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.iq-consent-primary {
  border: 0;
  background: #059669;
  color: #fff;
  box-shadow: 0 8px 20px rgba(5, 150, 105, .25);
}
.iq-consent-secondary {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}
.iq-consent-settings {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
@media (max-width: 720px) {
  .iq-consent-banner { padding: 10px 10px 76px; }
  .iq-consent-card {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .iq-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .iq-consent-actions button { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .iq-consent-banner { transition: none; }
}
