/* Bexgram WhatsApp Brand Typography */
.bex-wa-brand-font { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif !important; font-weight: 700 !important; font-style: normal !important; letter-spacing: -0.5px !important; }
.bex-auth { --auth-bg:var(--wa-bg,#F7F9F8); --auth-surface:var(--wa-surface,#fff); --auth-text:var(--wa-text,#101820); --auth-muted:var(--wa-muted,#66717C); --auth-primary:var(--wa-primary,var(--wa-green,#00B86B)); --auth-hero:var(--wa-green-ink,#0B5C3B); --auth-soft:var(--wa-green-soft,#E8FFF2); --auth-border:var(--wa-line,#E5EBE8); --auth-input:var(--wa-input-bg,var(--wa-surface,#fff)); --auth-error:#F43F5E; --auth-error-bg:#fff2ef; --auth-shadow:0 18px 66px #183e2e0a,0 2px 8px #183e2e04; margin:0; background:var(--auth-bg); color:var(--auth-text); font-family:var(--wa-font); font-size:14px; line-height:1.5; -webkit-font-smoothing:antialiased; min-height:100vh; min-height:100dvh; max-width:100%; overflow-x:hidden; display:flex; flex-direction:column; }
html.dark .bex-auth { --auth-bg:var(--wa-bg); --auth-surface:var(--wa-surface); --auth-text:var(--wa-text); --auth-muted:var(--wa-muted,#afbeb7); --auth-primary:var(--wa-primary,var(--wa-green,#138f75)); --auth-hero:var(--wa-text,#ecf5ef); --auth-soft:var(--wa-green-soft,#163e33); --auth-border:var(--wa-line,#33473d); --auth-input:var(--wa-input-bg,#192820); --auth-error:#ffb4a8; --auth-error-bg:#4b2526; --auth-shadow:0 20px 70px #0003; }
html[data-theme='midnight'] .bex-auth { --auth-input:#171b18; --auth-border:#323c35; }
html[data-theme='mint'] .bex-auth,html[data-theme='blue'] .bex-auth,html[data-theme='rose'] .bex-auth,html[data-theme='sand'] .bex-auth { --auth-bg:var(--wa-bg); --auth-surface:var(--wa-surface); --auth-text:var(--wa-text); --auth-muted:var(--wa-text-secondary); --auth-primary:var(--wa-primary,var(--wa-green)); --auth-hero:var(--wa-text); --auth-soft:var(--wa-green-soft); --auth-border:var(--wa-line); --auth-input:var(--wa-surface); }
.bex-auth *, .bex-auth *::before, .bex-auth *::after { box-sizing:border-box; }
.bex-auth [hidden], .bex-auth .hidden, .hidden { display:none !important; }
.bex-auth-mode-switch { display:flex; align-items:center; justify-content:center; padding:4px; border-radius:12px; background:rgba(0,0,0,0.04); border:1px solid rgba(0,0,0,0.06); margin-bottom:20px; }
html.dark .bex-auth-mode-switch { background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.08); }
.auth-mode-btn { flex:1; padding:8px 12px; border-radius:8px; font-size:12px; font-weight:700; transition:all .15s ease; text-align:center; cursor:pointer; border:none; display:flex; align-items:center; justify-content:center; }
.auth-mode-btn.is-active { background:#00a884; color:#fff; box-shadow:0 1px 3px rgba(0,0,0,0.12); }
.auth-qr-container { position:relative; padding:14px; background:#fff; border-radius:24px; border:1px solid rgba(0,0,0,0.08); box-shadow:0 4px 12px rgba(0,0,0,0.04); margin-bottom:12px; display:flex; align-items:center; justify-content:center; min-width:220px; min-height:220px; }
.auth-qr-overlay { position:absolute; inset:0; border-radius:24px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:16px; background:rgba(255,255,255,0.96); backdrop-filter:blur(3px); z-index:10; }
html.dark .auth-qr-overlay { background:rgba(17,27,33,0.96); }
.bex-gender-cards-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:8px; }
.bex-gender-card { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:12px; border-radius:14px; border:2px solid var(--auth-border); background:var(--auth-surface); cursor:pointer; transition:all .2s ease; }
.bex-gender-card.is-selected { border-color:#00a884; background:rgba(0,168,132,0.06); }
.bex-gender-avatar-wrap { width:56px; height:56px; border-radius:50%; overflow:hidden; margin-bottom:8px; background:rgba(0,0,0,0.04); border:1px solid rgba(0,0,0,0.08); display:flex; align-items:center; justify-content:center; }
.bex-gender-check { position:absolute; top:8px; right:8px; width:20px; height:20px; border-radius:50%; background:#00a884; color:#fff; display:flex; align-items:center; justify-content:center; }
.bex-avatar-grid-preview { display:grid; grid-template-columns:repeat(6, 1fr); gap:8px; margin-top:10px; }
@media (max-width: 480px) { .bex-avatar-grid-preview { grid-template-columns:repeat(4, 1fr); } }
.bex-avatar-mini-btn { width:44px; height:44px; border-radius:50%; border:2px solid transparent; overflow:hidden; cursor:pointer; padding:0; background:rgba(0,0,0,0.04); transition:all .15s ease; }
.bex-avatar-mini-btn.is-active, .bex-avatar-mini-btn:hover { border-color:#00a884; transform:scale(1.08); box-shadow:0 2px 8px rgba(0,168,132,0.25); }
.bex-avatar-mini-btn img { width:100%; height:100%; object-fit:cover; display:block; }
.bex-photo-upload-zone { border:2px dashed var(--auth-border); border-radius:16px; padding:18px; text-align:center; background:rgba(0,0,0,0.01); transition:all .2s ease; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; }
.bex-photo-upload-zone:hover { border-color:#00a884; background:rgba(0,168,132,0.03); }
.bex-photo-preview-circle { width:72px; height:72px; border-radius:50%; overflow:hidden; border:2px solid #00a884; position:relative; box-shadow:0 2px 8px rgba(0,0,0,0.1); margin-bottom:6px; }
.bex-photo-preview-circle img { width:100%; height:100%; object-fit:cover; display:block; }
.bex-auth a { color:var(--auth-primary); text-underline-offset:4px; }
.bex-auth a.text-white,
.bex-auth a[class*="text-white"],
.bex-auth a[class*="bg-emerald"],
.bex-auth a[class*="bg-[var(--bex-primary)"],
.bex-auth a.bg-\[var\(--bex-primary\)\] { color: var(--color-bg-light) !important; }
.bex-auth button,.bex-auth input,.bex-auth select { font:inherit; }
.bex-auth button,.bex-auth select,.bex-auth input[type='radio'],.bex-auth input[type='checkbox'] { cursor:pointer; }
.bex-auth button { -webkit-tap-highlight-color:transparent; }
.bex-auth :focus-visible { outline:3px solid var(--auth-primary); outline-offset:4px; }
.bex-auth button:disabled { cursor:not-allowed; opacity:.6; }
.auth-icon { flex-shrink:0; width:20px; height:20px; display:inline-block; vertical-align:middle; }
.auth-sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.auth-skip { position:fixed; z-index:300; left:20px; top:-100px; background:var(--auth-surface); border:1px solid var(--auth-border); padding:12px 20px; border-radius:10px; }
.auth-skip:focus { top:14px; }
.auth-app { width:min(1240px,100%); margin:auto; padding:0 max(36px,env(safe-area-inset-right)) 0 max(36px,env(safe-area-inset-left)); display:flex; flex-direction:column; flex:1 0 auto; }
.auth-header { display:flex; align-items:center; justify-content:space-between; min-height:56px; gap:20px; border-bottom:1px solid var(--auth-border); }
.auth-brand { display:inline-flex; align-items:center; gap:10px; color:var(--auth-text) !important; text-decoration:none; min-height:44px; }
.auth-brand img { width:38px; height:38px; border-radius:11px; }
.auth-brand > span { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif !important; font-style:normal !important; font-weight:750; font-size:23px; letter-spacing:-.6px; line-height:1; }
.auth-brand-dot { color:var(--auth-primary); }
.auth-header-tools { display:flex; align-items:center; gap:24px; }
.auth-header-note { color:var(--auth-muted); display:flex; align-items:center; gap:8px; font-size:12px; }
.auth-header-note .auth-icon { width:17px; height:17px; }
.auth-theme { display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--auth-border); border-radius:13px; background:var(--auth-surface); color:var(--auth-text); }
.auth-theme:hover { background:var(--auth-soft); }
.auth-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,500px); align-items:center; gap:70px; padding:42px 0 52px; }
.auth-intro { min-width:0; padding:10px 0; }
.auth-eyebrow { display:inline-flex; align-items:center; gap:9px; color:var(--auth-primary); font-size:10px; font-weight:800; letter-spacing:1.6px; }
.auth-eyebrow > span { width:7px; height:7px; border-radius:50%; background:var(--auth-primary); box-shadow:0 0 0 5px var(--auth-soft); }
.auth-intro h1 { font-size:clamp(30px,4vw,40px); line-height:1.12; font-weight:750; letter-spacing:-1.6px; color:var(--auth-hero); margin:21px 0 21px; }
.auth-intro h1 em { color:var(--auth-primary); font-style:normal; }
.auth-intro-copy { color:var(--auth-muted); font-size:15px; line-height:1.85; margin:0; }
.auth-scene { position:relative; width:100%; max-width:430px; height:324px; margin:26px 0 15px; }
.auth-scene-orbit { width:292px; height:292px; border:1px solid var(--auth-border); border-radius:50%; position:absolute; left:28px; top:7px; }
.auth-scene-orbit::before,.auth-scene-orbit::after { content:''; position:absolute; border:1px solid var(--auth-border); border-radius:50%; inset:25px; }
.auth-scene-orbit::after { inset:50px; }
.auth-demo { position:absolute; width:310px; max-width:calc(100% - 45px); left:5px; top:20px; border:1px solid var(--auth-border); background:var(--auth-surface); padding:17px; border-radius:20px; box-shadow:0 20px 36px #163e3210; transform:rotate(-3deg); }
.auth-demo-header { display:flex; gap:9px; align-items:center; padding-bottom:13px; border-bottom:1px solid var(--auth-border); }
.auth-demo-avatar { position:relative; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--auth-primary); color:#fff; font-size:19px; font-weight:700; }
.auth-demo-avatar .auth-icon { position:absolute; right:-5px; bottom:-4px; width:17px; height:17px; border-radius:50%; background:var(--auth-surface); color:var(--auth-primary); padding:2px; }
.auth-demo-header strong { display:block; color:var(--auth-text); font-size:12px; }
.auth-demo-header div > span { display:block; color:var(--auth-muted); font-size:9px; margin-top:2px; }
.auth-demo-dots { margin-left:auto; color:var(--auth-muted); font-size:13px; letter-spacing:2px; }
.auth-demo-date { text-align:center; font-size:8px; letter-spacing:1px; color:var(--auth-muted); margin:13px 0; }
.auth-demo-message { background:var(--auth-bg); border:1px solid var(--auth-border); border-radius:1px 11px 11px; font-size:11px; width:205px; max-width:94%; padding:10px 11px; margin:8px 0; color:var(--auth-text); }
.auth-demo-name { display:block; color:var(--auth-primary); font-size:9px; font-weight:750; margin-bottom:4px; }
.auth-demo-time { display:block; text-align:right; font-size:8px; color:var(--auth-muted); margin-top:3px; }
.auth-demo-message.outgoing { margin-left:auto; border:0; border-radius:11px 1px 11px 11px; background:var(--auth-soft); width:151px; }
.auth-demo-time > span { color:var(--auth-primary); letter-spacing:-2px; margin-left:2px; }
.auth-demo-compose { margin-top:15px; display:flex; align-items:center; gap:10px; }
.auth-demo-compose > span { background:var(--auth-bg); flex:1; padding:10px 12px; border-radius:9px; font-size:9px; color:var(--auth-muted); }
.auth-demo-compose > i { display:grid; place-items:center; width:33px; height:33px; border-radius:50%; background:var(--auth-primary); color:white; }
.auth-demo-compose .auth-icon { width:17px; height:17px; }
.auth-scene-note { position:absolute; right:0; bottom:27px; display:flex; align-items:center; gap:11px; padding:14px 18px; border-radius:15px; border:1px solid var(--auth-border); background:var(--auth-surface); box-shadow:0 12px 25px #183e2e0b; transform:rotate(4deg); }
.auth-scene-note > .auth-icon { width:32px; height:32px; padding:6px; border-radius:10px; color:var(--auth-primary); background:var(--auth-soft); }
.auth-scene-note > span { font-size:10px; color:var(--auth-muted); line-height:1.7; }
.auth-scene-note strong { font-size:12px; color:var(--auth-text); }
.auth-scene-spark { position:absolute; top:24px; right:30px; color:var(--auth-primary); transform:rotate(12deg); }
.auth-scene-spark .auth-icon { width:28px; height:28px; }
.auth-features { display:flex; flex-wrap:wrap; gap:10px 14px; color:var(--auth-text); font-size:11px; font-weight:650; margin:22px 0 0; }
.auth-features > span { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; background:var(--auth-soft); color:var(--auth-text); border:1px solid var(--auth-border); transition:all .18s ease; }
.auth-features > span:hover { border-color:var(--auth-primary); transform:translateY(-1px); }
.auth-features .auth-icon { width:15px; height:15px; color:var(--auth-primary); }
.auth-device-note { font-size:12px; color:var(--auth-muted); margin:18px 0 8px; font-weight:500; display:flex; align-items:center; gap:6px; }
.auth-store-badges { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:6px; }
.auth-store-badge { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:12px; border:1px solid var(--auth-border); background:var(--auth-surface); color:var(--auth-text) !important; font-size:12px; font-weight:650; text-decoration:none !important; box-shadow:0 1px 3px rgba(0,0,0,.04); transition:all .18s cubic-bezier(.16,1,.3,1); cursor:pointer; touch-action:manipulation; }
.auth-store-badge svg { flex-shrink:0; color:var(--auth-primary); transition:transform .15s ease; }
.auth-store-badge:hover { background:var(--auth-soft); border-color:var(--auth-primary); color:var(--auth-primary) !important; transform:translateY(-2px); box-shadow:0 4px 14px rgba(0,0,0,.08); }
.auth-store-badge:hover svg { transform:scale(1.12); }
.auth-store-badge:active { transform:scale(.96); }
html.dark .auth-store-badge { box-shadow:0 2px 8px rgba(0,0,0,.3); }
.auth-card { min-width:0; width:100%; background:var(--auth-surface); border:1px solid var(--auth-border); border-radius:24px; padding:26px 32px 0; box-shadow:var(--auth-shadow); overflow:hidden; }
.auth-card:focus { outline:none; }
.auth-tabs { display:flex; gap:4px; padding:5px; border-radius:13px; background:var(--auth-bg); border:1px solid var(--auth-border); margin-bottom:29px; }
.auth-tab { flex:1; min-height:44px; display:flex; align-items:center; justify-content:center; border-radius:9px; text-decoration:none; color:var(--auth-muted) !important; font-weight:700; font-size:13px; }
.auth-tab.is-active,.auth-tab[aria-current='page'] { background:var(--auth-surface); color:var(--auth-primary) !important; box-shadow:0 2px 6px #163e3208; }
.auth-card-content { padding-bottom:26px; }
.auth-heading { margin-bottom:25px; }
.auth-kicker { display:block; color:var(--auth-primary); font-size:9px; letter-spacing:1.45px; font-weight:800; margin-bottom:9px; }
.auth-heading h2 { margin:0; color:var(--auth-text); font-size:27px; line-height:1.28; font-weight:750; letter-spacing:-1px; }
.auth-heading p { font-size:12px; color:var(--auth-muted); line-height:1.7; margin:11px 0 0; }
.auth-form { display:grid; gap:20px; min-width:0; }
.auth-field { min-width:0; }
.auth-field > label,.auth-account-types > legend { display:block; font-weight:650; color:var(--auth-text); font-size:12px; margin-bottom:8px; }
.auth-input-wrap { display:flex; align-items:center; min-width:0; min-height:44px; gap:10px; padding:0 13px; border:1px solid var(--auth-border); border-radius:11px; background:var(--auth-input); transition:border-color .15s,box-shadow .15s; }
.auth-input-wrap > .auth-icon { color:var(--auth-muted); width:18px; height:18px; }
.auth-input-wrap:focus-within { border-color:var(--auth-primary); box-shadow:0 0 0 3px var(--auth-soft); }
.auth-input-wrap input { width:100%; flex:1; min-width:0; height:44px; border:0; outline:none; color:var(--auth-text); background:transparent; font-size:14px; padding:10px 0; border-radius:0; }
.auth-input-wrap input::placeholder { color:var(--auth-muted); opacity:.85; }
html.dark .bex-auth .auth-input-wrap input { background-color:transparent !important; color:var(--auth-text) !important; border:0 !important; }
html.dark .bex-auth .auth-phone-row select,html.dark .bex-auth .auth-code { background-color:var(--auth-input) !important; color:var(--auth-text) !important; border-color:var(--auth-border) !important; }
.auth-input-wrap:has(input[aria-invalid='true']),.auth-input-wrap.is-error,.auth-input-wrap.has-error { border-color:var(--auth-error); }
.auth-password-toggle { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; padding:0; margin-right:-10px; border:0; background:transparent; color:var(--auth-muted); border-radius:8px; }
.auth-password-toggle:hover { color:var(--auth-primary); background:var(--auth-soft); }
.auth-help { margin:8px 0 0; font-size:10px; line-height:1.65; color:var(--auth-muted); }
.auth-field-error,.auth-caps { color:var(--auth-error); margin:7px 0 0; font-size:11px; line-height:1.65; }
.auth-caps { color:var(--auth-muted); }
.auth-button { display:flex; align-items:center; justify-content:center; gap:12px; border:1px solid transparent; border-radius:11px; width:100%; min-height:44px; padding:12px 18px; font-size:13px; font-weight:750; text-decoration:none; transition:background .15s,transform .15s; }
.auth-button--primary { background:var(--auth-primary); color:#fff !important; box-shadow:0 4px 12px #08745c14; }
.auth-button--primary:hover { filter:brightness(.94); }
.auth-button--secondary,.auth-button--back { color:var(--auth-text) !important; background:var(--auth-surface); border-color:var(--auth-border); }
.auth-button--secondary:hover,.auth-button--back:hover { background:var(--auth-soft); }
.auth-button .auth-icon { width:18px; height:18px; }
.auth-button.is-loading,.auth-button[aria-busy='true'] { cursor:wait; }
.auth-divider { display:flex; align-items:center; gap:13px; margin:26px 0 19px; color:var(--auth-muted); font-size:10px; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:var(--auth-border); }
.auth-quiet-note { display:flex; align-items:center; justify-content:center; gap:7px; color:var(--auth-muted); margin:19px 0 0; font-size:10px; }
.auth-quiet-note .auth-icon { width:14px; height:14px; }
.auth-card-footer { display:flex; justify-content:center; align-items:center; gap:8px; min-height:51px; margin:0 -32px; padding:10px 18px; color:var(--auth-muted); border-top:1px solid var(--auth-border); background:var(--auth-input); font-size:9px; }
.auth-card-footer .auth-icon { width:14px; height:14px; color:var(--auth-primary); }
.auth-footer-dot { width:3px; height:3px; border-radius:50%; background:var(--auth-border); }
.auth-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; min-height:80px; padding:16px 0 max(20px,env(safe-area-inset-bottom)); border-top:1px solid var(--auth-border); font-size:10px; color:var(--auth-muted); }
.auth-footer nav { display:flex; flex-wrap:wrap; gap:18px; }
.auth-footer a { display:inline-flex; align-items:center; min-height:44px; color:var(--auth-muted); text-decoration:none; }
.auth-footer a:hover { color:var(--auth-primary); text-decoration:underline; }
.auth-banner { display:flex; align-items:flex-start; gap:10px; padding:13px 14px; margin:0 0 24px; border-radius:11px; background:var(--auth-soft); color:var(--auth-text); border:1px solid var(--auth-border); }
.auth-banner > .auth-icon { width:18px; height:18px; margin-top:1px; }
.auth-banner p { font-size:12px; line-height:1.65; margin:0; }
.auth-banner--error { background:var(--auth-error-bg); border-color:var(--auth-error); color:var(--auth-error); }
.auth-banner--warn { background:var(--auth-soft); }
.auth-progress { margin:0 0 24px; }
.auth-progress ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; margin:0; list-style:none; }
.auth-progress li { min-width:0; position:relative; }
.auth-progress li + li::before { content:''; position:absolute; z-index:0; left:-20px; right:calc(100% - 20px); top:17px; height:1px; background:var(--auth-border); }
.auth-progress button { display:flex; flex-direction:column; align-items:center; gap:7px; width:100%; min-height:58px; border:0; padding:0 5px; background:transparent; font-size:10px; font-weight:650; color:var(--auth-muted); position:relative; z-index:1; }
.auth-step-number { display:grid; place-items:center; width:34px; height:34px; border:1px solid var(--auth-border); border-radius:50%; background:var(--auth-surface); color:var(--auth-muted); font-size:12px; font-weight:750; }
.auth-progress [aria-current='step'] { color:var(--auth-primary); }
.auth-progress [aria-current='step'] .auth-step-number { background:var(--auth-primary); border-color:var(--auth-primary); color:#fff; box-shadow:0 0 0 4px var(--auth-soft); }
.auth-progress .is-complete .auth-step-number,.auth-progress .is-done .auth-step-number,.auth-progress [data-complete='true'] .auth-step-number { border-color:var(--auth-primary); background:var(--auth-soft); color:var(--auth-primary); }
.auth-step { display:grid; gap:19px; border:0; padding:0; margin:0; min-width:0; }
.auth-step > legend { width:100%; font-size:17px; color:var(--auth-text); font-weight:750; margin:0 0 3px; padding:0; letter-spacing:-.35px; }
.auth-step-copy { font-size:11px; color:var(--auth-muted); margin:3px 0 0; line-height:1.65; }
.auth-account-types { border:0; padding:0; margin:0; min-width:0; }
.auth-account-types > legend { padding:0; }
.auth-account-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.auth-account-option { position:relative; display:block; min-width:0; cursor:pointer; }
.auth-account-option > input { position:absolute; opacity:0; width:1px; height:1px; }
.auth-account-option > span { display:flex; align-items:center; flex-direction:column; gap:7px; min-height:106px; border:1px solid var(--auth-border); border-radius:11px; background:var(--auth-input); padding:14px 5px 11px; text-align:center; }
.auth-account-option .auth-icon { width:21px; height:21px; color:var(--auth-muted); }
.auth-account-option strong { font-size:11px; font-weight:700; color:var(--auth-text); }
.auth-account-option small { font-size:9px; color:var(--auth-muted); line-height:1.3; }
.auth-account-option > input:checked + span { border-color:var(--auth-primary); background:var(--auth-soft); box-shadow:inset 0 0 0 1px var(--auth-primary); }
.auth-account-option > input:checked + span .auth-icon { color:var(--auth-primary); }
.auth-account-option > input:focus-visible + span { outline:3px solid var(--auth-primary); outline-offset:3px; }
.auth-customize { border:1px solid var(--auth-border); border-radius:11px; padding:0 13px; background:var(--auth-input); }
.auth-customize summary { display:flex; align-items:center; flex-wrap:wrap; gap:7px; min-height:48px; font-size:11px; color:var(--auth-text); font-weight:650; cursor:pointer; list-style:none; }
.auth-customize summary::-webkit-details-marker { display:none; }
.auth-customize summary::after { content:'+'; font-size:19px; font-weight:400; margin-left:auto; color:var(--auth-muted); }
.auth-customize[open] summary::after { content:'−'; }
.auth-customize summary .auth-icon { width:16px; height:16px; color:var(--auth-primary); }
.auth-customize summary > span { font-size:9px; font-weight:400; color:var(--auth-muted); }
.auth-customize > .auth-help { margin-bottom:12px; }
.auth-upload-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.auth-upload-preview { display:grid; place-items:center; height:93px; border:1px dashed var(--auth-border); border-radius:10px; color:var(--auth-muted); background:var(--auth-bg); overflow:hidden; margin-bottom:9px; }
.auth-upload-preview > .auth-icon { width:28px; height:28px; }
.auth-upload-preview img { width:70px; height:70px; border-radius:50%; object-fit:cover; }
.auth-upload-preview--cover img { width:100%; height:100%; border-radius:0; }
.auth-upload input[type='file'] { display:block; width:100%; min-width:0; min-height:44px; color:var(--auth-muted); font-size:12px; overflow:hidden; }
.auth-upload input[type='file']::file-selector-button { min-height:38px; max-width:100%; background:var(--auth-surface); border:1px solid var(--auth-border); border-radius:8px; color:var(--auth-text); font-size:10px; padding:8px; margin-right:5px; cursor:pointer; }
.auth-text-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; border:0; padding:8px 0; font-size:11px; font-weight:700; background:transparent; color:var(--auth-primary); text-underline-offset:3px; }
.auth-text-button:hover { text-decoration:underline; }
.auth-text-button:disabled { opacity:.55; cursor:not-allowed; text-decoration:none; }
.auth-countdown { margin:8px 0 0; color:var(--auth-primary); font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; line-height:1.5; }
#sms-recaptcha { position:absolute; width:1px; height:1px; overflow:hidden; }
.auth-phone-row { display:grid; grid-template-columns:108px minmax(0,1fr); gap:9px; }
.auth-phone-row > div { min-width:0; }
.auth-phone-row select { width:100%; min-height:50px; border:1px solid var(--auth-border); border-radius:11px; background:var(--auth-input); color:var(--auth-text); font-size:12px; padding:10px 9px; }
.auth-info-box { display:flex; align-items:flex-start; gap:10px; padding:13px 14px; border:1px solid var(--auth-border); border-radius:11px; background:var(--auth-soft); color:var(--auth-primary); }
.auth-info-box .auth-icon { margin-top:1px; width:19px; height:19px; }
.auth-info-box p { color:var(--auth-muted); font-size:11px; line-height:1.7; margin:0; }
.auth-info-box strong { color:var(--auth-text); }
.auth-strength { display:flex; align-items:center; gap:10px; margin-top:9px; font-size:9px; color:var(--auth-muted); }
.auth-strength-track { flex:1; height:4px; border-radius:4px; background:var(--auth-border); overflow:hidden; }
.auth-strength-track > span { display:block; height:100%; width:0; border-radius:4px; background:var(--auth-primary); transition:width .2s; }
.auth-summary { padding:14px; background:var(--auth-bg); border:1px solid var(--auth-border); border-radius:11px; }
.auth-summary-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.auth-summary-heading > strong { font-size:12px; }
.auth-summary .auth-text-button { min-height:44px; padding:0; font-size:10px; }
.auth-summary dl { display:grid; gap:9px; margin:5px 0 0; }
.auth-summary dl > div { display:grid; grid-template-columns:56px minmax(0,1fr); gap:9px; font-size:10px; }
.auth-summary dt { color:var(--auth-muted); }
.auth-summary dd { margin:0; color:var(--auth-text); overflow-wrap:anywhere; }
.auth-consents { display:grid; gap:11px; }
.auth-field > label.auth-checkbox { display:flex; align-items:flex-start; gap:9px; font-size:11px; font-weight:400; line-height:1.8; margin:0; min-height:44px; cursor:pointer; }
.auth-checkbox > input { appearance:auto; flex-shrink:0; width:18px; height:18px; margin:2px 0 0; accent-color:var(--auth-primary); }
.auth-checkbox > span { min-width:0; }
.auth-checkbox a { font-weight:650; }
.auth-step-actions { display:flex; gap:10px; margin-top:2px; }
.auth-step-actions > .auth-button { flex:1; min-width:0; }
.auth-step-actions > .auth-button--back { flex:0 0 96px; gap:7px; padding:12px 8px; }
.auth-register-note { display:flex; align-items:center; justify-content:center; gap:6px; margin:-7px 0 0; color:var(--auth-muted); font-size:9px; line-height:1.7; text-align:center; }
.auth-register-note .auth-icon { width:14px; height:14px; }
.auth-switch-note { font-size:11px; line-height:1.6; text-align:center; margin:18px 0 0; color:var(--auth-muted); }
.auth-switch-note a { display:inline-flex; align-items:center; min-height:44px; font-weight:750; text-decoration:none; margin-left:4px; }
.auth-closed { padding:20px 0 0; color:var(--auth-muted); }
.auth-closed > .auth-icon { color:var(--auth-primary); width:30px; height:30px; }
.auth-closed h3 { font-size:17px; color:var(--auth-text); }
.auth-closed p { font-size:12px; line-height:1.8; margin-bottom:22px; }
.auth-verification-symbol { display:grid; place-items:center; width:58px; height:58px; background:var(--auth-soft); color:var(--auth-primary); border-radius:18px; margin:4px 0 22px; }
.auth-verification-symbol .auth-icon { width:29px; height:29px; }
.auth-verification-destination { font-size:11px; color:var(--auth-muted); line-height:1.7; margin:0 0 22px; overflow-wrap:anywhere; }
.auth-verification-destination strong { color:var(--auth-text); }
.auth-code { display:block; min-width:0; width:100%; height:64px; border:1px solid var(--auth-border); border-radius:12px; background:var(--auth-input); color:var(--auth-text); font-size:28px !important; letter-spacing:12px; text-align:center; padding:10px 0 10px 12px; font-variant-numeric:tabular-nums; }
.auth-code::placeholder { color:var(--auth-muted); opacity:.45; }
.auth-code[aria-invalid='true'] { border-color:var(--auth-error); }
.auth-resend { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; font-size:11px; color:var(--auth-muted); margin:15px 0 0; }
.auth-verification-back { display:flex; align-items:center; justify-content:center; gap:6px; min-height:44px; text-decoration:none; font-size:11px; margin-top:16px; color:var(--auth-muted) !important; }
.auth-verification-back .auth-icon { width:15px; height:15px; }
.bex-auth[data-auth-view='verify'] .auth-card { padding-top:30px; }
@media (min-width:901px) and (max-width:1100px) { .auth-app { padding-left:28px; padding-right:28px; }.auth-layout { grid-template-columns:minmax(0,1fr) minmax(0,455px); gap:35px; }.auth-intro h1 { font-size:36px; }.auth-features { gap:10px; font-size:9px; }.auth-scene-note { right:3px; bottom:19px; padding:12px; }.auth-scene-spark { right:5px; }.auth-demo { max-width:calc(100% - 23px); } }
@media (min-width:1024px) { .auth-form > .auth-button, .auth-step-actions { max-width:420px; margin-inline:auto; width:100%; } }
@media (max-width:900px) { .auth-app { width:min(610px,100%); padding-left:max(24px,env(safe-area-inset-left)); padding-right:max(24px,env(safe-area-inset-right)); }.auth-header { min-height:68px; }.auth-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; padding:26px 0 30px; }.auth-intro { padding:0; }.auth-intro h1 { font-size:32px; line-height:1.15; letter-spacing:-1.4px; margin:12px 0 10px; }.auth-intro h1 br { display:none; }.auth-intro h1 br::after { content:' '; }.auth-intro-copy { font-size:12px; line-height:1.7; }.auth-intro-copy br { display:none; }.auth-scene,.auth-features,.auth-device-note { display:none; }.auth-eyebrow { font-size:9px; letter-spacing:1.3px; }.auth-card { padding:25px 28px 0; }.auth-card-footer { margin-left:-28px; margin-right:-28px; }.auth-footer { justify-content:center; min-height:70px; gap:0 20px; text-align:center; }.auth-footer-platform { display:none; }.auth-header-note { font-size:11px; }.auth-header-tools { gap:14px; }.auth-heading h2 { font-size:24px; } }
@media (max-width:520px) { .auth-app { padding-left:max(18px,env(safe-area-inset-left)); padding-right:max(18px,env(safe-area-inset-right)); }.auth-header { min-height:64px; }.auth-brand > span { font-size:22px; }.auth-brand img { width:32px; height:32px; }.auth-header-note { display:none; }.auth-layout { gap:22px; padding:25px 0 24px; }.auth-intro h1 { font-size:30px; margin-bottom:10px; }.auth-intro-copy { max-width:320px; font-size:11px; }.auth-card { border-radius:20px; padding:22px 22px 0; }.auth-card-footer { margin-left:-22px; margin-right:-22px; }.auth-tabs { margin-bottom:23px; }.auth-card-content { padding-bottom:21px; }.auth-heading { margin-bottom:22px; }.auth-heading h2 { font-size:22px; letter-spacing:-.8px; }.auth-heading p { font-size:11px; }.auth-input-wrap input { font-size:16px; }.auth-phone-row select { font-size:16px; }.auth-field > label,.auth-account-types > legend { font-size:12px; }.auth-phone-row { grid-template-columns:108px minmax(0,1fr); gap:8px; }.auth-input-wrap { gap:8px; padding-left:11px; padding-right:11px; }.auth-account-grid { gap:7px; }.auth-account-option > span { padding:13px 3px 10px; min-height:103px; }.auth-account-option strong { font-size:11px; }.auth-account-option small { font-size:10px; line-height:1.35; }.auth-customize { padding-left:11px; padding-right:11px; }.auth-customize summary { font-size:12px; gap:5px; }.auth-customize summary > span { font-size:10px; }.auth-customize summary .auth-icon { width:15px; height:15px; }.auth-upload-grid { grid-template-columns:minmax(0,1fr); }.auth-footer { font-size:11px; }.auth-footer nav { gap:14px; }.auth-summary dl > div { grid-template-columns:64px minmax(0,1fr); }.auth-step-actions { flex-wrap:wrap; }.auth-step-actions > .auth-button--back { flex:1 1 88px; }.auth-step-actions .auth-button { padding-left:11px; padding-right:11px; font-size:13px; }.auth-help { font-size:11px; }.auth-checkbox > span { font-size:12px; }.auth-step-copy { font-size:12px; } }
@media (max-width:360px) { .auth-app { padding-left:max(12px,env(safe-area-inset-left)); padding-right:max(12px,env(safe-area-inset-right)); }.auth-card { padding-left:17px; padding-right:17px; border-radius:18px; }.auth-card-footer { margin-left:-17px; margin-right:-17px; }.auth-heading h2 { font-size:23px; }.auth-intro h1 { font-size:28px; }.auth-customize summary > span { display:none; }.auth-upload-grid { gap:9px; }.auth-account-grid { grid-template-columns: 1fr; }.auth-phone-row { grid-template-columns: 96px minmax(0,1fr); }.auth-account-option strong { font-size:11px; }.auth-account-option small { font-size:10px; }.auth-code { letter-spacing:8px; padding-left:8px; font-size:24px !important; }.auth-progress button { font-size:9px; }.auth-footer { gap:0 12px; } }
@media (prefers-reduced-motion:reduce) { .bex-auth *,.bex-auth *::before,.bex-auth *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
@media (forced-colors:active) { .auth-card,.auth-input-wrap,.auth-button,.auth-tabs,.auth-tab,.auth-account-option > span,.auth-theme,.auth-phone-row select,.auth-code { border:1px solid CanvasText; }.auth-button--primary,.auth-progress [aria-current='step'] .auth-step-number { background:Highlight; color:HighlightText !important; }.auth-account-option > input:checked + span,.auth-tab.is-active { outline:2px solid Highlight; }.auth-input-wrap input { color:CanvasText; }.auth-scene { display:none; } }

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP WEB DESKTOP ARŞİTEKTÜRÜ (https://web.whatsapp.com)
   ═══════════════════════════════════════════════════════════════ */
.bex-wa-web-top-banner {
  display: none;
}
.bex-wa-web-desktop-shell {
  display: none;
}

@media (min-width: 768px) {
  body.bex-auth:not(.is-native-app):not(.is-ios-device):not(.is-mobile-device):not([data-auth-view='register']) {
    background: #eae6df !important;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 !important;
    margin: 0 !important;
  }
  html.dark body.bex-auth {
    background: #0c1317 !important;
  }

  body.bex-auth:not(.is-native-app):not(.is-ios-device):not(.is-mobile-device):not([data-auth-view='register']) .bex-wa-web-desktop-shell {
    display: flex !important;
    flex-direction: column;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 36px 20px 48px;
    box-sizing: border-box;
    min-height: 100vh;
  }

  .bex-wa-web-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    width: 100%;
  }
  .bex-wa-web-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
  }
  .bex-wa-web-brand span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    color: #00a884;
    letter-spacing: -0.5px;
  }

  /* 1. Üst Banner: Windows için Bexgram'ı İndirin */
  .bex-wa-download-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg-light);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 20px;
    padding: 16px 26px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    box-sizing: border-box;
  }
  html.dark .bex-wa-download-banner {
    background: var(--color-bg-dark);
    border-color: rgba(255,255,255,0.08);
  }
  .bex-wa-download-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
  }
  .bex-wa-laptop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .bex-wa-download-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-bg-dark);
    margin: 0 0 3px 0;
    line-height: 1.25;
  }
  html.dark .bex-wa-download-text h4 {
    color: #e9edef;
  }
  .bex-wa-download-text p {
    font-size: 13px;
    color: #54656f;
    margin: 0;
    line-height: 1.35;
  }
  html.dark .bex-wa-download-text p {
    color: #8696a0;
  }
  .bex-wa-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00a884;
    color: var(--color-bg-light) !important;
    padding: 9px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: all 0.15s ease;
  }
  .bex-wa-download-btn:hover {
    background: #02906f;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,168,132,0.3);
  }

  /* 2. Ana Kart (Müstakil WhatsApp Web Kutusu) */
  .bex-wa-web-card {
    background: var(--color-bg-light);
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 48px 56px;
    display: block !important;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.08);
    width: 100%;
  }
  html.dark .bex-wa-web-card {
    background: var(--color-bg-dark);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  }

  /* 2.1 WhatsApp Web 2-Kolon Izgarası (Sol Talimatlar + Sağ QR) */
  .bex-wa-grid-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr) !important;
    gap: 52px !important;
    align-items: center !important;
    width: 100% !important;
  }
  @media (max-width: 767px) {
    .bex-wa-grid-layout {
      grid-template-columns: 1fr !important;
      gap: 32px !important;
    }
  }

  .bex-wa-left-col {
    min-width: 0;
  }

  .bex-wa-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .bex-wa-main-title {
    font-size: 27px;
    font-weight: 500;
    color: var(--color-bg-dark);
    margin: 0 0 24px 0;
    letter-spacing: -0.4px;
  }
  html.dark .bex-wa-main-title {
    color: #e9edef;
  }
  .bex-wa-sub-title {
    font-size: 13.5px;
    color: #54656f;
    margin: -16px 0 20px 0;
  }
  html.dark .bex-wa-sub-title {
    color: #8696a0;
  }

  .bex-wa-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .bex-wa-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--color-bg-dark);
  }
  html.dark .bex-wa-steps li {
    color: #e9edef;
  }
  .bex-wa-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #8696a0;
    font-size: 11px;
    font-weight: 700;
    color: #54656f;
    flex-shrink: 0;
    margin-top: 1px;
  }
  html.dark .bex-wa-step-num {
    border-color: #8696a0;
    color: #8696a0;
  }

  .bex-wa-help-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #00a884;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 28px;
  }
  .bex-wa-help-link:hover {
    text-decoration: underline;
  }

  .bex-wa-left-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  html.dark .bex-wa-left-footer {
    border-top-color: rgba(255,255,255,0.06);
  }

  .bex-wa-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--color-bg-dark);
    cursor: pointer;
    user-select: none;
  }
  html.dark .bex-wa-checkbox-label {
    color: #e9edef;
  }
  .bex-wa-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #00a884;
    border-radius: 4px;
    cursor: pointer;
  }
  .bex-wa-info-icon {
    font-size: 12px;
    color: #8696a0;
    cursor: help;
  }

  .bex-wa-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    color: #00a884;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease;
  }
  .bex-wa-phone-link:hover {
    color: #02906f;
    text-decoration: underline;
  }

  /* 3. Sağ Taraf: QR Kodu Kutusu */
  .bex-wa-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .bex-wa-qr-frame {
    position: relative;
    width: 260px;
    height: 260px;
    background: #ffffff !important;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    box-sizing: border-box;
  }
  .bex-wa-qr-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .bex-wa-qr-center-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  .bex-wa-qr-overlay {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
    z-index: 10;
  }
  html.dark .bex-wa-qr-overlay {
    background: rgba(17,27,33,0.96);
  }

  /* 4. Alt Bilgi Footer (Görseldeki Gibi) */
  .bex-wa-web-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    text-align: center;
  }
  .bex-wa-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--color-bg-dark);
    font-weight: 600;
    text-decoration: none;
  }
  .bex-wa-footer-link:hover {
    text-decoration: underline;
    color: #00a884;
  }
  html.dark .bex-wa-footer-link {
    color: #e9edef;
  }
  .bex-wa-footer-security {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #54656f;
  }
  html.dark .bex-wa-footer-security {
    color: #8696a0;
  }
  .bex-wa-footer-legal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #8696a0;
  }
  .bex-wa-footer-legal a {
    color: #8696a0 !important;
    text-decoration: none;
  }
  .bex-wa-footer-legal a:hover {
    text-decoration: underline;
  }

  /* Masaüstünde mobil form gizlenir (yalnızca desktop web tarayıcısında) */
  body.bex-auth:not(.is-native-app):not(.is-ios-device):not(.is-mobile-device):not([data-auth-view='register']) .bex-mobile-view {
    display: none !important;
  }
}

/* Masaüstü Doğrulama Kartı */
.bex-wa-web-card--verify {
  max-width: 820px;
  margin: 0 auto;
}

/* Mobilde (<= 767px): Masaüstü WhatsApp Web yapısı gizlenir */
@media (max-width: 767px) {
  .bex-desktop-view,
  .bex-wa-web-desktop-shell {
    display: none !important;
  }
}



/* WhatsApp Web Güvenlik ve QR Yenileme Ek Bileşenleri */
.bex-wa-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #00a884;
  background-color: rgba(0, 168, 132, 0.08);
  border: 1px solid rgba(0, 168, 132, 0.2);
}
.bex-wa-qr-reload-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #8696a0;
  padding: 4px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.bex-wa-qr-reload-btn:hover {
  color: #00a884;
  background-color: rgba(0, 168, 132, 0.1);
}
.bex-app-dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--auth-border, rgba(0,0,0,0.1));
  background: var(--auth-surface, var(--color-bg-light));
  color: var(--auth-text, var(--color-bg-dark));
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.bex-app-dl-badge:hover {
  border-color: #00a884;
  color: #00a884;
  background-color: rgba(0, 168, 132, 0.06);
}
.auth-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--auth-border, #e5ebe8);
  background: var(--auth-surface, var(--color-bg-light));
  color: var(--auth-text, var(--color-bg-dark));
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}
.auth-secondary-btn:hover {
  background: var(--auth-soft, #e8fff2);
  border-color: #00a884;
  color: #00a884;
}

/* Responsive Cihaz ve Ekran Görünümü */
body.is-native-app .bex-desktop-view,
body.is-ios-device .bex-desktop-view,
body.is-mobile-device .bex-desktop-view,
html.is-native-app .bex-desktop-view,
body[data-auth-view='register'] .bex-desktop-view {
  display: none !important;
}

body.is-native-app .bex-mobile-view,
body.is-ios-device .bex-mobile-view,
body.is-mobile-device .bex-mobile-view,
html.is-native-app .bex-mobile-view,
body[data-auth-view='register'] .bex-mobile-view {
  display: flex !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 20px auto !important;
}

body.is-native-app .bex-wa-download-banner,
body.is-ios-device .bex-wa-download-banner,
html.is-native-app .bex-wa-download-banner {
  display: none !important;
}

@media (min-width: 768px) {
  body:not(.is-native-app):not(.is-ios-device):not(.is-mobile-device):not([data-auth-view='register']) .bex-desktop-view,
  body:not(.is-native-app):not(.is-ios-device):not(.is-mobile-device):not([data-auth-view='register']) .bex-wa-web-desktop-shell {
    display: flex !important;
  }
  body:not(.is-native-app):not(.is-ios-device):not(.is-mobile-device):not([data-auth-view='register']) .bex-mobile-view {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .bex-desktop-view,
  .bex-wa-web-desktop-shell {
    display: none !important;
  }
  .bex-mobile-view {
    display: flex !important;
  }
}
/* Dil Seçici Dropdown & Popover */
.bex-lang-dropdown {
  position: relative;
}
.bex-lang-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-bg-light);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 6px;
  z-index: 100;
  display: none;
}
.bex-lang-popover.is-open,
.bex-lang-popover.show {
  display: block !important;
}
html.dark .bex-lang-popover {
  background: #1f2c34;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}
.bex-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-bg-dark);
  text-decoration: none;
  transition: background 0.12s ease;
}
html.dark .bex-lang-item {
  color: #e9edef;
}
.bex-lang-item:hover {
  background: rgba(0, 168, 132, 0.1);
  color: #00a884;
}
.bex-lang-item.selected {
  background: rgba(0, 168, 132, 0.15);
  color: #00a884;
}

/* WhatsApp Web 2026 Exact Pairing Code Boxes */
.bex-pair-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #ffffff;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 22px;
  font-weight: 700;
  color: #111b21;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
}
html.dark .bex-pair-box {
  background: #1f2c34;
  border-color: rgba(255, 255, 255, 0.16);
  color: #e9edef;
}
.bex-wa-web-desktop-shell {
  max-width: 960px !important;
}


/* ═══════════════════════════════════════════════════════════════
   BEXGRAM 2026 ULTRA-MODERN AUTH & LIVE VALIDATION ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* Smooth Modern Card Glassmorphism */
.auth-card {
  border-radius: 26px !important;
  background: var(--auth-surface) !important;
  border: 1px solid var(--auth-border) !important;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
html.dark .auth-card {
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

/* Modern Pill Tabs */
.auth-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 16px !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  margin-bottom: 26px;
}
html.dark .auth-tabs {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.auth-tab {
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: var(--auth-muted) !important;
}
.auth-tab.is-active,
.auth-tab[aria-current='page'] {
  background: var(--auth-surface) !important;
  color: #008069 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07) !important;
}
html.dark .auth-tab.is-active,
html.dark .auth-tab[aria-current='page'] {
  color: #00a884 !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Modern Input Wrap */
.auth-input-wrap {
  position: relative;
  border-radius: 14px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  background: var(--auth-input) !important;
  border: 1.5px solid var(--auth-border) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.auth-input-wrap input {
  height: 48px !important;
  font-size: 14.5px !important;
  font-weight: 500;
}
.auth-input-wrap:focus-within {
  border-color: #00a884 !important;
  box-shadow: 0 0 0 3.5px rgba(0, 168, 132, 0.16) !important;
  background: var(--auth-surface) !important;
}
.auth-input-wrap:focus-within > .auth-icon {
  color: #00a884 !important;
}

/* Availability & Validation Status Rings */
.auth-input-wrap.is-taken,
.auth-input-wrap.has-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.12) !important;
}
.auth-input-wrap.is-taken > .auth-icon,
.auth-input-wrap.has-error > .auth-icon {
  color: #ef4444 !important;
}
.auth-input-wrap.is-available {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.14) !important;
}
.auth-input-wrap.is-available > .auth-icon {
  color: #10b981 !important;
}

/* End-of-Input Status Badge (X, OK, or Spinner) */
.auth-field-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 6px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: authStatusPop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes authStatusPop {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* Spinner during AJAX check */
.auth-field-status.is-checking {
  color: #00a884;
  background: rgba(0, 168, 132, 0.1);
}
.auth-field-status.is-checking svg {
  animation: authSpin 0.75s linear infinite;
}
@keyframes authSpin {
  100% { transform: rotate(360deg); }
}

/* Taken / Invalid -> Red Cross X */
.auth-field-status.is-taken {
  background: #fee2e2;
  color: #dc2626;
  border: 1.5px solid rgba(220, 38, 38, 0.3);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}
html.dark .auth-field-status.is-taken {
  background: rgba(220, 38, 38, 0.22);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
}

/* Available / Valid -> Green Checkmark ✓ */
.auth-field-status.is-available {
  background: #d1fae5;
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}
html.dark .auth-field-status.is-available {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.4);
}

/* Inline Feedback Messages below input */
.auth-field-error {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #dc2626 !important;
  font-weight: 550 !important;
  animation: authFadeIn 0.2s ease-out;
}
html.dark .auth-field-error {
  color: #f87171 !important;
}

.auth-field-success {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #059669 !important;
  font-weight: 550 !important;
  animation: authFadeIn 0.2s ease-out;
}
html.dark .auth-field-success {
  color: #34d399 !important;
}

@keyframes authFadeIn {
  0% { opacity: 0; transform: translateY(-3px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Modern Primary Buttons */
.auth-button--primary {
  background: linear-gradient(135deg, #00a884 0%, #008f6f 100%) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  min-height: 48px !important;
  box-shadow: 0 4px 16px rgba(0, 168, 132, 0.28) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.auth-button--primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(0, 168, 132, 0.38) !important;
  filter: brightness(1.03);
}
.auth-button--primary:active {
  transform: scale(0.985);
}

/* Modern Secondary & Back Buttons */
.auth-button--back,
.auth-button--secondary {
  border-radius: 14px !important;
  min-height: 48px !important;
  font-weight: 650 !important;
  border: 1.5px solid var(--auth-border) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.auth-button--back:hover,
.auth-button--secondary:hover {
  border-color: #00a884 !important;
  background: rgba(0, 168, 132, 0.06) !important;
}

/* Progress Step Indicator */
.auth-progress {
  margin-bottom: 24px !important;
}
.auth-progress ol {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.auth-progress ol::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--auth-border);
  z-index: 1;
}
.auth-progress li {
  position: relative;
  z-index: 2;
  text-align: center;
}
.auth-progress button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--auth-muted);
  transition: all 0.2s ease;
  padding: 0 4px;
}
.auth-progress .auth-step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--auth-surface);
  border: 2px solid var(--auth-border);
  color: var(--auth-muted);
  font-weight: 750;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-progress [aria-current='step'] .auth-step-number {
  background: #00a884 !important;
  border-color: #00a884 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(0, 168, 132, 0.22) !important;
}
.auth-progress [aria-current='step'] {
  color: var(--auth-text) !important;
  font-weight: 700;
}
.auth-progress .is-complete .auth-step-number {
  background: #d1fae5 !important;
  border-color: #10b981 !important;
  color: #059669 !important;
}
html.dark .auth-progress .is-complete .auth-step-number {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10b981 !important;
  color: #34d399 !important;
}

/* Modern Gender Cards */
.bex-gender-card {
  border-radius: 16px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.bex-gender-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Modern Photo Dropzone */
.bex-photo-upload-zone {
  border-radius: 18px !important;
  border: 2px dashed rgba(0, 168, 132, 0.35) !important;
  background: rgba(0, 168, 132, 0.02) !important;
  padding: 18px !important;
  transition: all 0.25s ease !important;
}
.bex-photo-upload-zone:hover {
  border-color: #00a884 !important;
  background: rgba(0, 168, 132, 0.06) !important;
  transform: translateY(-1px);
}


/* ── Modern Register View Responsive & Tooltips ── */
body.bex-auth[data-auth-view='register'] .bex-desktop-view {
  display: none !important;
}

@media (min-width: 641px) {
  body.bex-auth[data-auth-view='register'] .bex-mobile-view {
    display: flex !important;
    max-width: 480px !important;
    margin: 16px auto !important;
    padding: 0 16px 20px !important;
  }
}

/* ── Mobil Ekran ve Tüm Üst/Alt Boşlukların Kusursuz Optimizasyonu ── */
@media (max-width: 767px) {
  html,
  body.bex-auth,
  body.bex-auth.bex-wa-doodle-bg,
  body.bex-auth.is-mobile-device {
    padding: 0 !important;
    margin: 0 !important;
    background: var(--auth-bg, #f7f9f8) !important;
    background-image: none !important;
  }
  html.dark body.bex-auth,
  html.dark body.bex-auth.bex-wa-doodle-bg,
  [data-theme='dark'] body.bex-auth {
    background: #0c1317 !important;
    background-image: none !important;
  }

  body.bex-auth .bex-mobile-view,
  body.bex-auth[data-auth-view='register'] .bex-mobile-view,
  .bex-mobile-view,
  .auth-app {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: max(4px, env(safe-area-inset-top)) 10px max(6px, env(safe-area-inset-bottom)) !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Üst Header: Sıfır taşma, minimal ve kompakt */
  .bex-mobile-view .auth-header {
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 0 4px !important;
    gap: 6px !important;
    border-bottom: 1px solid var(--auth-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .bex-mobile-view .bex-wa-wordmark-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .bex-mobile-view .bex-wa-wordmark-text {
    font-size: 16px !important;
  }

  /* Kart: Üst ve alt dış boşluklar sıfırlandı, iç dolgular kompakt */
  .bex-mobile-view .auth-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 4px !important;
    padding: 10px 12px 10px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05) !important;
    background: var(--auth-surface) !important;
  }

  /* Giriş / Kayıt Tabları */
  .auth-tabs {
    margin-bottom: 6px !important;
    padding: 2px !important;
    gap: 3px !important;
    border-radius: 10px !important;
    min-height: 32px !important;
  }
  .auth-tab {
    min-height: 28px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }

  /* Bildirim ve Hata Bannerları */
  .auth-banner,
  .bex-mobile-view #auth-banner {
    margin: 0 0 6px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
    border-radius: 8px !important;
    gap: 5px !important;
  }
  .auth-banner > .auth-icon {
    width: 14px !important;
    height: 14px !important;
  }

  /* Başlık ve Açıklamalar */
  .auth-heading {
    margin-bottom: 6px !important;
  }
  .auth-kicker {
    font-size: 8px !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 0 !important;
  }
  .auth-heading h1,
  .auth-heading h2,
  .bex-wa-main-title {
    font-size: 17px !important;
    margin: 0 0 2px !important;
    line-height: 1.2 !important;
  }
  .auth-heading p,
  .bex-wa-sub-title,
  .auth-step-copy {
    display: none !important;
  }

  /* Adım İlerleme Çubuğu (1 Profil, 2 İletişim, 3 Güvenlik) */
  .auth-progress {
    margin-bottom: 6px !important;
  }
  .auth-progress .auth-step-number {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
  }
  .auth-progress ol::before {
    top: 12px !important;
    left: 18px !important;
    right: 18px !important;
  }
  .auth-progress button {
    gap: 2px !important;
    font-size: 9px !important;
    padding: 0 2px !important;
  }

  /* Adım Başlığı ve Açıklaması */
  .auth-step {
    display: grid !important;
    gap: 6px !important;
  }
  .auth-step > legend {
    font-size: 13px !important;
    margin: 0 0 1px !important;
    font-weight: 700 !important;
  }

  /* Form Alanları (Ad soyad, Kullanıcı adı, Doğum tarihi vs.) */
  .auth-form > div,
  .auth-step > div,
  .auth-field {
    margin-bottom: 4px !important;
  }
  .auth-field > label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
  }
  .auth-input-wrap {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    gap: 6px !important;
    border-radius: 10px !important;
  }
  .auth-input-wrap input {
    height: 38px !important;
    font-size: 13.5px !important;
    padding: 0 !important;
  }
  .auth-input-wrap > .auth-icon {
    width: 15px !important;
    height: 15px !important;
  }

  /* İpuçları ve Hata / Başarı Mesajları */
  .auth-help,
  .auth-field-error,
  .auth-field-success {
    margin-top: 1px !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
  .auth-field-error,
  .auth-field-success {
    gap: 4px !important;
  }
  .auth-field-error svg,
  .auth-field-success svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Onay Rozetleri (✕ ve ✓) */
  .auth-field-status {
    width: 20px !important;
    height: 20px !important;
    margin-left: 2px !important;
  }
  .auth-field-status svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* Hesap Türü Seçenekleri */
  .auth-account-types {
    margin: 3px 0 5px !important;
  }
  .auth-account-types > legend {
    font-size: 11px !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
  }
  .auth-account-grid {
    gap: 5px !important;
  }
  .auth-account-option > span {
    min-height: 46px !important;
    padding: 4px 2px !important;
    border-radius: 8px !important;
    gap: 2px !important;
  }
  .auth-account-option strong {
    font-size: 10.5px !important;
    margin-top: 0 !important;
  }
  .auth-account-option small {
    display: none !important;
  }
  .auth-account-option .auth-icon {
    width: 15px !important;
    height: 15px !important;
  }

  /* Telefon Numarası Satırı */
  .auth-phone-row {
    grid-template-columns: 80px minmax(0, 1fr) !important;
    gap: 5px !important;
  }
  .auth-phone-row select {
    min-height: 38px !important;
    height: 38px !important;
    font-size: 12.5px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
  }

  /* Butonlar ve İşlem Alanı */
  .auth-step-actions {
    margin-top: 8px !important;
    gap: 5px !important;
  }
  .auth-button {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 12.5px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
  }

  /* Alt Bilgilendirme Notları */
  .auth-register-note {
    margin-top: 3px !important;
    font-size: 9.5px !important;
    gap: 4px !important;
  }
  .auth-register-note .auth-icon {
    width: 12px !important;
    height: 12px !important;
  }
  .auth-switch-note {
    margin-top: 4px !important;
    font-size: 10.5px !important;
  }

  /* Kart İçeriği ve Kart Altlığı */
  .auth-card-content {
    padding-bottom: 2px !important;
  }
  .bex-mobile-view .auth-card-footer {
    display: none !important;
  }

  /* Sayfa Altlığı (Footer): Kartın hemen altında, minimal */
  .bex-mobile-view .auth-footer {
    margin-top: 4px !important;
    padding: 4px 0 0 !important;
    min-height: 24px !important;
    font-size: 10px !important;
    gap: 2px 10px !important;
    border-top: 1px solid var(--auth-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .bex-mobile-view .auth-footer nav {
    gap: 8px !important;
  }
  .bex-mobile-view .auth-footer a {
    min-height: 18px !important;
    font-size: 9.5px !important;
  }
  .bex-mobile-view .auth-footer-platform {
    display: none !important;
  }

  /* Checkbox & Sözleşmeler */
  .auth-consents {
    margin-top: 4px !important;
  }
  .auth-consents .auth-field {
    margin-bottom: 3px !important;
  }
  .auth-checkbox {
    min-height: 26px !important;
    gap: 5px !important;
    font-size: 10px !important;
  }

  /* Şifre Gücü */
  .auth-strength {
    margin-top: 3px !important;
  }
}

/* Tooltip on Hover for Status Badges */
.auth-field-status {
  position: relative;
  cursor: help;
}
.auth-field-status:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 7px);
  right: 0;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 100;
  animation: authTipFade 0.15s ease-out forwards;
}
.auth-field-status:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 1px);
  right: 8px;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
  z-index: 100;
}
@keyframes authTipFade {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Distinctive Red ✕ and Green ✓ Icons */
.auth-field-status.is-taken {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 0 1.5px #ef4444, 0 3px 8px rgba(239, 68, 68, 0.35) !important;
}
.auth-field-status.is-available {
  background: #10b981 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 0 1.5px #10b981, 0 3px 8px rgba(16, 185, 129, 0.35) !important;
}
