/* ===========================
   SHFQ Custom Styles
   Only overrides that Filament cannot handle natively
   =========================== */

/* Overdue task row highlight */
.overdue-task-row {
    border-inline-start: 3px solid #ef4444 !important;
    border-inline-end: 3px solid #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.04) !important;
}

.dark .overdue-task-row {
    background-color: rgba(239, 68, 68, 0.08) !important;
}

/* Confidential record row amber tint */
.confidential-row {
    border-inline-start: 3px solid #f59e0b !important;
    background-color: rgba(245, 158, 11, 0.04) !important;
}

.dark .confidential-row {
    background-color: rgba(245, 158, 11, 0.08) !important;
}

/* Logo dark mode invert */
.dark .fi-logo img,
.dark .fi-sidebar-header img,
.dark .fi-topbar img[alt="Logo"] {
    filter: brightness(0) invert(1) !important;
}

/* Stat card: shrink value text to prevent wrapping (e.g. "5 معلقة / 3 مكتملة") */
.fi-wi-stats-overview-stat:first-child .fi-wi-stats-overview-stat-value {
    font-size: 1.25rem !important;
}

/* Upcoming sessions widget: dark mode text fix */
.dark {
    --fi-body-text-color: #f3f4f6;
}