/* Small additions to the Filament panel: the bot status page and a calmer, rounder look. */

/* ---- general polish ---- */
.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat { border-radius: 1rem; }
.fi-sidebar-group-label { font-weight: 700; letter-spacing: 0; }
.fi-ta-header-cell-label { font-weight: 700; }
.fi-ta-row:hover { background: rgba(15, 43, 91, 0.035); }
.dark .fi-ta-row:hover { background: rgba(255, 255, 255, 0.04); }
.fi-header-heading { font-weight: 800; }
.fi-wi-stats-overview-stat-value { font-weight: 800; }

/* ---- bot status page ---- */
.bt-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.bt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.bt-card { background: #fff; border: 1px solid rgba(100, 116, 139, 0.22); border-radius: 1rem; padding: 1rem 1.15rem; }
.dark .bt-card { background: rgba(255, 255, 255, 0.04); }
.bt-card.bt-success { border-inline-start: 4px solid #16a34a; }
.bt-card.bt-warning { border-inline-start: 4px solid #d97706; }
.bt-card.bt-danger { border-inline-start: 4px solid #dc2626; }
.bt-card.bt-info { border-inline-start: 4px solid #2563eb; }
.bt-label { font-size: 0.8rem; color: #64748b; }
.bt-value { font-size: 1.2rem; font-weight: 800; margin-top: 0.3rem; }
.bt-hint { font-size: 0.72rem; color: #94a3b8; margin-top: 0.3rem; }

.bt-scroll { overflow-x: auto; }
.bt-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.bt-table th { text-align: start; color: #64748b; font-weight: 700; padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(100, 116, 139, 0.25); white-space: nowrap; }
.bt-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid rgba(100, 116, 139, 0.12); vertical-align: top; }
.bt-table tr:last-child td { border-bottom: 0; }
.bt-strong { font-weight: 700; }
.bt-muted { color: #64748b; }

.bt-badge { display: inline-block; padding: 0.1rem 0.65rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.bt-badge.bt-success { background: #dcfce7; color: #166534; }
.bt-badge.bt-warning { background: #fef3c7; color: #92400e; }
.bt-badge.bt-danger { background: #fee2e2; color: #991b1b; }
.bt-badge.bt-info { background: #dbeafe; color: #1e40af; }
.bt-badge.bt-gray { background: #e2e8f0; color: #334155; }
.dark .bt-badge.bt-success { background: rgba(22, 163, 74, 0.2); color: #86efac; }
.dark .bt-badge.bt-warning { background: rgba(217, 119, 6, 0.2); color: #fcd34d; }
.dark .bt-badge.bt-danger { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }
.dark .bt-badge.bt-info { background: rgba(37, 99, 235, 0.2); color: #93c5fd; }
.dark .bt-badge.bt-gray { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }

.bt-alert { padding: 1rem 1.15rem; border-radius: 0.9rem; font-weight: 600; }
.bt-alert.bt-danger { background: #fee2e2; color: #991b1b; }

/* post preview */
.bt-preview { white-space: pre-wrap; line-height: 2; background: rgba(100, 116, 139, 0.08); border-radius: 0.75rem; padding: 1rem 1.15rem; }
