/* ============================================================================
   LINCOLN VISA GROUP — consent.css
   Cookie consent bar built by assets/js/analytics.js. Self-contained: it is
   loaded on public pages (main.css) and account pages (panel.css) alike.
   ========================================================================= */

.lvg-consent {
  position:fixed;
  left:24px;
  bottom:24px;
  z-index:120;
  display:grid;
  gap:16px;
  width:min(560px, calc(100vw - 48px));
  padding:20px 22px;
  border:1px solid rgba(200,149,47,.35);
  border-radius:16px;
  background:#0B1F3A;
  color:rgba(255,255,255,.86);
  box-shadow:0 18px 50px rgba(8,24,45,.32);
  font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:.9rem;
  line-height:1.6;
}
.lvg-consent[hidden] { display:none; }
.lvg-consent-title { display:block; margin-bottom:4px; color:#fff; font-size:1rem; font-weight:600; }
.lvg-consent p { margin:0; }
.lvg-consent-link { display:inline-block; margin-top:6px; color:#E8CE96; text-decoration:underline; text-underline-offset:3px; }
.lvg-consent-link:hover { color:#fff; }

/* Accept and reject carry equal weight: the same size, shape and prominence. */
.lvg-consent-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.lvg-consent-btn {
  min-height:44px;
  padding:10px 16px;
  border:1px solid #C8952F;
  border-radius:10px;
  background:transparent;
  color:#fff;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}
.lvg-consent-btn:hover { background:rgba(200,149,47,.16); }
.lvg-consent-btn:focus-visible, .lvg-consent-link:focus-visible { outline:2px solid #E8CE96; outline-offset:2px; }

/* Footer "cookie settings" control, styled like the footer links around it. */
.footer-link-button {
  padding:0;
  border:0;
  background:none;
  color:rgba(255,255,255,.72);
  font-size:.9rem;
  text-align:left;
  cursor:pointer;
}
.footer-link-button:hover { color:#fff; }

@media (max-width:760px) {
  .lvg-consent { left:12px; right:12px; bottom:12px; width:auto; padding:18px; }
  /* Full-width bar on phones: keep the WhatsApp button clear of it while it is open. */
  .has-consent-banner .whatsapp-widget { bottom:calc(var(--lvg-consent-space, 0px) + 24px); }
}

@media print {
  .lvg-consent { display:none !important; }
}
