:root {
    --bg: #f7f8fb;
    --fg: #0f172a;
    --muted: #64748b;
    --card: #ffffff;
    --accent: #4f46e5;
    --accent-2: #06b6d4;
    --danger: #ef4444;
    --radius: 18px;
    --border: #e5e7eb;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--fg);
    background: radial-gradient(1200px 800px at 80% -10%, rgba(79, 70, 229, .08), transparent 60%),
    radial-gradient(1000px 800px at -10% 110%, rgba(6, 182, 212, .08), transparent 60%),
    var(--bg);
    font: 16px/1.45 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans";
    display: grid;
    place-items: center;
    padding: 24px;
}

.card {
    text-align: center;
}

.logo {
    height: 35px;
    margin: 0 auto 30px;
    display: block;
    object-fit: contain;
}

.title {
    font-weight: 700;
    letter-spacing: .2px;
    font-size: 1.2rem;
    margin: 0 0 8px;
}

.muted {
    color: var(--muted);
    margin: 0;
}

.hidden {
    display: none !important;
}

/* Loader */
.spinner {
    margin: 24px auto;
    width: 64px;
    height: 64px;
    position: relative;
}

.spinner:before, .spinner:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}

.spinner:after {
    inset: 8px;
    border-width: 4px;
    border-top-color: var(--accent-2);
    animation-duration: 600ms;
    animation-direction: reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .8rem;
    background: rgba(79, 70, 229, .10);
    color: var(--fg);
    border: 1px solid rgba(79, 70, 229, .25);
}

/* Subtle shimmer */
.shimmer {
    display: inline-block;
    background: linear-gradient(90deg, transparent, rgba(2, 6, 23, .06), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }
    100% {
        background-position: -200% 0
    }
}

.foot {
    margin-top: 18px;
    font-size: .82rem;
    color: var(--muted);
}
