/* AllNewTools auth modal — sleek popup, mobile bottom-sheet. Marker: ANT-AUTH-CSS-V1 */
.ant-auth-overlay{position:fixed;inset:0;background:rgba(15,18,25,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:9990;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .22s ease}
.ant-auth-overlay.open{opacity:1;pointer-events:auto}
.ant-auth-modal{background:#fff;border-radius:18px;max-width:420px;width:100%;max-height:92vh;overflow-y:auto;padding:28px 26px 24px;position:relative;box-shadow:0 24px 70px rgba(0,0,0,.28);transform:translateY(14px) scale(.98);transition:transform .22s ease;font-family:"DM Sans",system-ui,-apple-system,sans-serif}
.ant-auth-overlay.open .ant-auth-modal{transform:none}
.ant-auth-close{position:absolute;top:12px;right:12px;width:40px;height:40px;border:0;background:#f1f3f7;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;color:#555}
.ant-auth-close:hover{background:#e4e8ef}
.ant-auth-logo{text-align:center;margin-bottom:6px}
.ant-auth-logo img{height:44px;width:auto;max-width:220px}
.ant-auth-nudge{display:none;background:#eef4ff;border:1px solid #c9ddff;color:#14489b;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45;margin:12px 0}
.ant-auth-nudge.show{display:block}
.ant-auth-tabs{display:flex;background:#f1f3f7;border-radius:12px;padding:4px;margin:14px 0 18px}
.ant-auth-tab{flex:1;border:0;background:transparent;border-radius:9px;min-height:44px;font-size:15px;font-weight:700;color:#666;cursor:pointer;font-family:inherit}
.ant-auth-tab.active{background:#fff;color:#1c1d21;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.ant-auth-google{width:100%;min-height:50px;border:1px solid #dadce0;background:#fff;border-radius:12px;font-size:15px;font-weight:600;color:#3c4043;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;font-family:inherit}
.ant-auth-google:hover{background:#f8f9fa}
.ant-auth-google.disabled{opacity:.55;cursor:not-allowed}
.ant-auth-google-note{display:none;font-size:13px;color:#8a6d1a;background:#fff8e1;border:1px solid #f0e2a8;border-radius:10px;padding:9px 12px;margin-top:8px;line-height:1.4}
.ant-auth-google-note.show{display:block}
.ant-auth-div{display:flex;align-items:center;gap:12px;color:#999;font-size:13px;margin:16px 0}
.ant-auth-div::before,.ant-auth-div::after{content:"";flex:1;height:1px;background:#e6e8ee}
.ant-auth-view{display:none}
.ant-auth-view.active{display:block;animation:antAuthFade .18s ease}
@keyframes antAuthFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ant-auth-field{margin-bottom:14px}
.ant-auth-field label{display:block;font-size:13.5px;font-weight:600;color:#3c4043;margin-bottom:6px}
.ant-auth-field input{width:100%;min-height:50px;border:1.5px solid #dfe3ea;border-radius:12px;padding:0 14px;font-size:15.5px;font-family:inherit;box-sizing:border-box}
.ant-auth-field input:focus{outline:none;border-color:#0081fb;box-shadow:0 0 0 3px rgba(0,129,251,.14)}
.ant-auth-err{display:none;background:#fdecec;border:1px solid #f5c2c2;color:#b3261e;border-radius:10px;padding:10px 12px;font-size:14px;margin-bottom:14px;line-height:1.45}
.ant-auth-err.show{display:block}
.ant-auth-ok{display:none;background:#e9f7ef;border:1px solid #bfe6cd;color:#1c7a3d;border-radius:10px;padding:10px 12px;font-size:14px;margin-bottom:14px;line-height:1.45}
.ant-auth-ok.show{display:block}
.ant-auth-submit{width:100%;min-height:52px;border:0;border-radius:12px;background:#0081fb;color:#fff;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit}
.ant-auth-submit:hover{background:#0064e0}
.ant-auth-submit:disabled{opacity:.6;cursor:wait}
.ant-auth-foot{text-align:center;margin-top:14px;font-size:14px;color:#666}
.ant-auth-foot a{color:#0081fb;text-decoration:none;font-weight:600;cursor:pointer}
.ant-auth-foot a:hover{text-decoration:underline}
.ant-auth-pwbar{height:6px;border-radius:4px;background:#eef0f4;margin-top:8px;overflow:hidden}
.ant-auth-pwbar i{display:block;height:100%;width:0;border-radius:4px;background:#e0245e;transition:width .2s,background .2s}
.ant-auth-terms{font-size:12.5px;color:#888;text-align:center;margin-top:14px;line-height:1.5}
.ant-auth-terms a{color:#0081fb;text-decoration:none}
@media (max-width:520px){
.ant-auth-overlay{padding:0;align-items:flex-end}
.ant-auth-modal{max-width:100%;border-radius:20px 20px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom));transform:translateY(40px)}
.ant-auth-overlay.open .ant-auth-modal{transform:none}
}

html[data-theme=dark] .ant-auth-tabs{background:#0c1524;border:1px solid #2b3d55}html[data-theme=dark] .ant-auth-tab{color:#abbad0}html[data-theme=dark] .ant-auth-tab.active{background:#253853;color:#eef4fc;box-shadow:0 2px 8px #0003}html[data-theme=dark] .ant-auth-google,html[data-theme=dark] .ant-auth-close{background:#1b2a40;border:1px solid #344a66;color:#eef4fc}html[data-theme=dark] .ant-auth-google:hover{background:#253853}html[data-theme=dark] .ant-auth-box label{color:#abbad0}html[data-theme=dark] .ant-auth-box input{background:#0d1828;color:#eef4fc;border-color:#344a66}
html[data-theme=dark] .ant-auth-field label{color:#abbad0}html[data-theme=dark] .ant-auth-field input{background:#0d1828!important;color:#eef4fc!important;border-color:#344a66!important}
