
body[data-design="redotpay"] #modal{padding:0;width:min(560px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);height:fit-content;border:1px solid var(--d-line);border-radius:24px;background:var(--d-surface);color:var(--d-ink);overflow:auto;font-family:var(--d-font);box-shadow:0 24px 90px #12142b30}
body[data-design="redotpay"] #modal::backdrop{background:#10132366;backdrop-filter:blur(3px)}
.redotpay-overlay{min-width:0}
.redot-overlay svg{height:20px;width:20px;display:block;flex:none}
.redot-overlay-heading > button[data-close]{display:grid;place-items:center;flex:none;margin-left:auto;width:34px;height:34px;border:0;border-radius:50%;background:var(--d-soft);color:var(--d-ink);cursor:pointer}
.redot-overlay :is(input,select,textarea,button){font-family:inherit}
.redot-overlay h2{font-size:22px;line-height:1.3;margin:0;letter-spacing:-.025em}
.redot-overlay h3{margin:0 0 12px}
.redot-overlay-content{padding:26px 30px}
.redot-overlay-heading{display:flex;align-items:center;gap:14px;padding:24px 30px;border-bottom:1px solid var(--d-line)}
.redot-overlay-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 30px;border-top:1px solid var(--d-line)}
.redot-overlay-actions:empty{display:none}
.redot-overlay .key-values{margin:18px 0 0}
.redot-overlay .key-values>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;padding:14px 0;border-bottom:1px solid var(--d-line)}
.redot-overlay .key-values dd{overflow-wrap:anywhere;min-width:0}
.redot-overlay .field{display:grid;gap:8px;min-width:0}
.redot-overlay .field :is(input,select,textarea){width:100%;min-height:44px}
.redot-overlay .security-codes{display:grid;grid-template-columns:1fr;gap:18px}
.redot-overlay .security-codes input{font-size:23px;letter-spacing:.24em;font-variant-numeric:tabular-nums}
.redot-overlay .form-error:empty{display:none}
.redot-overlay .form-error{margin:0;color:var(--red,#b73838)}
.redot-overlay .document-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.redot-overlay .document-tile{min-width:0}
.redot-overlay .document-tile img{height:110px;object-fit:contain}
.redot-overlay .upload-area{margin-top:8px}
.redot-overlay-cookie{position:fixed;z-index:80;left:24px;bottom:24px;width:min(440px,calc(100vw - 48px));padding:20px;display:flex;align-items:center;gap:14px;background:var(--d-surface);color:var(--d-ink);border:1px solid var(--d-line);border-radius:24px;box-shadow:0 8px 35px #1d163b1a;font-family:var(--d-font);font-size:12px;line-height:1.5}
.redot-overlay-cookie strong{font-size:14px;font-weight:600}
.redot-overlay-cookie p{font-size:12px;color:var(--d-muted);line-height:1.6;margin:5px 0 0}
.redot-overlay-cookie button{border:0;background:transparent;color:var(--d-ink);font:inherit;cursor:pointer;white-space:nowrap;padding:8px 12px}
.redot-overlay-cookie [data-cookie-accept]{border-radius:var(--d-button-radius,6px);background:var(--d-action,var(--d-accent));color:var(--d-action-ink,var(--d-on-accent,#fff))}
.redot-overlay-cookie svg{width:20px;height:20px}
.redot-overlay-cookie>div:first-of-type{flex:1}
.redot-overlay-cookie [data-cookie-detail]{text-decoration:underline;text-underline-offset:3px}
.redot-overlay .security-progress{display:flex;gap:12px;align-items:center;margin:0 0 16px;font-size:12px;color:var(--d-muted)}
.redot-overlay .security-progress [aria-current]{color:var(--d-accent)}
.redot-overlay [data-security-step][hidden]{display:none}
.redot-overlay .security-summary{margin-bottom:22px}
.redot-overlay .security-summary .quote-preview{padding:16px;border:0;border-radius:8px;background:var(--d-soft)}
.redot-overlay .security-summary .quote-value{font-size:25px}
.redot-overlay .security-send{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--d-muted)}
.redot-overlay .security-send button{border:0;background:none;padding:0;color:var(--d-accent);font:inherit}
.redot-overlay :is(a,button,input,select,textarea):focus-visible,.redot-overlay-cookie button:focus-visible{outline:2px solid var(--d-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.redot-overlay,.redot-overlay *,.redot-overlay-cookie{animation:none!important;transition:none!important}}

.redot-overlay-rule{height:5px;background:#eb0028}.redot-overlay-heading{border:0;padding-bottom:0}
.redot-overlay-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff0f2;color:#e80029}
.redot-overlay-content{padding:22px 28px}.redot-overlay-actions{border:0;padding-top:4px;padding-bottom:26px}
.redot-overlay-cookie{left:auto;right:24px;max-width:390px;display:grid;grid-template-columns:1fr auto;border-radius:20px}
.redot-overlay-cookie .redot-cookie-dot{display:none}.redot-overlay-cookie>div{grid-column:1/-1}
.redot-overlay-cookie [data-cookie-detail]{justify-self:start}.redot-overlay-cookie [data-cookie-accept]{justify-self:end;min-width:95px}

.redot-verification, .redot-verification-step, .redot-verification-line, .redot-verification-stage, .redot-verification-card, .redot-verification-console{min-width:0}
.redot-verification input,.redot-verification-step input,.redot-verification-line input,.redot-verification-stage input,.redot-verification-card input,.redot-verification-console input{min-height:52px;border:1px solid var(--d-line);border-radius:var(--d-button-radius,6px);background:var(--d-bg);color:var(--d-ink);font-size:22px;letter-spacing:.24em;font-variant-numeric:tabular-nums;padding:10px 14px}
.redot-verification-card{display:grid;grid-template-columns:42px 1fr;gap:15px;align-items:center}.redot-verification-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff0f2;color:#eb0028}.redot-verification-card .field{gap:7px}
.redot-verification-copy{display:grid;gap:7px;min-width:0}
.redot-verification-copy>small{font-size:11px;color:var(--d-muted)}
.redot-verification-copy>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}
.redot-verification-copy>i{display:none}
.redot-verification-copy .field>span{font-size:12px}
.redot-verification-resend{justify-self:start;border:0;background:none;color:#d30027;padding:0;font-size:12px;cursor:pointer}
.redot-verification-copy [data-security-send-state]{font-size:11px;color:var(--d-muted)}
.redot-verification-copy [data-security-send-state]:empty{display:none}
.redot-overlay #security-confirm{gap:20px}
.redot-overlay #security-confirm>.key-values{margin:0}
.redot-overlay #security-confirm>.key-values>div{padding:10px 0;grid-template-columns:90px minmax(0,1fr);gap:12px}
@media(max-width:600px){.redot-overlay-content{padding:20px}.redot-overlay-heading{padding:20px 20px 0}.redot-overlay-actions{padding:8px 20px 20px}.redot-verification-card{grid-template-columns:28px minmax(0,1fr);gap:10px}.redot-verification-mark{width:28px;height:28px}.redot-overlay #security-confirm>.key-values>div{grid-template-columns:1fr;gap:5px}}

.redot-confirm-checks{display:grid;gap:18px}

.redot-va-request{display:grid;gap:18px}
.redot-va-profile{display:grid;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--d-line)}
.redot-va-type{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:min(360px,100%);margin-inline:auto;padding:4px;border:1px solid #e7e7e7;border-radius:999px;background:#f6f6f6}
.redot-va-type label{position:relative;display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;color:var(--d-muted);cursor:pointer;font-size:13px}
.redot-va-type input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.redot-va-type label:has(input:checked){background:#eb0028;color:#fff;box-shadow:0 1px 4px #eb002821}
.redot-va-name,.redot-va-address{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.redot-va-request .field{gap:7px}
.redot-va-request .field :is(input,textarea){box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--d-line);border-radius:10px;background:#fff;color:var(--d-ink);font:inherit}
.redot-va-request textarea{resize:vertical;min-height:88px}
.redot-va-kyc{padding-top:14px;border-top:1px solid var(--d-line)}
.redot-va-request .form-error:empty{display:none}
@media(max-width:600px){.redot-va-name,.redot-va-address{grid-template-columns:1fr}.redot-va-type{width:100%}}
.redot-va-request [data-va-ein-field][hidden]{display:none}


/* Adaptive action controls: keep labels readable at narrow widths and in every theme. */
body[data-design="redotpay"] .btn { box-sizing:border-box; min-width:0; max-width:100%; height:auto; min-height:40px; line-height:1.35; white-space:normal; overflow-wrap:anywhere; }
body[data-design="redotpay"] #modal header [data-close] { box-sizing:border-box; display:grid; flex:none; place-items:center; width:40px; height:40px; min-width:40px; min-height:40px; padding:8px; }
body[data-design="redotpay"] #modal :is(.redot-overlay-actions) { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
body[data-design="redotpay"] #modal .redot-overlay-actions > .btn { box-sizing:border-box; display:inline-flex; flex:0 1 auto; width:auto; border-radius:var(--d-button-radius,999px); min-width:min(112px,100%); max-width:100%; min-height:42px; height:auto; align-items:center; justify-content:center; padding:10px 14px; line-height:1.35; white-space:normal; overflow-wrap:anywhere; }
@media(max-width:480px) { body[data-design="redotpay"] #modal .redot-overlay-actions > .btn { flex:1 1 calc(50% - 5px); width:auto; min-width:min(112px,100%); } }

/* RedotPay account-copy action */
body[data-design="redotpay"] .redot-c-wallet .account-foot { justify-content:center; }
body[data-design="redotpay"] .redot-c-wallet .account-foot > [data-copy-account] { flex:0 1 360px; width:min(100%,360px); min-height:52px; margin-inline:auto; border-color:#e9002b; background:#e9002b; color:#fff; font-size:15px; font-weight:650; }
body[data-design="redotpay"]:has(.d-shell) .redot-overview-lead { align-items:stretch; }
body[data-design="redotpay"]:has(.d-shell) .redot-up-next { box-sizing:border-box; align-self:center; width:100%; height:190px; min-height:190px; max-height:190px; }
body[data-design="redotpay"]:has(.d-shell) .d-announcement-reader-list>p { margin:0; padding:28px 12px; text-align:center; }
body[data-design="redotpay"]:has(.d-shell) .redot-up-next .d-tasks>a { border-radius:8px; transition:background-color .15s ease,color .15s ease; }
body[data-design="redotpay"]:has(.d-shell) .redot-up-next .d-tasks>a:is(:hover,:focus-visible) { background:#fff3f2; color:#c90028; }
body[data-design="redotpay"]:has(.d-shell) .redot-up-next .d-tasks>a:focus-visible { outline:2px solid #e9002b; outline-offset:2px; }
@media(max-width:700px) { body[data-design="redotpay"]:has(.d-shell) .redot-up-next { align-self:stretch; height:auto; min-height:190px; max-height:none; } }


/* Hide the dialog scrollbar chrome without disabling mouse, touch, or keyboard scrolling. */
body[data-design="redotpay"] #modal { scrollbar-width:none; -ms-overflow-style:none; }
body[data-design="redotpay"] #modal::-webkit-scrollbar { display:none; width:0; height:0; }
