Spaces:
Build error
Build error
File size: 1,208 Bytes
fab9847 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | .stat-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 20px;
position: relative;
overflow: hidden;
}
.stat-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, var(--accent), transparent);
}
.stat-label {
font-size: 13px;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 6px;
}
.stat-value {
font-size: 28px;
font-weight: 800;
}
.stat-sub {
font-size: 12px;
color: var(--muted);
margin-top: 4px;
}
.stat-delta {
font-size: 12px;
font-weight: 600;
margin-top: 4px;
}
.stat-delta.up { color: var(--green); }
.stat-delta.dn { color: var(--red); }
.stat-delta.fl { color: var(--muted); }
.risk-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 16px;
font-size: 13px;
font-weight: 600;
}
.risk-badge.low { background: rgba(16,185,129,.15); color: var(--green); }
.risk-badge.med { background: rgba(245,158,11,.15); color: var(--yellow); }
.risk-badge.mh { background: rgba(249,115,22,.15); color: var(--orange); }
.risk-badge.hi { background: rgba(239,68,68,.15); color: var(--red); }
|