/* Auth-page-only styles. Shared tokens, reset, mesh background, .card,
   .btn, .badge and .error-msg live in theme.css (loaded before this file). */

body{
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.stage{
    width:100%;
    display:flex;
    justify-content:center;
    padding:20px;
    position:relative;
    z-index:10;
}

.panel{
    width:100%;
    max-width:420px;
}

.brand{
    text-align:center;
    margin-bottom:30px;
}

.logo{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:contain;
    background:#fff;
    padding:6px;
}

h1{
    text-align:center;
    margin-bottom:25px;
}

p.subtext{
    text-align:center;
    color:var(--text-dim);
    font-size:14px;
    margin-top:-15px;
    margin-bottom:25px;
    line-height:1.5;
}

.field{
    margin-bottom:18px;
}

label{
    display:block;
    margin-bottom:8px;
    color:var(--text-dim);
    font-size:14px;
}

.checkbox-label{
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--text-dim);
    margin-bottom:0;
}

.checkbox-label input{
    accent-color:var(--violet);
}

.input-row{
    display:flex;
    align-items:center;
    background:rgba(255,255,255,.03);
    border:1px solid var(--line-strong);
    border-radius:10px;
    padding:12px 15px;
}

.input-row input{
    width:100%;
    border:none;
    outline:none;
    background:none;
    color:#fff;
    font-size:15px;
}

.input-row svg{
    color:#888;
    margin-right:10px;
    flex-shrink:0;
}

.toggle-pw{
    background:none;
    border:none;
    color:#999;
    cursor:pointer;
    font-size:15px;
}

.row-between{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    font-size:14px;
}

.row-between a{
    color:var(--cyan);
    text-decoration:none;
}

.submit-btn{
    width:100%;
    border:none;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
    background:linear-gradient(90deg,var(--violet),var(--cyan));
    color:#111;
    font-size:15px;
}

.submit-btn:hover{
    opacity:.9;
}

.submit-btn.secondary{
    background:none;
    border:1px solid var(--line-strong);
    color:var(--text);
    margin-top:12px;
}

.submit-btn.secondary:hover{
    background:rgba(255,255,255,.04);
    opacity:1;
}

.status-icon{
    width:64px;
    height:64px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(139,92,246,.15);
    color:var(--violet);
}

.footer-note{
    text-align:center;
    margin-top:25px;
    color:#999;
    font-size:14px;
}

.footer-note a{
    color:var(--cyan);
    text-decoration:none;
}

.page-footer{
    position:fixed;
    bottom:20px;
    width:100%;
    text-align:center;
    color:#777;
    font-size:13px;
}

.error-code{
    text-align:center;
    font-family:Sora,sans-serif;
    font-size:80px;
    font-weight:800;
    background:linear-gradient(90deg,var(--violet),var(--cyan));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    line-height:1;
    margin-bottom:10px;
}