/**
 * بطاقات الإحصائيات (UI::stat)
 * (جزء من المكونات المركزية: تُحمّل كلها عبر المقبض tnt-components)
 */

.tnt .tnt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 22px; }
.tnt .tnt-stat {
	position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--tnt-surface);
	border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius-lg); box-shadow: var(--tnt-shadow-sm); color: inherit; overflow: hidden;
	transition: transform .2s var(--tnt-ease), box-shadow .2s;
}
.tnt a.tnt-stat:hover { transform: translateY(-2px); box-shadow: var(--tnt-shadow); }
.tnt .tnt-stat::after { content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: currentColor; opacity: .05; }
.tnt .tnt-stat__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.tnt .tnt-stat__body { display: flex; flex-direction: column; min-width: 0; }
.tnt .tnt-stat__label { font-size: 13px; color: var(--tnt-muted); font-weight: 500; }
.tnt .tnt-stat__value { font-size: 26px; font-weight: 800; color: var(--tnt-text); line-height: 1.2; letter-spacing: -.5px; }
.tnt .tnt-stat__hint { font-size: 12px; color: var(--tnt-muted); }
.tnt .tnt-stat__trend { font-size: 12px; font-weight: 700; }
.tnt .tnt-stat__trend.is-up { color: var(--tnt-success); }
.tnt .tnt-stat__trend.is-down { color: var(--tnt-danger); }
.tnt .tnt-stat--primary { color: var(--tnt-primary); } .tnt .tnt-stat--primary .tnt-stat__icon { background: var(--tnt-primary-50); }
.tnt .tnt-stat--success { color: var(--tnt-success); } .tnt .tnt-stat--success .tnt-stat__icon { background: var(--tnt-success-50); }
.tnt .tnt-stat--danger { color: var(--tnt-danger); } .tnt .tnt-stat--danger .tnt-stat__icon { background: var(--tnt-danger-50); }
.tnt .tnt-stat--warning { color: var(--tnt-warning); } .tnt .tnt-stat--warning .tnt-stat__icon { background: var(--tnt-warning-50); }
.tnt .tnt-stat--info { color: var(--tnt-info); } .tnt .tnt-stat--info .tnt-stat__icon { background: var(--tnt-info-50); }
.tnt .tnt-stat--gold { color: var(--tnt-gold-600); } .tnt .tnt-stat--gold .tnt-stat__icon { background: var(--tnt-gold-50); }

