/* SSA Digital — elementos isolados para consentimento de cookies */
.ssa-consent-banner, .ssa-consent-overlay { font-family: inherit; }
.ssa-consent-banner { position: fixed; z-index: 10000; left: 16px; right: 16px; bottom: 16px;
  max-width: 1120px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px 24px; background: #fff; color: #1e293b; border: 1px solid #cbd5e1;
  border-radius: 18px; box-shadow: 0 14px 50px rgba(2, 6, 23, .24); }
.ssa-consent-banner-copy { flex: 1 1 500px; min-width: 0; }
.ssa-consent-banner h2, .ssa-consent-panel h2 { margin: 0 0 6px; font-size: 1.13rem; line-height: 1.35; color: #1e1b4b; }
.ssa-consent-banner p, .ssa-consent-panel p { margin: 0; font-size: .9rem; line-height: 1.55; }
.ssa-consent-banner a { color: #4338ca; text-decoration: underline; text-underline-offset: 2px; }
.ssa-consent-banner-actions, .ssa-consent-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ssa-consent-banner-actions { justify-content: flex-end; flex: 0 1 370px; }
.ssa-consent-button { cursor: pointer; padding: 10px 14px; min-height: 44px; border-radius: 10px;
  font-size: .86rem; font-weight: 700; line-height: 1.3; border: 1px solid #cbd5e1; }
.ssa-consent-primary { background: #4338ca; color: white; border-color: #4338ca; }
.ssa-consent-secondary { background: white; color: #312e81; }
.ssa-consent-button:hover { filter: brightness(.95); }
.ssa-consent-button:focus-visible, .ssa-consent-footer-link:focus-visible,
.ssa-consent-choice input:focus-visible { outline: 3px solid #06b6d4; outline-offset: 3px; }
.ssa-consent-overlay { position: fixed; inset: 0; z-index: 10010; display: flex; align-items: center;
  justify-content: center; padding: 16px; background: rgba(2, 6, 23, .65); }
.ssa-consent-panel { position: relative; width: min(100%, 570px); max-height: 90vh; overflow-y: auto;
  padding: 28px; border-radius: 18px; background: white; color: #1e293b; box-shadow: 0 18px 60px #02061766; }
.ssa-consent-panel h2 { padding-right: 50px; }
.ssa-consent-close { position: absolute; right: 18px; top: 14px; min-height: 40px; padding: 6px 10px; background: white; }
.ssa-consent-hint { margin: 10px 0 18px !important; color: #475569; }
.ssa-consent-essential { display: grid; gap: 2px; padding: 14px 0 12px; border-bottom: 1px solid #e2e8f0; }
.ssa-consent-essential strong { font-size: .95rem; }
.ssa-consent-essential small { color: #475569; font-size: .8rem; }
.ssa-consent-choice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e2e8f0; cursor: pointer; }
.ssa-consent-choice input { width: 18px; height: 18px; margin-top: 4px; accent-color: #4338ca; flex: 0 0 auto; }
.ssa-consent-choice-copy { display: grid; gap: 4px; }
.ssa-consent-choice-copy strong { font-size: .92rem; }
.ssa-consent-choice-copy small { color: #475569; font-size: .83rem; line-height: 1.5; }
.ssa-consent-dialog-actions { justify-content: space-between; margin-top: 16px; }
.ssa-consent-footer-link { border: 0; padding: 2px 0; margin-top: 8px; background: transparent;
  text-decoration: underline; text-underline-offset: 3px; color: inherit; cursor: pointer; font-size: .85rem; }
body.ssa-consent-pending .whatsapp-float { bottom: calc(var(--ssa-consent-banner-height, 160px) + 32px); }
body.ssa-consent-modal-open { overflow: hidden; }
@media (max-width: 840px) {
 .ssa-consent-banner { flex-direction: column; align-items: stretch; max-height: 68vh; overflow: auto; gap: 12px; padding: 16px; }
 .ssa-consent-banner-copy, .ssa-consent-banner-actions { flex: 0 1 auto; }
 .ssa-consent-banner-actions { justify-content: stretch; }
 .ssa-consent-banner-actions > button { flex: 1 1 130px; }
}
@media (max-width: 480px) {
 .ssa-consent-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px; }
 .ssa-consent-banner h2 { font-size: 1rem; }
 .ssa-consent-banner p { font-size: .82rem; }
 .ssa-consent-banner-actions > button { flex: 1 1 100%; }
 .ssa-consent-panel { padding: 20px; }
 .ssa-consent-dialog-actions > button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .ssa-consent-button { transition: none; } }
