@keyframes devAuthBgShift{0%{background-position:0 0,0 0}100%{background-position:88px 44px,44px 88px}}
@keyframes devAuthFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes devAuthGlow{0%{transform:translate3d(0,0,0) scale(.92)}100%{transform:translate3d(-36px,28px,0) scale(1.08)}}
@keyframes devAuthRingSpin{to{transform:rotate(360deg)}}
@keyframes devAuthPulse{0%,100%{opacity:.5;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}
@keyframes devAuthOrb{0%,100%{transform:translate(0,0)}50%{transform:translate(18px,-22px)}}

html:has(body.dev-auth-body),
html:has(body.dev-login-body){
    height:100%;overflow:hidden;
}
body.dev-auth-body,
body.dev-login-body{
    margin:0;overflow:hidden;
}

.dev-auth-body,.dev-login-body,.dev-auth-wrap{
    min-height:100dvh;height:100dvh;max-height:100dvh;
    display:flex;align-items:center;justify-content:center;
    padding:max(10px, env(safe-area-inset-top)) 16px max(10px, env(safe-area-inset-bottom));
    position:relative;overflow:hidden;box-sizing:border-box;
    background:
        radial-gradient(circle at 12% 18%,rgba(217,119,6,.42),transparent 28%),
        radial-gradient(circle at 88% 12%,rgba(34,197,94,.28),transparent 24%),
        radial-gradient(circle at 78% 82%,rgba(56,189,248,.24),transparent 26%),
        radial-gradient(circle at 18% 84%,rgba(244,114,182,.18),transparent 22%),
        linear-gradient(135deg,#0f1a45 0%,#1c1c22 34%,#eef4ff 34% 68%,#ecfdf5 100%);
}
.dev-auth-body:before,.dev-login-body:before,.dev-auth-wrap:before{
    content:"";position:fixed;inset:0;
    background:linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(180deg,rgba(255,255,255,.07) 1px,transparent 1px);
    background-size:44px 44px;opacity:.28;pointer-events:none;animation:devAuthBgShift 18s linear infinite;
}
.dev-auth-orb{position:fixed;border-radius:50%;filter:blur(2px);pointer-events:none;animation:devAuthOrb 10s ease-in-out infinite}
.dev-auth-orb.one{width:320px;height:320px;left:6%;top:10%;background:radial-gradient(circle,rgba(79,70,229,.28),transparent 68%);animation-delay:-2s}
.dev-auth-orb.two{width:380px;height:380px;right:4%;bottom:8%;background:radial-gradient(circle,rgba(34,197,94,.22),transparent 68%);animation:devAuthGlow 9s ease-in-out infinite alternate}

.dev-auth-card,.dev-login-card{
    width:min(420px, calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box;position:relative;z-index:2;
    background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.72);
    border-radius:18px;box-shadow:0 22px 54px rgba(15,23,42,.16);padding:20px 22px 16px;
    overflow:hidden;flex:0 1 auto;
}
.dev-login-card{animation:none;max-height:calc(100dvh - 20px)}
.dev-auth-card:not(.dev-login-card){animation:devAuthFloat 7s ease-in-out infinite}
.dev-auth-card:before,.dev-login-card:before{
    content:"";position:absolute;left:0;right:0;top:0;height:5px;
    background:linear-gradient(90deg,#22c55e,#38bdf8,#d97706,#f59e0b);
}
.dev-auth-card.wide{
    width:min(440px, calc(100vw - 32px))!important;
    max-height:calc(100dvh - 20px);
    overflow-y:auto;overflow-x:hidden;
    animation:none;
    scrollbar-width:none;
    -ms-overflow-style:none;
    -webkit-overflow-scrolling:touch;
}
.dev-auth-card.wide::-webkit-scrollbar{display:none;width:0;height:0}
.dev-auth-card.wide .dev-auth-head{margin-bottom:10px}
.dev-auth-card.wide .dev-auth-head img{max-height:46px;margin-bottom:6px}
.dev-auth-card.wide .dev-auth-head h2{font-size:19px}
.dev-auth-card.wide .dev-auth-head p{font-size:11px;margin-top:2px;line-height:1.3}
.dev-auth-card.wide .dev-auth-tags{margin-top:4px;gap:4px}
.dev-auth-card.wide .dev-auth-tag{font-size:10px;padding:4px 8px}
.dev-auth-card.wide .dev-auth-tag--icon{width:26px;height:26px;border-radius:8px}
.dev-auth-card.wide .auth-form-grid{gap:8px}
.dev-auth-card.wide .form-label{font-size:11px;margin-bottom:3px}
.dev-auth-card.wide .form-control{height:40px;font-size:13px;padding:0 11px;border-radius:11px}
.dev-auth-card.wide .btn-primary{height:42px;font-size:13px;border-radius:12px;box-shadow:0 10px 24px rgba(79,70,229,.24)}
.dev-auth-card.wide form .btn-primary{margin-top:8px}
.dev-auth-card.wide .dev-auth-footer{margin-top:8px}
.dev-auth-card.wide .dev-auth-divider{margin:8px 0 6px}
.dev-auth-card.wide .form-group small{font-size:10px!important}

.dev-auth-head,.dev-login-logo{text-align:center;margin-bottom:14px}
.dev-auth-head img,.dev-login-logo img{max-height:52px;max-width:180px;-webkit-user-drag:none;user-select:none;pointer-events:none;display:block;margin:0 auto 8px}
.dev-auth-icon,.dev-login-logo .bolt-icon{
    width:50px;height:50px;border-radius:14px;color:#fff;display:inline-flex;align-items:center;justify-content:center;
    font-size:20px;margin-bottom:8px;box-shadow:0 12px 28px rgba(79,70,229,.24);
    background:linear-gradient(135deg,#3d3228,#d97706 52%,#38bdf8);
}
.dev-auth-head h2,.dev-login-logo h2{margin:0;font-size:20px;color:#0f172a;font-weight:900;letter-spacing:-.02em;line-height:1.2}
.dev-auth-head p,.dev-login-logo p{margin:4px 0 0;color:#64748b;font-size:12px;font-weight:700;line-height:1.35}
.dev-auth-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:6px}
.dev-auth-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;line-height:1}
.dev-auth-tag--icon{width:28px;height:28px;padding:0;justify-content:center;border-radius:9px;gap:0}
.dev-auth-tag--icon i{font-size:11px}
.dev-auth-tag.blue{background:#eef4ff;color:#3d3228}
.dev-auth-tag.green{background:#ecfdf5;color:#166534}
.dev-auth-tag.orange{background:#fff7ed;color:#9a3412}

.dev-auth-card form,.dev-login-card form{width:100%;margin:0 auto}
.dev-auth-card .form-group,.dev-login-card .form-group{margin-bottom:14px}
.dev-login-card .form-group{margin-bottom:10px}
.dev-auth-card .form-label,.dev-login-card .form-label{font-size:12px;font-weight:900;color:#334155;margin-bottom:6px;display:block}
.dev-login-card .form-label{font-size:11px;margin-bottom:4px}
.dev-auth-card .form-control,.dev-login-card .form-control{
    height:48px;border-radius:14px;border:1px solid #dbe3ef;background:#f8fbff;font-size:14px;font-weight:700;
    padding:0 14px;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.dev-login-card .form-control{height:42px;border-radius:12px;font-size:13px;padding:0 12px}
.dev-login-card .form-group a{font-size:12px}
.dev-login-card .form-group div[style*="margin-top:8px"]{margin-top:4px!important}
.dev-auth-card .form-control:focus,.dev-login-card .form-control:focus{
    outline:none;border-color:#d97706;background:#fff;box-shadow:0 0 0 4px rgba(217,119,6,.14);
}
.dev-auth-card .btn-primary,.dev-login-card .btn-primary{
    height:50px;border:0;border-radius:14px;font-weight:900;font-size:14px;letter-spacing:.01em;
    color:#fff!important;background:linear-gradient(135deg,#3d3228,#d97706);box-shadow:0 14px 30px rgba(79,70,229,.28);
    transition:transform .16s ease,box-shadow .16s ease;
    display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;
}
.dev-login-card .btn-primary{height:44px;border-radius:12px;font-size:13px;box-shadow:0 10px 24px rgba(79,70,229,.24)}
.dev-auth-card .btn-primary:hover,.dev-login-card .btn-primary:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(79,70,229,.32);color:#fff!important}
.dev-auth-card .btn-outline,.dev-login-card .btn-outline{
    height:44px;border-radius:12px;font-weight:900;font-size:13px;
    color:#3d3228!important;background:#fff;border:1px solid #dbe3ef;
    display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;
    padding:0 16px;box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.dev-auth-card .btn-outline:hover,.dev-login-card .btn-outline:hover{border-color:#a5b4fc;background:#f8faff;color:#3d3228!important;text-decoration:none!important}
.dev-auth-card .btn-whatsapp{
    background:linear-gradient(135deg,#16a34a,#22c55e)!important;box-shadow:0 14px 30px rgba(34,197,94,.24)!important;color:#fff!important;
}
.dev-auth-card .btn-whatsapp:hover{box-shadow:0 18px 34px rgba(34,197,94,.3)!important;color:#fff!important}
.dev-auth-card .btn-telegram{
    background:linear-gradient(135deg,#0088cc,#229ed9)!important;box-shadow:0 14px 30px rgba(0,136,204,.24)!important;color:#fff!important;
}
.dev-auth-card .btn-telegram:hover{box-shadow:0 18px 34px rgba(0,136,204,.32)!important;transform:translateY(-1px);color:#fff!important}
.dev-auth-actions{display:grid;gap:8px}
.dev-login-card .dev-auth-actions{margin-top:12px;gap:12px}
.dev-login-card .btn-whatsapp,
.dev-login-card .btn-telegram{height:48px;border-radius:12px;font-size:13px;box-shadow:0 10px 24px rgba(15,23,42,.12)!important}
.dev-login-card form .form-group{margin-bottom:14px}
.dev-login-card form .form-control{height:46px}
.dev-auth-footer,.auth-footer{text-align:center;margin-top:10px}
.dev-auth-footer a:not(.btn),.auth-footer a:not(.btn),.dev-login-card a:not(.btn){
    color:#f59e0b;font-weight:800;font-size:12px;text-decoration:none;
}
.dev-auth-footer a:not(.btn):hover,.auth-footer a:not(.btn):hover,.dev-login-card a:not(.btn):hover{color:#3d3228;text-decoration:underline}
.dev-auth-footer .btn,.auth-footer .btn{min-width:140px}
.dev-auth-card .alert,.dev-login-card .alert{border-radius:12px;font-size:12px;font-weight:700;border:0;padding:8px 10px;margin-bottom:8px}
.dev-auth-card .alert-info,.dev-login-card .alert-info{background:linear-gradient(180deg,#fff7ed,#f8fbff);color:#1d4ed8}
.dev-auth-card .alert-danger,.dev-login-card .alert-danger{background:linear-gradient(180deg,#fef2f2,#fff7f7);color:#b91c1c}
.dev-auth-card .alert-success,.dev-login-card .alert-success{background:linear-gradient(180deg,#ecfdf5,#f7fef9);color:#166534}
.dev-auth-card .alert-warning,.dev-login-card .alert-warning{background:linear-gradient(180deg,#fffbeb,#fffdf5);color:#92400e}

.dev-auth-divider{display:flex;align-items:center;gap:10px;margin:12px 0 10px;color:#94a3b8;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.dev-login-card .dev-auth-divider{margin:12px 0 10px}
.dev-auth-divider:before,.dev-auth-divider:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#e2e8f0 20%,#e2e8f0 80%,transparent)}
.dev-auth-divider span{flex:0 0 auto;padding:0 2px}
.dev-google-btn{
    display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
    min-height:44px;padding:8px 16px;border-radius:12px;
    border:1px solid #dadce0;background:#fff;color:#3c4043;
    text-decoration:none;font-size:13px;font-weight:700;letter-spacing:.01em;
    box-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px rgba(60,64,67,.06);
    transition:background .15s ease,box-shadow .18s ease,border-color .15s ease,transform .15s ease;
    position:relative;overflow:hidden
}
.dev-google-btn:hover{
    background:#f8f9fa;border-color:#c6c9ce;color:#202124;text-decoration:none;
    box-shadow:0 2px 6px rgba(60,64,67,.12),0 4px 12px rgba(60,64,67,.08);
    transform:translateY(-1px)
}
.dev-google-btn:active{transform:translateY(0);background:#f1f3f4;box-shadow:0 1px 2px rgba(60,64,67,.1)}
.dev-google-btn:focus-visible{outline:2px solid #4285f4;outline-offset:2px}
.dev-google-icon{
    display:inline-flex;align-items:center;justify-content:center;
    width:22px;height:22px;flex-shrink:0;border-radius:4px
}
.dev-google-icon svg{display:block;width:20px;height:20px}
.dev-google-label{font-size:13px;font-weight:700;color:#3c4043;line-height:1.2}
.dev-google-btn:hover .dev-google-label{color:#202124}
.dev-google-g{display:none}
.dev-telegram-login{display:flex;justify-content:center;min-height:40px}
.dev-telegram-note{margin:10px 0 0;text-align:center;font-size:11px;font-weight:700;color:#64748b;line-height:1.45}

.auth-form-grid{display:grid;gap:12px}
.auth-form-grid .form-group{margin-bottom:0}
@media(min-width:640px){
    .auth-form-grid{grid-template-columns:1fr 1fr}
    .auth-form-grid .form-group:nth-child(1),.auth-form-grid .form-group:nth-child(4),.auth-form-grid .form-group:nth-child(5){grid-column:1/-1}
}

.dev-secure-scene{position:fixed;right:7%;top:50%;width:290px;height:290px;transform:translateY(-50%);z-index:1;pointer-events:none}
.dev-secure-ring{position:absolute;inset:16px;border:1px solid rgba(217,119,6,.24);border-top-color:rgba(217,119,6,.82);border-radius:50%;animation:devAuthRingSpin 16s linear infinite}
.dev-secure-ring:nth-child(2){inset:44px;border-color:rgba(34,197,94,.2);border-right-color:rgba(34,197,94,.72);animation-duration:22s;animation-direction:reverse}
.dev-secure-core{
    position:absolute;left:50%;top:50%;width:88px;height:88px;margin:-44px 0 0 -44px;border-radius:24px;
    background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid rgba(219,227,239,.9);
    display:grid;place-items:center;color:#f59e0b;font-size:30px;box-shadow:0 22px 58px rgba(15,23,42,.14);
    animation:devAuthPulse 4s ease-in-out infinite;
}
.dev-secure-chip{
    position:absolute;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:900;color:#fff;
    box-shadow:0 14px 30px rgba(15,23,42,.12);
}
.dev-secure-chip.one{right:0;top:44px;background:linear-gradient(135deg,#16a34a,#22c55e)}
.dev-secure-chip.two{left:0;bottom:52px;background:linear-gradient(135deg,#3d3228,#d97706)}
.dev-secure-chip.three{right:12px;bottom:18px;background:linear-gradient(135deg,#f59e0b,#f97316)}

@media(max-height:760px){
    .dev-auth-body,.dev-login-body,.dev-auth-wrap{padding:8px 14px}
    .dev-auth-card,.dev-login-card{padding:16px 18px 12px;border-radius:16px}
    .dev-auth-card.wide{padding:14px 16px 10px}
    .dev-auth-card.wide .dev-auth-head{margin-bottom:8px}
    .dev-auth-card.wide .dev-auth-head img{max-height:38px}
    .dev-auth-card.wide .auth-form-grid{gap:6px}
    .dev-auth-card.wide .form-control{height:38px;font-size:12px}
    .dev-auth-card.wide .btn-primary{height:38px;font-size:12px}
    .dev-auth-head,.dev-login-logo{margin-bottom:10px}
    .dev-auth-head img,.dev-login-logo img{max-height:42px;margin-bottom:6px}
    .dev-auth-head h2,.dev-login-logo h2{font-size:18px}
    .dev-auth-head p,.dev-login-logo p{font-size:11px;margin-top:2px}
    .dev-auth-tags{margin-top:4px}
    .dev-auth-tag--icon{width:24px;height:24px;border-radius:8px}
    .dev-auth-card .form-group,.dev-login-card .form-group{margin-bottom:8px}
    .dev-auth-card .form-control,.dev-login-card .form-control{height:40px;font-size:12px}
    .dev-auth-card .btn-primary,.dev-login-card .btn-primary,
    .dev-auth-card .btn-outline,.dev-login-card .btn-outline{height:40px;font-size:12px}
    .dev-auth-divider{margin:8px 0 6px}
    .dev-auth-footer,.auth-footer{margin-top:6px}
    .dev-google-btn{min-height:42px;font-size:12px;border-radius:11px;gap:8px}
    .dev-google-label{font-size:12px}
    .dev-google-icon,.dev-google-icon svg{width:18px;height:18px}
    .dev-login-card .btn-whatsapp,
    .dev-login-card .btn-telegram{height:46px;font-size:13px}
    .dev-auth-actions{gap:10px}
    .dev-login-card .dev-auth-actions{margin-top:10px;gap:10px}
    .dev-secure-scene{display:none}
}
@media(max-width:980px){.dev-secure-scene{display:none}}
@media(max-width:520px){
    html:has(body.dev-auth-body),
    html:has(body.dev-login-body){
        overflow-x:hidden;
        overflow-y:auto;
        height:auto;
        scrollbar-width:none;
        -ms-overflow-style:none;
    }
    html:has(body.dev-auth-body)::-webkit-scrollbar,
    html:has(body.dev-login-body)::-webkit-scrollbar{display:none;width:0;height:0}
    body.dev-auth-body,
    body.dev-login-body{
        padding:0;
        overflow-x:hidden;
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        -ms-overflow-style:none;
    }
    body.dev-auth-body::-webkit-scrollbar,
    body.dev-login-body::-webkit-scrollbar{display:none;width:0;height:0}
    .dev-auth-body,.dev-login-body,.dev-auth-wrap{
        min-height:100dvh;height:auto;max-height:none;
        padding:10px 12px max(10px, env(safe-area-inset-bottom));
        overflow-x:hidden;overflow-y:auto;
    }
    .dev-auth-card,.dev-login-card{
        max-width:calc(100vw - 24px)!important;
        padding:18px 16px 14px;
        border-radius:16px;
        max-height:none!important;
    }
    .dev-auth-card::-webkit-scrollbar,
    .dev-login-card::-webkit-scrollbar{display:none;width:0;height:0}
    .dev-auth-card.wide{
        max-height:none!important;
        overflow:visible!important;
        padding:14px 14px 12px;
    }
    .dev-auth-card.wide .dev-auth-head{margin-bottom:8px}
    .dev-auth-card.wide .dev-auth-head img{max-height:38px;margin-bottom:4px}
    .dev-auth-card.wide .dev-auth-head h2{font-size:18px}
    .dev-auth-card.wide .dev-auth-head p{font-size:10px;margin-top:2px}
    .dev-auth-card.wide .dev-auth-tag--icon{width:22px;height:22px;border-radius:7px}
    .dev-auth-card.wide .dev-auth-tag--icon i{font-size:10px}
    .dev-auth-card.wide .auth-form-grid{gap:6px}
    .dev-auth-card.wide .form-label{font-size:10px;margin-bottom:2px}
    .dev-auth-card.wide .form-control{height:40px;font-size:12px;padding:0 10px;border-radius:10px}
    .dev-auth-card.wide .btn-primary{height:40px;font-size:12px;margin-top:6px!important}
    .dev-auth-card.wide .dev-auth-footer{margin-top:6px}
    .dev-auth-card.wide .dev-auth-divider{margin:6px 0 5px}
    .dev-auth-head h2,.dev-login-logo h2{font-size:18px}
    .dev-auth-card .form-control,.dev-login-card .form-control{height:40px}
}

/* Developer auth split shell: login, signup, forgot and reset password */
body.dev-auth-split-body{
    --dev-auth-green:#0f9f7b;
    --dev-auth-green-dark:#075f55;
    --dev-auth-green-soft:#22c98a;
    --dev-auth-ink:#103b35;
    --dev-auth-muted:#687b77;
    --dev-auth-border:#cfe2dc;
    --dev-auth-field:#fbfefd;
    background:
        radial-gradient(circle at 10% 18%,rgba(34,201,138,.22),transparent 30%),
        radial-gradient(circle at 84% 80%,rgba(12,148,112,.16),transparent 28%),
        linear-gradient(115deg,#c8f6d9 0%,#f9fdfb 54%,#eaf8f3 100%)!important;
    padding:0!important;
    color:var(--dev-auth-ink);
}
html:has(body.dev-auth-split-body),
body.dev-auth-split-body{
    height:100%;
    overflow:hidden!important;
}
body.dev-auth-split-body:before,
body.dev-auth-split-body .dev-auth-orb,
body.dev-auth-split-body .dev-secure-scene{
    display:none!important;
}
body.dev-auth-split-body.dev-auth-body{
    min-height:100dvh;
    height:100dvh;
    max-height:100dvh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:max(14px, env(safe-area-inset-top)) 18px max(14px, env(safe-area-inset-bottom))!important;
    overflow:hidden!important;
}
.dev-auth-split-body .dev-auth-shell{
    position:relative;
    z-index:2;
    width:min(860px, calc(100vw - 36px));
    height:min(526px, calc(100dvh - 36px));
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 26px 76px rgba(10,83,70,.18);
}
.dev-auth-split-body .dev-auth-shell-signup{
    width:min(920px, calc(100vw - 36px));
    height:min(548px, calc(100dvh - 36px));
    grid-template-columns:minmax(0,1fr) minmax(420px,1fr);
}
.dev-auth-split-body .dev-auth-shell-forgot{
    height:min(560px, calc(100dvh - 36px));
}
.dev-auth-split-body .dev-auth-visual{
    position:relative;
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:26px;
    padding:46px 44px;
    overflow:hidden;
    color:#fff;
    background:
        linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),
        linear-gradient(180deg,rgba(255,255,255,.07) 1px,transparent 1px),
        radial-gradient(circle at 78% 44%,rgba(34,201,138,.34),transparent 16%),
        linear-gradient(155deg,#075f55 0%,#0c7c6a 48%,#129c79 100%);
    background-size:42px 42px,42px 42px,100% 100%,100% 100%;
}
.dev-auth-split-body .dev-auth-visual:before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(104deg,transparent 0 34%,rgba(255,255,255,.08) 35%,transparent 36% 100%),
        radial-gradient(circle at 72% 22%,rgba(255,255,255,.18),transparent 6%),
        radial-gradient(circle at 82% 74%,rgba(34,201,138,.2),transparent 14%);
    pointer-events:none;
}
.dev-auth-split-body .dev-auth-visual:after{
    content:"";
    position:absolute;
    right:-28px;
    top:86px;
    width:170px;
    height:420px;
    border-radius:999px;
    transform:rotate(9deg);
    border:1px solid rgba(255,255,255,.13);
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0));
}
.dev-auth-split-body .dev-auth-visual>*{
    position:relative;
    z-index:1;
}
.dev-auth-split-body .dev-auth-visual-top{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}
.dev-auth-split-body .dev-auth-visual-mark{
    flex:0 0 auto;
    width:58px;
    height:58px;
    border-radius:17px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#50f0a2;
    font-size:28px;
    border:1px solid rgba(255,255,255,.28);
    background:rgba(255,255,255,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 16px 28px rgba(2,44,34,.18);
}
.dev-auth-split-body .dev-auth-visual-brand{
    min-width:0;
    color:#fff;
}
.dev-auth-split-body .dev-auth-visual-brand span{
    display:block;
    margin-bottom:3px;
    color:rgba(255,255,255,.72);
    font-size:10px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}
.dev-auth-split-body .dev-auth-visual-brand strong{
    display:block;
    max-width:260px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#fff;
    font-size:17px;
    line-height:1.25;
    font-weight:900;
    letter-spacing:.01em;
}
.dev-auth-split-body .dev-auth-visual-copy h1{
    margin:0;
    max-width:330px;
    color:#fff;
    font-size:34px;
    line-height:1.12;
    letter-spacing:0;
    font-weight:900;
}
.dev-auth-split-body .dev-auth-visual-copy p{
    margin:18px 0 0;
    max-width:360px;
    color:rgba(255,255,255,.86);
    font-size:14px;
    line-height:1.65;
    font-weight:700;
}
.dev-auth-split-body .dev-auth-visual-status{
    width:min(360px,100%);
    padding:15px 16px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.28);
    background:rgba(255,255,255,.15);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
}
.dev-auth-split-body .dev-auth-visual-status span{
    display:block;
    margin-bottom:5px;
    color:rgba(255,255,255,.78);
    font-size:10px;
    font-weight:900;
}
.dev-auth-split-body .dev-auth-visual-status strong{
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:13px;
    line-height:1.35;
    font-weight:900;
}
.dev-auth-split-body .dev-auth-visual-status i{
    color:#d8fff0;
}
.dev-auth-split-body .dev-auth-visual-note{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-top:12px;
    padding:10px 11px;
    border-radius:11px;
    color:rgba(255,255,255,.9);
    background:rgba(255,255,255,.13);
    font-size:12px;
    line-height:1.4;
    font-weight:800;
}
.dev-auth-split-body .dev-auth-visual-note i{
    flex:0 0 auto;
    margin-top:2px;
    color:#d8fff0;
}
.dev-auth-split-body .dev-auth-panel{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:36px 42px;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%);
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
}
.dev-auth-split-body .dev-auth-panel::-webkit-scrollbar{
    display:none;
    width:0;
    height:0;
}
.dev-auth-split-body .dev-auth-shell-signup .dev-auth-panel{
    padding:30px 34px;
}
.dev-auth-split-body .dev-auth-shell-forgot .dev-auth-panel{
    padding:28px 38px;
}
.dev-auth-split-body .dev-auth-card,
.dev-auth-split-body .dev-login-card,
.dev-auth-split-body .dev-auth-card.wide{
    flex:0 0 auto;
    margin:auto 0!important;
    width:100%!important;
    max-width:none!important;
    max-height:none!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    animation:none!important;
}
.dev-auth-split-body .dev-auth-card:before,
.dev-auth-split-body .dev-login-card:before{
    display:none!important;
}
.dev-auth-split-body .dev-auth-head,
.dev-auth-split-body .dev-login-logo,
.dev-auth-split-body .dev-auth-card.wide .dev-auth-head{
    margin:0 0 24px;
    text-align:left;
}
.dev-auth-split-body .dev-auth-shell-signup .dev-auth-head,
.dev-auth-split-body .dev-auth-shell-forgot .dev-auth-head{
    margin-bottom:18px;
}
.dev-auth-split-body .dev-auth-head img,
.dev-auth-split-body .dev-login-logo img,
.dev-auth-split-body .dev-auth-icon,
.dev-auth-split-body .dev-auth-tags{
    display:none!important;
}
.dev-auth-split-body .dev-auth-head h2,
.dev-auth-split-body .dev-login-logo h2,
.dev-auth-split-body .dev-auth-card.wide .dev-auth-head h2{
    margin:0;
    color:#096457;
    font-size:27px;
    line-height:1.15;
    letter-spacing:0;
    font-weight:900;
}
.dev-auth-split-body .dev-auth-head p,
.dev-auth-split-body .dev-login-logo p,
.dev-auth-split-body .dev-auth-card.wide .dev-auth-head p{
    margin:7px 0 0;
    color:var(--dev-auth-muted);
    font-size:13px;
    line-height:1.45;
    font-weight:700;
}
.dev-auth-split-body .dev-auth-card form,
.dev-auth-split-body .dev-login-card form{
    width:100%;
}
.dev-auth-split-body .form-group,
.dev-auth-split-body .dev-login-card .form-group,
.dev-auth-split-body .dev-login-card form .form-group{
    margin-bottom:14px;
}
.dev-auth-split-body .dev-auth-shell-signup .form-group{
    margin-bottom:0;
}
.dev-auth-split-body .form-label,
.dev-auth-split-body .dev-login-card .form-label,
.dev-auth-split-body .dev-auth-card.wide .form-label{
    margin:0 0 7px;
    color:#294a45;
    font-size:11px;
    line-height:1.25;
    font-weight:900;
}
.dev-auth-split-body .dev-input{
    position:relative;
}
.dev-auth-split-body .dev-field-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    color:#119476;
    font-size:14px;
    pointer-events:none;
    z-index:2;
}
.dev-auth-split-body .form-control,
.dev-auth-split-body .dev-login-card .form-control,
.dev-auth-split-body .dev-login-card form .form-control,
.dev-auth-split-body .dev-auth-card.wide .form-control{
    width:100%;
    height:44px;
    border-radius:12px;
    border:1px solid var(--dev-auth-border);
    background:var(--dev-auth-field);
    color:#1e3834;
    font-size:13px;
    font-weight:700;
    padding:0 13px;
    box-shadow:none;
}
.dev-auth-split-body .dev-input .form-control{
    padding-left:46px!important;
}
.dev-auth-split-body .dev-input .form-control[type="password"],
.dev-auth-split-body .dev-input .form-control[data-has-toggle="1"]{
    padding-right:46px!important;
}
.dev-auth-split-body .form-control::placeholder{
    color:#7d8d89;
    font-weight:600;
}
.dev-auth-split-body .form-control:focus,
.dev-auth-split-body .dev-login-card .form-control:focus{
    outline:none;
    border-color:#14a985;
    background:#fff;
    box-shadow:0 0 0 4px rgba(20,169,133,.12);
}
.dev-auth-split-body .form-control.is-invalid{
    border-color:#ef4444!important;
    background:#fff8f8!important;
    box-shadow:0 0 0 4px rgba(239,68,68,.1)!important;
}
.dev-auth-split-body .form-group.has-error .dev-field-icon{
    color:#dc2626;
}
.dev-auth-split-body .dev-field-error{
    margin-top:5px;
    color:#dc2626;
    font-size:11px;
    line-height:1.35;
    font-weight:900;
}
.dev-auth-split-body .dev-password-toggle{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border:0;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#84928f;
    background:transparent;
    cursor:pointer;
}
.dev-auth-split-body .dev-password-toggle:hover{
    color:#0f8c70;
    background:#edf8f4;
}
.dev-auth-split-body .dev-auth-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:-1px 0 20px;
}
.dev-auth-split-body .dev-auth-row a,
.dev-auth-split-body .dev-auth-footer a:not(.btn),
.dev-auth-split-body .auth-footer a:not(.btn),
.dev-auth-split-body .dev-login-card a:not(.btn){
    color:#009878;
    font-size:12px;
    font-weight:900;
    text-decoration:none;
}
.dev-auth-split-body .dev-auth-row a:hover,
.dev-auth-split-body .dev-auth-footer a:not(.btn):hover,
.dev-auth-split-body .auth-footer a:not(.btn):hover{
    color:#066555;
    text-decoration:underline;
}
.dev-auth-split-body .dev-check{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-width:0;
    color:#73827e;
    font-size:12px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
}
.dev-auth-split-body .dev-check input{
    width:13px;
    height:13px;
    margin:0;
    accent-color:#11a77f;
}
.dev-auth-split-body .btn-primary,
.dev-auth-split-body .dev-login-card .btn-primary,
.dev-auth-split-body .dev-auth-card.wide .btn-primary{
    width:100%;
    height:44px;
    min-height:44px;
    border:0;
    border-radius:12px;
    color:#fff!important;
    background:linear-gradient(135deg,#0f9f7b,#28d36f);
    box-shadow:0 14px 28px rgba(17,167,127,.23);
    font-size:14px;
    font-weight:900;
    letter-spacing:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
.dev-auth-split-body .btn-primary:hover,
.dev-auth-split-body .dev-login-card .btn-primary:hover{
    transform:translateY(-1px);
    box-shadow:0 17px 32px rgba(17,167,127,.28);
}
.dev-auth-split-body .btn-whatsapp{
    background:linear-gradient(135deg,#0f9f7b,#28d36f)!important;
}
.dev-auth-split-body .btn-telegram{
    background:linear-gradient(135deg,#168ac8,#27aee4)!important;
}
.dev-auth-split-body .dev-auth-actions{
    display:grid;
    gap:10px;
}
.dev-auth-split-body .dev-security-note{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-top:22px;
    padding:13px 14px;
    border-radius:11px;
    color:#5e756f;
    background:#eef8f3;
    font-size:11px;
    line-height:1.45;
    font-weight:700;
}
.dev-auth-split-body .dev-security-note i{
    flex:0 0 auto;
    margin-top:2px;
    color:#0f9f7b;
}
.dev-auth-split-body .dev-auth-footer,
.dev-auth-split-body .auth-footer{
    margin-top:20px;
    text-align:center;
    color:#6d7c78;
    font-size:12px;
    font-weight:700;
}
.dev-auth-split-body .dev-auth-divider{
    margin:14px 0 12px;
}
.dev-auth-split-body .dev-google-btn{
    min-height:42px;
    border-radius:11px;
}
.dev-auth-split-body .auth-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px 12px;
}
.dev-auth-split-body .auth-form-grid .form-group:first-child,
.dev-auth-split-body .auth-form-grid .form-group:nth-child(4),
.dev-auth-split-body .auth-form-grid .form-group:nth-child(5){
    grid-column:1/-1;
}
.dev-auth-split-body .dev-signup-submit,
.dev-auth-split-body .dev-auth-card.wide form .btn-primary{
    margin-top:14px!important;
}
.dev-auth-split-body .alert{
    border:0;
    border-radius:11px;
    padding:10px 12px;
    margin:0 0 13px;
    font-size:12px;
    line-height:1.4;
    font-weight:800;
}
.dev-auth-split-body .alert-danger{background:#fff1f1;color:#b42318}
.dev-auth-split-body .alert-success{background:#edfdf5;color:#087349}
.dev-auth-split-body .alert-warning{background:#fff8e7;color:#925f08}
.dev-auth-split-body .alert-info{background:#eef7ff;color:#1464a5}
.dev-auth-split-body .auth-info-box{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 12px;
    padding:10px 12px;
    border-radius:11px;
    background:#eef8f3;
    color:#526c65;
    font-size:11px;
    line-height:1.4;
    font-weight:700;
}
.dev-auth-split-body .auth-info-box i{
    color:#0f9f7b;
    font-size:16px;
}
.dev-auth-split-body .auth-info-box strong{
    color:#183c36;
    font-weight:900;
}
.dev-auth-split-body .auth-otp-resend-row{
    margin-top:12px;
    text-align:center;
    color:#6d7c78;
    font-size:12px;
    font-weight:800;
}
.dev-auth-split-body .auth-otp-resend-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border:0;
    background:transparent;
    color:#009878;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
}
.dev-auth-split-body .auth-otp-resend-link:disabled{
    color:#90a29d;
    cursor:not-allowed;
}
.dev-auth-split-body .auth-otp-resend-timer{
    display:inline-flex;
    align-items:center;
    gap:7px;
}

@media(max-height:620px){
    body.dev-auth-split-body.dev-auth-body{
        padding:10px 14px!important;
    }
    .dev-auth-split-body .dev-auth-shell,
    .dev-auth-split-body .dev-auth-shell-signup{
        height:calc(100dvh - 20px);
    }
    .dev-auth-split-body .dev-auth-visual{
        padding:32px 34px;
    }
    .dev-auth-split-body .dev-auth-visual-mark{
        width:48px;
        height:48px;
        border-radius:14px;
        font-size:23px;
    }
    .dev-auth-split-body .dev-auth-visual-copy h1{
        font-size:29px;
    }
    .dev-auth-split-body .dev-auth-visual-copy p{
        margin-top:12px;
        font-size:13px;
        line-height:1.5;
    }
    .dev-auth-split-body .dev-auth-visual-status{
        padding:12px 14px;
    }
    .dev-auth-split-body .dev-auth-panel,
    .dev-auth-split-body .dev-auth-shell-signup .dev-auth-panel{
        padding:22px 30px;
    }
    .dev-auth-split-body .dev-auth-head,
    .dev-auth-split-body .dev-login-logo,
    .dev-auth-split-body .dev-auth-shell-signup .dev-auth-head,
    .dev-auth-split-body .dev-auth-shell-forgot .dev-auth-head{
        margin-bottom:12px;
    }
    .dev-auth-split-body .dev-auth-head h2,
    .dev-auth-split-body .dev-login-logo h2{
        font-size:24px;
    }
    .dev-auth-split-body .dev-auth-head p,
    .dev-auth-split-body .dev-login-logo p{
        font-size:12px;
        margin-top:4px;
    }
    .dev-auth-split-body .form-group,
    .dev-auth-split-body .dev-login-card .form-group,
    .dev-auth-split-body .dev-login-card form .form-group{
        margin-bottom:10px;
    }
    .dev-auth-split-body .form-control,
    .dev-auth-split-body .dev-login-card .form-control,
    .dev-auth-split-body .dev-auth-card.wide .form-control{
        height:40px;
    }
    .dev-auth-split-body .btn-primary,
    .dev-auth-split-body .dev-login-card .btn-primary{
        height:40px;
        min-height:40px;
    }
    .dev-auth-split-body .dev-auth-row{
        margin-bottom:12px;
    }
    .dev-auth-split-body .dev-security-note{
        margin-top:14px;
        padding:10px 12px;
    }
    .dev-auth-split-body .dev-auth-footer,
    .dev-auth-split-body .auth-footer{
        margin-top:12px;
    }
}
@media(max-width:760px){
    html:has(body.dev-auth-split-body),
    body.dev-auth-split-body{
        height:100%;
        overflow:hidden!important;
    }
    body.dev-auth-split-body.dev-auth-body{
        min-height:100dvh;
        height:100dvh;
        max-height:100dvh;
        padding:10px 12px max(10px, env(safe-area-inset-bottom))!important;
        overflow:hidden!important;
    }
    .dev-auth-split-body .dev-auth-shell,
    .dev-auth-split-body .dev-auth-shell-signup{
        width:min(430px, calc(100vw - 24px));
        height:calc(100dvh - 20px);
        max-height:calc(100dvh - 20px);
        grid-template-columns:1fr;
        border-radius:18px;
    }
    .dev-auth-split-body .dev-auth-visual{
        display:none;
    }
    .dev-auth-split-body .dev-auth-panel,
    .dev-auth-split-body .dev-auth-shell-signup .dev-auth-panel{
        align-items:stretch;
        justify-content:center;
        padding:20px 20px;
        overflow-y:auto;
        overflow-x:hidden;
        scrollbar-width:none;
        -ms-overflow-style:none;
    }
    .dev-auth-split-body .dev-auth-panel::-webkit-scrollbar{
        display:none;
        width:0;
        height:0;
    }
    .dev-auth-split-body .auth-form-grid{
        grid-template-columns:1fr;
        gap:9px;
    }
    .dev-auth-split-body .auth-form-grid .form-group{
        grid-column:1/-1!important;
    }
    .dev-auth-split-body .dev-auth-head h2,
    .dev-auth-split-body .dev-login-logo h2{
        font-size:25px;
    }
    .dev-auth-split-body .dev-auth-head,
    .dev-auth-split-body .dev-login-logo{
        margin-bottom:16px;
    }
    .dev-auth-split-body .dev-security-note{
        margin-top:16px;
    }
}
@media(max-width:380px), (max-height:610px) and (max-width:760px){
    .dev-auth-split-body .dev-auth-panel,
    .dev-auth-split-body .dev-auth-shell-signup .dev-auth-panel{
        padding:14px 14px;
    }
    .dev-auth-split-body .dev-auth-head,
    .dev-auth-split-body .dev-login-logo{
        margin-bottom:10px;
    }
    .dev-auth-split-body .dev-auth-head h2,
    .dev-auth-split-body .dev-login-logo h2{
        font-size:22px;
    }
    .dev-auth-split-body .dev-auth-head p,
    .dev-auth-split-body .dev-login-logo p{
        font-size:11px;
    }
    .dev-auth-split-body .form-label{
        margin-bottom:4px;
    }
    .dev-auth-split-body .form-control,
    .dev-auth-split-body .dev-login-card .form-control,
    .dev-auth-split-body .dev-auth-card.wide .form-control{
        height:38px;
        font-size:12px;
    }
    .dev-auth-split-body .btn-primary,
    .dev-auth-split-body .dev-login-card .btn-primary{
        height:39px;
        min-height:39px;
        font-size:13px;
    }
    .dev-auth-split-body .dev-auth-row{
        margin-bottom:10px;
    }
    .dev-auth-split-body .dev-security-note{
        display:none;
    }
    .dev-auth-split-body .dev-auth-footer,
    .dev-auth-split-body .auth-footer{
        margin-top:10px;
    }
}

/* Developer auth — portal pro loader (dark) */
body.dev-auth-split-body #site-loader.auth-loader.portal-pro-loader--dark{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    min-height:100vh;
    min-height:100dvh;
    padding:24px;
    box-sizing:border-box;
    pointer-events:auto;
    overflow:hidden;
    transition:opacity .32s ease,visibility .32s ease;
}
body.dev-auth-split-body #site-loader.auth-loader.portal-pro-loader--dark.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

/* Legacy developer auth loader shell (kept for reference) */
body.dev-auth-split-body #site-loader.auth-loader.dev-auth-modern-loader{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    min-height:100vh;
    min-height:100dvh;
    padding:24px;
    box-sizing:border-box;
    background:
        radial-gradient(circle at 50% 42%,rgba(180,83,9,.14),transparent 46%),
        linear-gradient(180deg,#050a0f 0%,#0b0e14 55%,#04070f 100%);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    pointer-events:auto;
    overflow:hidden;
    transition:opacity .32s ease,visibility .32s ease;
}
body.dev-auth-split-body #site-loader.auth-loader.dev-auth-modern-loader.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}
.auth-modern-loader-shell{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:26px;
    text-align:center;
    max-width:min(92vw,420px);
    padding:8px 16px;
    box-sizing:border-box;
    animation:authModernLoaderFade .28s ease both;
    will-change:opacity;
}
.auth-modern-loader-ring-wrap{
    position:relative;
    width:148px;
    height:148px;
    margin:0;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
}
.auth-modern-loader-ring{
    position:absolute;
    inset:0;
    margin:auto;
    width:148px;
    height:148px;
    animation:authModernLoaderSpin 1s linear infinite;
    transform-origin:50% 50%;
    will-change:transform;
}
.auth-modern-loader-ring span{
    position:absolute;
    left:50%;
    top:50%;
    width:5px;
    height:15px;
    margin:-7.5px 0 0 -2.5px;
    border-radius:999px;
    background:linear-gradient(180deg,#a5f3fc,#22d3ee 45%,#0891b2);
    transform:rotate(calc(var(--i) * 15deg)) translateY(-54px);
    transform-origin:center center;
    opacity:calc(.1 + ((24 - ((var(--i) + 6) % 24)) / 24) * .9);
    box-shadow:0 0 12px rgba(34,211,238,.4);
}
.auth-modern-loader-center{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
    pointer-events:none;
    padding:26px;
}
.auth-modern-loader-brand{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    max-width:96px;
    color:#dffaff;
    font-size:12px;
    font-weight:900;
    line-height:1.2;
    letter-spacing:.04em;
    text-align:center;
    text-transform:uppercase;
    text-shadow:0 0 14px rgba(34,211,238,.5);
}
.auth-modern-loader-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    height:22px;
    flex:0 0 auto;
}
.auth-modern-loader-dots span{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#22d3ee;
    box-shadow:0 0 0 transparent;
    animation:authModernLoaderDotPulse 1.2s ease-in-out infinite;
    transform:scale(.85);
    opacity:.55;
}
.auth-modern-loader-dots span:nth-child(1){animation-delay:0s}
.auth-modern-loader-dots span:nth-child(2){animation-delay:.12s}
.auth-modern-loader-dots span:nth-child(3){animation-delay:.24s}
.auth-modern-loader-dots span:nth-child(4){animation-delay:.36s}
.auth-modern-loader-dots span:nth-child(5){animation-delay:.48s}
.auth-modern-loader-dots span:nth-child(6){animation-delay:.6s}
.auth-modern-loader-caption{
    display:block;
    margin:0;
    padding:0 8px;
    max-width:min(88vw,360px);
    color:#cbd5e1;
    font-size:14px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:.01em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-align:center;
}
.auth-modern-loader-status.sr-only,
.auth-modern-loader-page.sr-only,
.auth-modern-loader-text.sr-only,
.auth-modern-loader-shell .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;
}
@keyframes authModernLoaderSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes authModernLoaderFade{from{opacity:0}to{opacity:1}}
@keyframes authModernLoaderDotPulse{
    0%,100%{transform:scale(.85);opacity:.45;box-shadow:0 0 0 transparent}
    40%{transform:scale(1.35);opacity:1;box-shadow:0 0 12px rgba(34,211,238,.95),0 0 22px rgba(34,211,238,.45)}
    60%{transform:scale(1.05);opacity:.85;box-shadow:0 0 8px rgba(34,211,238,.55)}
}

/* Developer auth: button loader + result popup (same UX as portal login) */
body.dev-auth-body .btn.is-auth-loading,
body.dev-auth-split-body .btn.is-auth-loading{
    pointer-events:none;
    opacity:.92;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
body.dev-auth-body .btn.is-auth-loading .fa-spinner,
body.dev-auth-split-body .btn.is-auth-loading .fa-spinner{font-size:14px}
body.dev-auth-body #authResultPopup,
body.dev-auth-split-body #authResultPopup{z-index:12060}
body.dev-auth-body #authResultPopup.popup-overlay,
body.dev-auth-split-body #authResultPopup.popup-overlay{
    background:rgba(2,6,23,.72);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
    align-items:center;
    justify-content:center;
}
body.dev-auth-body #authResultPopup .auth-result-popup,
body.dev-auth-split-body #authResultPopup .auth-result-popup{
    max-width:min(420px,calc(100vw - 32px));
    padding:32px 24px 24px;
    border-radius:24px;
    background:rgba(15,23,42,.97);
    border:1px solid rgba(34,211,238,.22);
    color:#e2e8f0;
    box-shadow:0 28px 72px rgba(0,0,0,.52),0 0 0 1px rgba(34,211,238,.06) inset;
    position:relative;
    overflow:hidden;
}
body.dev-auth-body #authResultPopup .auth-popup-glow,
body.dev-auth-split-body #authResultPopup .auth-popup-glow{
    position:absolute;
    top:-42%;
    left:50%;
    transform:translateX(-50%);
    width:220px;
    height:220px;
    border-radius:50%;
    filter:blur(52px);
    opacity:.42;
    pointer-events:none;
}
body.dev-auth-body #authResultPopup .popup-success .auth-popup-glow,
body.dev-auth-split-body #authResultPopup .popup-success .auth-popup-glow{background:#10b981}
body.dev-auth-body #authResultPopup .popup-danger .auth-popup-glow,
body.dev-auth-split-body #authResultPopup .popup-danger .auth-popup-glow{background:#ef4444}
body.dev-auth-body #authResultPopup .auth-popup-icon,
body.dev-auth-split-body #authResultPopup .auth-popup-icon{
    width:64px;
    height:64px;
    font-size:28px;
    position:relative;
    z-index:1;
    animation:authPopIcon .48s cubic-bezier(.34,1.35,.64,1);
}
@keyframes authPopIcon{from{transform:scale(.55);opacity:0}to{transform:scale(1);opacity:1}}
body.dev-auth-body #authResultPopup .popup-success .auth-popup-icon,
body.dev-auth-split-body #authResultPopup .popup-success .auth-popup-icon{
    background:rgba(16,185,129,.14);
    color:#34d399;
    border-color:rgba(52,211,153,.28);
    box-shadow:0 0 28px rgba(16,185,129,.22);
}
body.dev-auth-body #authResultPopup .popup-danger .auth-popup-icon,
body.dev-auth-split-body #authResultPopup .popup-danger .auth-popup-icon{
    background:rgba(239,68,68,.12);
    color:#f87171;
    border-color:rgba(248,113,113,.28);
    box-shadow:0 0 28px rgba(239,68,68,.18);
}
body.dev-auth-body #authResultPopup .popup-box h3,
body.dev-auth-split-body #authResultPopup .popup-box h3{
    color:#f8fafc;
    font-size:18px;
    position:relative;
    z-index:1;
}
body.dev-auth-body #authResultPopup .popup-box p,
body.dev-auth-split-body #authResultPopup .popup-box p{
    color:#94a3b8;
    font-size:14px;
    position:relative;
    z-index:1;
}
body.dev-auth-body #authResultPopup .auth-popup-progress,
body.dev-auth-split-body #authResultPopup .auth-popup-progress{
    height:3px;
    background:rgba(148,163,184,.18);
    border-radius:999px;
    margin:-4px 0 16px;
    overflow:hidden;
    position:relative;
    z-index:1;
}
body.dev-auth-body #authResultPopup .auth-popup-progress span,
body.dev-auth-split-body #authResultPopup .auth-popup-progress span{
    display:block;
    height:100%;
    width:0;
    border-radius:inherit;
    background:linear-gradient(90deg,#0891b2,#22d3ee);
}
body.dev-auth-body #authResultPopup .auth-popup-progress.is-active span,
body.dev-auth-split-body #authResultPopup .auth-popup-progress.is-active span{
    animation:authPopupProgress 1.4s ease forwards;
}
@keyframes authPopupProgress{to{width:100%}}
body.dev-auth-body #authResultPopup .popup-close,
body.dev-auth-split-body #authResultPopup .popup-close{
    background:rgba(30,41,59,.92);
    border-color:rgba(148,163,184,.22);
    color:#94a3b8;
    z-index:2;
}
body.dev-auth-body #authResultPopup .auth-popup-btn,
body.dev-auth-split-body #authResultPopup .auth-popup-btn{
    background:linear-gradient(135deg,#0891b2,var(--primary));
    box-shadow:0 8px 22px rgba(180,83,9,.28);
    min-height:44px;
    min-width:120px;
    position:relative;
    z-index:1;
}
@media(max-width:480px){
    body.dev-auth-body #authResultPopup .auth-result-popup,
    body.dev-auth-split-body #authResultPopup .auth-result-popup{padding:28px 18px 20px;border-radius:20px}
    body.dev-auth-body #authResultPopup .auth-popup-icon,
    body.dev-auth-split-body #authResultPopup .auth-popup-icon{width:56px;height:56px;font-size:24px}
    body.dev-auth-body #authResultPopup .popup-box h3,
    body.dev-auth-split-body #authResultPopup .popup-box h3{font-size:16px}
    body.dev-auth-body #authResultPopup .auth-popup-btn,
    body.dev-auth-split-body #authResultPopup .auth-popup-btn{width:100%}
}
