#aiml-consent-root { all: initial; }

/* ✅ Pinned bottom-left card (not full width) */
.aiml-consent-banner{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999999;

  width: min(380px, calc(100vw - 32px)); /* fits on mobile */
  background: #111827;
  color: #fff;

  padding: 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);

  display: flex;
  flex-direction: column; /* stack text + buttons */
  gap: 10px;

  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.aiml-consent-text{
  line-height: 1.35;
  font-size: 14px;
}

.aiml-consent-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.aiml-btn{
  border:0;
  border-radius:10px;
  padding:10px 12px;
  font-size:14px;
  cursor:pointer;
}

.aiml-accept{ background:#2563eb; color:#fff; }
.aiml-decline{ background:#374151; color:#fff; }
.aiml-secondary{ background:#4b5563; color:#fff; }

/* Modal (unchanged, but keeping here) */
.aiml-consent-modal-backdrop{
  position: fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.55);
  z-index: 999999;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.aiml-consent-modal-backdrop.is-open{ display:flex; }

.aiml-consent-modal{
  width: min(420px, calc(100vw - 24px));
  background:#fff;
  color:#111827;
  padding:18px;
  border-radius:14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.aiml-consent-modal h2{ margin:0 0 12px; font-size:18px; }
.aiml-row{ display:flex; gap:10px; align-items:center; margin:10px 0; }
.aiml-consent-modal-actions{ display:flex; gap:8px; justify-content:flex-end; margin-top:14px; }

