/* SleekAI — login / register. Lifted from the marketing pages' inline styles so the
   auth screens stay pixel-identical to login.html and register.html. */

body { background-color: #0A1733; }
::selection { background: #3B8BFF; color: #0A1733; }
.tally-dot { box-shadow: 0 0 0 3px rgba(59, 139, 255, 0.15); }

/* Ambient glow field */
.glow-field { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.glow-orb { position: absolute; border-radius: 9999px; filter: blur(90px); animation: drift 22s ease-in-out infinite; }
.glow-orb.a { width: 520px; height: 520px; top: -160px; left: -120px; background: radial-gradient(circle, rgba(59,139,255,0.20), transparent 70%); }
.glow-orb.b { width: 460px; height: 460px; top: 20%; right: -160px; background: radial-gradient(circle, rgba(47,191,159,0.14), transparent 70%); animation-delay: -8s; }
.glow-orb.c { width: 420px; height: 420px; bottom: -180px; left: 30%; background: radial-gradient(circle, rgba(59,139,255,0.10), transparent 70%); animation-delay: -14s; }
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.08); }
    66% { transform: translate(-25px, 20px) scale(0.94); }
}

/* Faint circuit-grid texture */
.grid-overlay {
    background-image:
        linear-gradient(rgba(59,139,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,139,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.glass {
    background: rgba(17, 36, 80, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gradient-text {
    background: linear-gradient(120deg, #FFFFFF 20%, #3B8BFF 55%, #FFFFFF 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-glow { box-shadow: 0 0 22px rgba(59, 139, 255, 0.28); transition: box-shadow 0.25s ease, transform 0.15s ease; }
.btn-glow:hover { box-shadow: 0 0 36px rgba(59, 139, 255, 0.48); transform: translateY(-1px); }

/* Field in an error state */
.field-error { border-color: rgba(229, 72, 77, 0.6) !important; }

@media (prefers-reduced-motion: reduce) {
    .glow-orb { animation: none; }
    .btn-glow { transition: none; }
}
