/* NICO sign-in and password recovery background */
html,body {
    min-height:100%
}
body.auth-page {
    background:#18264c;
    min-height:100vh
}
.auth-background {
    position:fixed;
    inset:0;
    background-image:linear-gradient(rgba(10,19,42,.30),rgba(10,19,42,.45)),url('/images/bg.jpg');
    background-size:120% 120%;
    background-position:center;
    animation:nicoZoom 30s ease-in-out infinite alternate;
    z-index:0
}
.auth-layout {
    position:relative;
    z-index:1;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px 16px
}
.auth-card {
    width:100%;
    max-width:440px;
    background:rgba(255,255,255,.97);
    padding:34px;
    border-radius:15px;
    box-shadow:0 18px 60px #0005
}
.auth-logo {
    display:block;
    max-width:265px;
    width:85%;
    max-height:155px;
    object-fit:contain;
    margin:0 auto 16px
}
.auth-card h1 {
    text-align:center;
    font-size:25px;
    margin-bottom:6px
}
.auth-card .muted {
    text-align:center;
    margin:0 0 22px
}
.auth-card button {
    width:100%
}
.auth-links {
    text-align:center;
    margin-top:20px
}
.success {
    color:#176038;
    background:#eaf8ee;
    padding:12px;
    border-radius:6px
}
.auth-card a {
    font-weight:600
}
@keyframes nicoZoom {
    from {
        background-size:120% 120%
    }
    to {
        background-size:100% 100%
    }
}
@media(prefers-reduced-motion:reduce) {
    .auth-background {
        animation:none;
        background-size:cover
    }
}
@media(max-width:650px) {
    .auth-background {
        background-size:cover;
        animation:none
    }
    .auth-card {
        padding:25px
    }
}
