/* BotGuard — application styling layered on top of Bootstrap 5.3 */

:root {
    --bg-brand-gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
}

body {
    min-height: 100vh;
}

/* Brand gradient text utility */
.text-gradient {
    background: var(--bg-brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Stat cards used across dashboards */
.stat-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.85rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}
.stat-card .stat-value {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
}

/* Risk badges */
.badge-human      { background-color: #16a34a; }
.badge-suspicious { background-color: #d97706; }
.badge-bot        { background-color: #dc2626; }

/* Score ring animation for the verification page */
.score-ring {
    --value: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(closest-side, var(--bs-body-bg) 79%, transparent 80% 100%),
        conic-gradient(var(--bs-primary) calc(var(--value) * 1%), var(--bs-border-color) 0);
    transition: background 0.6s ease;
}
.score-ring .score-num {
    font-size: 2.6rem;
    font-weight: 800;
}

/* Verification checklist rows */
.check-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}
.check-row .spinner-border-sm { width: 1rem; height: 1rem; }

/* Honeypot: visually and programmatically hidden but present in the DOM */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
