html{
    color-scheme:dark;
    forced-color-adjust:none;
}
*{box-sizing:border-box}
html,body{
    margin:0;
    min-height:100%;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    color:#f2f7fb;
    background:#050b12;
}
body{
    min-height:100vh;
    background:
        radial-gradient(circle at 50% 5%,rgba(17,105,165,.13),transparent 34%),
        linear-gradient(145deg,#050b12,#07101a 55%,#040a10);
}
.auth-shell{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:28px 16px;
}
.auth-card{
    width:min(470px,100%);
    padding:28px;
    border:1px solid rgba(55,126,174,.25);
    border-radius:16px;
    background:linear-gradient(145deg,rgba(10,25,38,.96),rgba(5,15,24,.97));
    box-shadow:0 24px 70px rgba(0,0,0,.38);
}
.auth-brand{
    display:flex;
    justify-content:center;
    margin-bottom:18px;
}
.auth-brand img{
    width:190px;
    height:70px;
    object-fit:contain;
}
.auth-tabs{
    display:flex;
    gap:6px;
    padding:4px;
    margin-bottom:25px;
    border:1px solid rgba(72,126,166,.16);
    border-radius:10px;
    background:#07131e;
}
.auth-tab{
    flex:1;
    height:38px;
    border:0;
    border-radius:7px;
    color:#8197a8;
    background:transparent;
    font:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}
.auth-tab.active{
    color:#fff;
    background:#112232;
}
.auth-card h1{
    margin:0;
    font-size:24px;
}
.auth-subtitle{
    margin:7px 0 22px;
    color:#8098aa;
    font-size:13px;
}
form{
    display:flex;
    flex-direction:column;
    gap:13px;
}
label{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:#a9c0d0;
    font-size:11px;
    font-weight:800;
}
input{
    width:100%;
    height:42px;
    padding:0 12px;
    border:1px solid rgba(72,126,166,.30);
    border-radius:8px;
    outline:none;
    color:#f1f7fb;
    background:#081520;
    font:inherit;
    font-size:13px;
}
input:focus{
    border-color:rgba(60,181,255,.70);
    box-shadow:0 0 0 3px rgba(60,181,255,.07);
}
.auth-primary{
    height:43px;
    margin-top:5px;
    border:1px solid rgba(60,181,255,.45);
    border-radius:8px;
    color:#fff;
    background:#0d6fa8;
    font:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}
.auth-primary:hover{background:#1184c3}
.account-choice{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
    margin-bottom:2px;
}
.choice{
    position:relative;
    min-height:64px;
    padding:11px;
    border:1px solid rgba(72,126,166,.25);
    border-radius:9px;
    background:#081520;
    cursor:pointer;
}
.choice input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.choice span{
    color:#eaf4fa;
    font-size:13px;
}
.choice small{
    display:block;
    margin-top:4px;
    color:#71899b;
    font-size:10px;
    font-weight:500;
}
.choice.active{
    border-color:rgba(60,181,255,.60);
    background:#0c2132;
}
.choice:has(input:checked){
    border-color:rgba(60,181,255,.60);
    background:#0c2132;
}
.auth-message{
    min-height:18px;
    margin-top:14px;
    font-size:12px;
    line-height:1.4;
}
.auth-message.success{color:#72c5f5}
.auth-message.error{color:#ef8585}
.auth-footer{
    margin-top:20px;
    padding-top:16px;
    border-top:1px solid rgba(72,126,166,.13);
    color:#71889b;
    text-align:center;
    font-size:10px;
}
@media(max-width:520px){
    .auth-card{padding:21px}
    .auth-brand img{width:170px;height:62px}
}
