/* Login-only animated background */

html,
body {
    height: 100%;
    background-repeat: no-repeat;
    background: var(--theme-login-bg);
    position: relative;
}

/* Make the login shell transparent so particles show through */
.auth-shell {
    background: transparent;
}

#particles-js {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Keep the auth card above the particles */
.auth-card {
    position: relative;
    z-index: 2;
}

/* Why:
   - Copyright text needs to be readable against the animated background.
   - Keeping it inside the auth card (form) improves contrast and keeps it visually tied to the login UI. */
.auth-copyright {
    margin-top: 14px;
    /* Why: auth-form uses CSS grid; ensure the item spans the form width and centers reliably. */
    width: 100%;
    justify-self: center;
    text-align: center;
    font-size: 14px;
    color: var(--theme-muted);
}

/* Center embedded captcha widgets (Turnstile / reCAPTCHA) inside the login form. */
.captcha-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Turnstile uses an iframe; keep it centered even if the wrapper gets a fixed width. */
.captcha-center iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
