/* Quinbis Phase 4: code-first screen only; no shared/email-brand style overrides. */
.qb-email-code-form { margin-top: 21px; }
.qb-email-code-form .qb-code-field { display:block; }
.qb-code-shell { display:block; position:relative; min-width:0; margin-top:8px; }
.qb-code-shell .qb-email-code-input { display:block; box-sizing:border-box; width:100%; font-size:21px; font-weight:700; line-height:1.4; font-variant-numeric:tabular-nums; letter-spacing:.22em; text-align:center; }
.qb-code-boxes { display:none; }
.qb-code-enhanced .qb-code-shell { height:clamp(46px,9vw,57px); }
.qb-code-enhanced .qb-code-shell .qb-email-code-input {
 position:absolute; z-index:2; inset:0; width:100%; height:100%; padding:0;
 border:0 !important; outline:none !important; box-shadow:none !important; border-radius:0; background:transparent !important;
 color:transparent !important; caret-color:transparent; font-size:16px; letter-spacing:normal;
}
.qb-code-enhanced .qb-code-boxes { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(5px,1.6vw,10px); height:100%; }
.qb-code-box { min-width:0; min-height:0; display:flex; align-items:center; justify-content:center; border:1px solid #C6D7CD; border-radius:10px; background:#FFFFFF; color:#0D0D0D; font-weight:700; font-size:clamp(20px,3.3vw,27px); font-variant-numeric:tabular-nums; transition:border-color .1s ease; }
.qb-code-enhanced .qb-code-shell:focus-within .qb-code-box.is-current { border:2px solid #013D37; outline:2px solid rgba(119,214,80,.3); outline-offset:1px; }
.qb-code-enhanced .qb-code-shell:focus-within .qb-code-box:not(.is-current) { border-color:#9FBAA9; }
.qb-code-expiry { font-size:13px; line-height:1.6; color:#52685C; margin:10px 0 18px; }
.qb-code-email { font-weight:650; color:#013D37; overflow-wrap:anywhere; }
.qb-code-resend-form { margin-top:18px; }
.qb-code-resend-form .qb-resend-countdown { display:none; font-size:13px; color:#52685C; margin:0; text-align:center; }
.qb-code-resend-form.qb-resend-enhanced:not(.qb-resend-ready) button { display:none; }
.qb-code-resend-form.qb-resend-enhanced:not(.qb-resend-ready) .qb-resend-countdown { display:block; }
.qb-code-resend-form.qb-resend-ready button { display:block; }
.qb-code-resend-form .foundation-button { width:100%; }
html[data-theme="dark"] .qb-code-box { background:#16362C; border-color:#49695B; color:#F0F7E7; }
html[data-theme="dark"] .qb-code-enhanced .qb-code-shell:focus-within .qb-code-box.is-current { border-color:#77D650; }
html[data-theme="dark"] .qb-code-expiry,html[data-theme="dark"] .qb-code-resend-form .qb-resend-countdown { color:#C3D7CB; }
html[data-theme="dark"] .qb-code-email { color:#F0F7E7; }
@media(max-width:380px){ .qb-code-box { font-size:20px; border-radius:8px; } }
@media(prefers-reduced-motion:reduce){.qb-code-box{transition:none}}
