/* Shared AMG consent preference UI: independent of GTM and lead forms. */
.amg-consent-banner {
   position: fixed;
   z-index: 100000;
   inset: auto 18px 18px;
   width: min(100% - 36px, 650px);
   margin-inline: auto;
   background: #fff;
   border: 1px solid #dce5f1;
   border-radius: 17px;
   box-shadow: 0 16px 60px rgba(5, 22, 45, .25);
   padding: 20px 22px;
   color: #152d4e;
   font: 400 14px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.amg-consent-copy strong {
   display: block;
   font-size: 17px;
   line-height: 1.3;
   font-weight: 750;
   margin-bottom: 7px;
}
.amg-consent-copy p {
   margin: 0;
   color: #405573;
   font-size: 13px;
   line-height: 1.6;
}
.amg-consent-copy a {
   color: #174b84;
   text-decoration: underline;
   text-underline-offset: 2px;
}
.amg-consent-actions {
   display: flex;
   justify-content: flex-end;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 16px;
}
.amg-consent-actions button {
   border-radius: 9px;
   padding: 11px 21px;
   min-height: 43px;
   font: 700 13px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
   cursor: pointer;
   transition: background .2s ease, box-shadow .2s ease;
}
.amg-consent-accept {
   color: #fff;
   background: #dd1530;
   border: 1px solid #dd1530;
}
.amg-consent-accept:hover { background: #b90b26; }
.amg-consent-reject {
   color: #102d4e;
   background: #fff;
   border: 1px solid #bbc9dc;
}
.amg-consent-reject:hover { background: #f1f5fa; }
.amg-consent-actions button:focus-visible,
.amg-consent-settings:focus-visible {
   outline: 3px solid #298be1;
   outline-offset: 3px;
}
.amg-consent-settings {
   display: block;
   margin: 12px auto;
   padding: 6px 10px;
   color: #c9d8ed;
   background: transparent;
   border: 1px solid #73849e;
   border-radius: 7px;
   font: 600 12px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
   cursor: pointer;
}
.amg-consent-settings:hover { color: #fff; border-color: #fff; }
@media (max-width: 650px) {
   .amg-consent-banner {
      inset: auto 12px 12px;
      width: calc(100% - 24px);
      padding: 18px 16px;
      max-height: min(70vh, 520px);
      overflow-y: auto;
   }
   .amg-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
   .amg-consent-actions button { padding: 12px 7px; }
}
@media (prefers-reduced-motion: reduce) {
   .amg-consent-actions button { transition: none; }
}
