.crm-whatsapp-capture {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    color: #101828;
    font-family: Roboto, Arial, sans-serif;
}

.crm-whatsapp-capture.is-open { display: grid; place-items: center; }
.crm-whatsapp-capture__backdrop { position: absolute; inset: 0; background: rgba(13, 18, 28, .72); backdrop-filter: blur(5px); }
.crm-whatsapp-capture__dialog { position: relative; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 22px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.crm-whatsapp-capture__dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 17px; border-bottom: 1px solid #e6eaf0; }
.crm-whatsapp-capture__dialog header small { display: block; margin-bottom: 4px; color: #9a7200; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.crm-whatsapp-capture__dialog h2 { margin: 0; color: #101318; font-size: 24px; line-height: 1.15; }
.crm-whatsapp-capture__dialog header button { display: grid; flex: 0 0 40px; height: 40px; padding: 0; place-items: center; border: 1px solid #dfe4ea; border-radius: 12px; background: #fff; color: #101828; font-size: 25px; line-height: 1; cursor: pointer; }
.crm-whatsapp-capture form { display: grid; gap: 15px; padding: 21px 22px 23px; }
.crm-whatsapp-capture form > p { margin: 0 0 2px; color: #657287; font-size: 13px; line-height: 1.55; }
.crm-whatsapp-capture form > label:not(.crm-whatsapp-capture__consent) { display: grid; gap: 7px; }
.crm-whatsapp-capture label > span { color: #344054; font-size: 12px; font-weight: 750; }
.crm-whatsapp-capture input[type="text"],.crm-whatsapp-capture input[type="tel"] { width: 100%; height: 50px; margin: 0; padding: 0 14px; border: 1px solid #d5dce5; border-radius: 12px; background: #fff; color: #101828; font: inherit; box-sizing: border-box; }
.crm-whatsapp-capture input:focus { border-color: #e6b600; outline: 0; box-shadow: 0 0 0 4px rgba(255,205,38,.18); }
.crm-whatsapp-capture__consent { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: start; gap: 9px; cursor: pointer; }
.crm-whatsapp-capture__consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #101318; }
.crm-whatsapp-capture__consent span { color: #667085; font-size: 11px !important; font-weight: 500 !important; line-height: 1.45; }
.crm-whatsapp-capture__error:empty { display: none; }
.crm-whatsapp-capture__error { padding: 9px 11px; border-radius: 9px; background: #fff0ef; color: #b42318; font-size: 11px; }
.crm-whatsapp-capture__submit { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; background: #111318; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.crm-whatsapp-capture__submit i { color: #25d366; font-size: 18px; }
.crm-whatsapp-capture__submit:disabled { cursor: wait; opacity: .65; }
.crm-whatsapp-capture-open { overflow: hidden !important; }

@media (max-width: 600px) {
    .crm-whatsapp-capture.is-open { align-items: end; }
    .crm-whatsapp-capture__dialog { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 24px 24px 0 0; }
    .crm-whatsapp-capture__dialog > header { padding: 19px 18px 15px; }
    .crm-whatsapp-capture__dialog h2 { font-size: 21px; }
    .crm-whatsapp-capture form { padding: 18px max(18px, env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right)); }
}

@media (prefers-reduced-motion: no-preference) {
    .crm-whatsapp-capture.is-open .crm-whatsapp-capture__dialog { animation: crm-wa-enter .18s ease-out both; }
    @keyframes crm-wa-enter { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
}
