/* Barra de rolagem do popup de consulta */
.consult-modal-v33__body::-webkit-scrollbar{width:14px}
.consult-modal-v33__body::-webkit-scrollbar-track{background:transparent;margin-block:14px}
.consult-modal-v33__body::-webkit-scrollbar-thumb{border:4px solid transparent;border-radius:999px;background:rgba(255,255,255,.2);background-clip:padding-box}
.consult-modal-v33__body::-webkit-scrollbar-thumb:hover{background:#ffb27a;background-clip:padding-box}
@supports not selector(::-webkit-scrollbar){.consult-modal-v33__body{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.24) transparent}}

/* No celular, o popup fica no centro da tela em todas as etapas da consulta. */
@media(max-width:560px){
  .consult-modal-v33{padding:12px;align-items:center}
  .consult-modal-v33__panel{max-height:calc(100dvh - 24px);border-bottom:1px solid rgba(255,255,255,.11);border-radius:22px;transform:none}
}

/* Alerta de dívida ativa: a borda fica dentro da caixa, alinhada aos demais cartões. */
.consult-state-icon--alert{color:#fff;background:#d4112b}
.active-debt-alert{box-sizing:border-box;margin:18px 0;overflow:hidden;border:2px solid #ff2e46;border-radius:16px;background:#3f0a13;color:#fff;animation:active-debt-border 1s infinite}
.active-debt-alert__siren{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#e3142f;animation:active-debt-blink 1s infinite}
.active-debt-alert__icon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#c20f26;font:900 22px/1 var(--v3-head,Arial,sans-serif)}
.active-debt-alert h4{margin:0;color:#fff;font:900 clamp(18px,2.6vw,21px)/1.2 var(--v3-head,Arial,sans-serif);letter-spacing:-.01em}
.active-debt-alert__body{padding:16px 18px 18px}
.active-debt-alert__body p{margin:0 0 10px;font-size:16px;line-height:1.45;color:#ffe9eb}
.active-debt-alert__body strong{color:#fff;font-weight:700}
.active-debt-alert a.active-debt-alert__cta{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;margin-top:14px;padding:12px 18px;border-radius:12px;background:#fff;color:#a90c20;font:900 16px/1.2 var(--v3-head,Arial,sans-serif);text-align:center;text-decoration:none}
.active-debt-alert a.active-debt-alert__cta:hover{background:#ffe1e4;color:#a90c20}
.active-debt-alert__cta:focus-visible{outline:3px solid #fff;outline-offset:3px}
.active-debt-alert__cta svg{flex:none;width:20px;height:20px;fill:currentColor}
.active-debt-alert small{display:block;margin-top:9px;color:#ffc9ce;font-size:14px;line-height:1.35;text-align:center}
.active-debt-alert:hover,.active-debt-alert:focus-within,.active-debt-alert:hover .active-debt-alert__siren,.active-debt-alert:focus-within .active-debt-alert__siren{animation-play-state:paused}
.active-debt-note{box-sizing:border-box;display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:10px 12px;border:1px solid #ff2e46;border-radius:10px;background:#2c0a10;color:#ffd5d9;font-size:15px;font-weight:600;line-height:1.35}
.active-debt-note b{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e3142f;color:#fff;font:900 13px/1 var(--v3-head,Arial,sans-serif)}
@keyframes active-debt-blink{0%,42%{background:#e3142f}50%,92%{background:#7d0a18}100%{background:#e3142f}}
@keyframes active-debt-border{0%,42%{border-color:#ff2e46}50%,92%{border-color:#7d0a18}100%{border-color:#ff2e46}}
@media(max-width:560px){.active-debt-alert__siren{padding:12px 14px}.active-debt-alert__body{padding:14px}.active-debt-alert a.active-debt-alert__cta{gap:8px;padding:12px 8px;font-size:14px;letter-spacing:-.01em}}
@media(prefers-reduced-motion:reduce){.active-debt-alert,.active-debt-alert__siren{animation:none}}

/* Textos do resultado da consulta em tamanho confortável para leitura no celular. */
.consult-modal-v33__header span{font-size:11px}
.consult-modal-v33__header strong{font-size:17px}
.consult-status-badge{font-size:11px}
.consult-modal-state p,.consult-result-head p{font-size:15px;line-height:1.5}
.consult-modal-state>small{font-size:13px}
.consult-empty{font-size:15px}
.modal-vehicle-grid small{font-size:11px;letter-spacing:.5px}
.modal-vehicle-grid strong{font-size:15px}
.modal-debt-row strong{font-size:15px}
.modal-debt-row span{font-size:14px;line-height:1.4;color:var(--v3-muted)}
.modal-debt-row b{font-size:16px;white-space:nowrap}
.modal-disclaimer{font-size:13px}
.modal-recovery span{font-size:13px}
.modal-recovery code{font-size:15px}
.status-card .data-chip small{font-size:11px}
.status-card .debt-row p,.status-card .notice,.status-card .recovery-box{font-size:14px;line-height:1.45}
