/* MSROH APP - premium login/register skin (html.ms-auth, sirf app me) */
html.ms-auth{--g1:#fde68a;--g2:#f5b72a;--g3:#e08a0a}
html.ms-auth body{min-height:100vh;background:#070d2a!important;color:#fff;font-family:Poppins,system-ui,sans-serif;position:relative;overflow-x:hidden}
html.ms-auth .section,html.ms-auth main{background:transparent!important}
.msa-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:radial-gradient(circle at 20% 10%,#14327f,transparent 55%),radial-gradient(circle at 90% 90%,#3b1580,transparent 55%),#070d2a}
.msa-bg i{position:absolute;border-radius:50%;filter:blur(60px);opacity:.75;animation:msaF 14s ease-in-out infinite alternate}
.msa-bg i:nth-child(1){width:320px;height:320px;left:-90px;top:-60px;background:#1d4ed8}
.msa-bg i:nth-child(2){width:300px;height:300px;right:-100px;top:28%;background:#9333ea;animation-delay:-4s}
.msa-bg i:nth-child(3){width:280px;height:280px;left:10%;bottom:-100px;background:#db2777;animation-delay:-8s}
.msa-bg i:nth-child(4){width:200px;height:200px;right:12%;bottom:12%;background:#f59e0b;opacity:.45;animation-delay:-2s}
@keyframes msaF{to{transform:translate(60px,-40px) scale(1.25)}}
html.ms-auth .msa-bg~.section,html.ms-auth .msa-bg~.auth-card{position:relative;z-index:1}
html.ms-auth .msa-bg{z-index:0}
.msa-logo{width:96px;height:96px;margin:0 auto 18px;border-radius:28px;background:#fff;display:grid;place-items:center;position:relative;box-shadow:0 16px 44px rgba(0,0,0,.5),0 0 50px rgba(245,183,42,.35);animation:msaPop .8s cubic-bezier(.2,.9,.3,1.25) both}
.msa-logo img{width:72px;height:72px;object-fit:contain}
.msa-logo::before{content:"";position:absolute;inset:-5px;border-radius:32px;padding:2.5px;background:conic-gradient(from var(--ang,0deg),transparent,#fde68a,#f5b72a,transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:msSpin 2.4s linear infinite}
@keyframes msaPop{from{opacity:0;transform:scale(.6) rotate(-8deg)}to{opacity:1;transform:none}}
.msa-back{position:fixed;top:calc(14px + env(safe-area-inset-top));left:14px;z-index:20;width:40px;height:40px;border-radius:14px;display:grid;place-items:center;color:#fde68a;text-decoration:none;font-size:20px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
/* card */
html.ms-auth .auth-card,html.ms-auth .admin-card{position:relative;max-width:440px;width:calc(100% - 32px);box-sizing:border-box;margin:calc(26px + env(safe-area-inset-top)) auto 120px!important;padding:30px 24px!important;border-radius:28px!important;color:#fff;
background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05))!important;border:0!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 26px 60px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.1) inset!important;animation:msaUp .7s cubic-bezier(.2,.8,.2,1) both}
html.ms-auth .auth-card::before,html.ms-auth .admin-card::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.6px;pointer-events:none;background:conic-gradient(from var(--ang,0deg),rgba(255,255,255,.12) 0,rgba(255,255,255,.12) 55%,#f5b72a 78%,#fde68a 88%,rgba(255,255,255,.12) 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:msSpin 5s linear infinite}
@property --ang{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes msSpin{to{--ang:360deg}}
@keyframes msaUp{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
html.ms-auth .auth-title,html.ms-auth .admin-card>h1,html.ms-auth .admin-card h1,html.ms-auth .admin-card h2{font:700 30px 'Playfair Display',Georgia,serif!important;text-align:center;margin:0 0 6px!important;letter-spacing:.3px;background:linear-gradient(100deg,#fff 30%,#fde68a 50%,#fff 70%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:msTxt 5s ease-in-out infinite}
@keyframes msTxt{0%,100%{background-position:100% 0}50%{background-position:0 0}}
html.ms-auth .auth-subtitle{text-align:center;color:#c9d6fb!important;font-size:13.5px;margin-bottom:22px}
html.ms-auth label{display:block;color:#f7d874!important;font-size:12px!important;font-weight:600;letter-spacing:.6px;text-transform:uppercase;margin-bottom:7px}
html.ms-auth .field,html.ms-auth .form-group{margin-bottom:16px}
html.ms-auth .auth-card input,html.ms-auth .admin-card input,html.ms-auth .admin-card select,html.ms-auth .admin-card textarea,html.ms-auth .form-control{width:100%;padding:14px 16px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:15px;outline:0;transition:border-color .25s,box-shadow .25s,background .25s;box-sizing:border-box}
html.ms-auth input::placeholder{color:rgba(255,255,255,.45)}
html.ms-auth .auth-card input:focus,html.ms-auth .admin-card input:focus,html.ms-auth .admin-card select:focus,html.ms-auth .form-control:focus{border-color:#f5b72a!important;background:rgba(255,255,255,.14)!important;box-shadow:0 0 0 4px rgba(245,183,42,.22),0 0 24px rgba(245,183,42,.25)!important}
html.ms-auth .admin-card select option{color:#111}
html.ms-auth input:-webkit-autofill{-webkit-text-fill-color:#fff;box-shadow:0 0 0 40px #1a2a6b inset!important}
html.ms-auth .submit-btn,html.ms-auth .admin-card .btn,html.ms-auth .admin-card button[type=submit]{position:relative;overflow:hidden;width:100%;padding:15px!important;border:0!important;border-radius:16px!important;font:800 15px Poppins,system-ui,sans-serif!important;letter-spacing:.4px;color:#2a1a00!important;cursor:pointer;background:linear-gradient(180deg,#fde68a,#f5b72a 55%,#e08a0a)!important;box-shadow:0 12px 28px rgba(245,183,42,.45),0 1px 0 rgba(255,255,255,.6) inset;transition:transform .15s}
html.ms-auth .submit-btn:active,html.ms-auth .admin-card button[type=submit]:active{transform:scale(.97)}
html.ms-auth .submit-btn::after,html.ms-auth .admin-card button[type=submit]::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.65),transparent);transform:skewX(-20deg);animation:msaSh 3.2s ease-in-out infinite}
@keyframes msaSh{0%,60%{left:-60%}100%{left:130%}}
html.ms-auth .errors,html.ms-auth .admin-card [style*="fef2f2"]{background:rgba(239,68,68,.16)!important;border:1px solid rgba(248,113,113,.55);color:#ffd1d1!important;border-radius:14px!important;padding:12px 16px!important;margin:0 0 16px!important}
html.ms-auth .errors ul{margin:0;padding-left:18px}
html.ms-auth .switch-link,html.ms-auth .admin-card p{text-align:center;color:#c9d6fb!important;font-size:13.5px!important;margin-top:18px}
html.ms-auth .signup-btn{display:block;margin-top:12px;padding:13px;border-radius:16px;text-align:center;font-weight:700;color:#fde68a!important;text-decoration:none;background:rgba(255,255,255,.08);border:1.5px solid rgba(245,183,42,.7);box-shadow:0 0 22px rgba(245,183,42,.2)}
html.ms-auth .admin-card a{color:#fde68a;font-weight:700}
@media(prefers-reduced-motion:reduce){html.ms-auth *,html.ms-auth *::before,html.ms-auth *::after{animation-duration:.01ms!important;animation-iteration-count:1!important}}
