/* =============================================
   LedgerPro Navy Theme v5 - 2026-06-18 13:39:55
   ============================================= */

/* Topbar background */
.fi-topbar {
    background-color: #003366 !important;
    border-bottom: 2px solid #0055a5 !important;
}
.fi-topbar > nav,
.fi-topbar nav {
    background-color: #003366 !important;
}

/* Sidebar toggle icon buttons */
.fi-topbar .fi-icon-btn {
    color: rgba(255,255,255,0.85) !important;
}

/* Nav item buttons (Resources, Reports, etc.) */
.fi-topbar .fi-topbar-item-button {
    color: #ffffff !important;
}
.fi-topbar .fi-topbar-item-button * {
    color: #ffffff !important;
}
.fi-topbar .fi-topbar-item-button:hover {
    background-color: rgba(255,255,255,0.15) !important;
}

/* Dashboard direct link */
.fi-topbar .fi-topbar-item > a,
.fi-topbar .fi-topbar-item > a * {
    color: #ffffff !important;
}

/* Dropdown triggers in nav (Resources dropdown, etc.) */
.fi-topbar nav ul .fi-dropdown-trigger,
.fi-topbar nav ul .fi-dropdown-trigger * {
    color: #ffffff !important;
}

/* Active state */
.fi-topbar [aria-current="page"],
.fi-topbar [aria-expanded="true"] .fi-topbar-item-button {
    background-color: rgba(255,255,255,0.2) !important;
}

/* RIGHT-SIDE: global-search, quick-create, recently-menu — untouched */

/* Section headers */
.fi-section-header {
    background-color: #003366 !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 10px 16px !important;
}
.fi-section-header-heading {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.03em !important;
}
.fi-section-header-description { color: rgba(255,255,255,0.8) !important; }

.fi-section {
    border: 1px solid #003366 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 6px rgba(0,51,102,0.12) !important;
}

.fi-section:nth-child(1) .fi-section-content,
.fi-section:nth-child(1) .fi-section-content-ctn { background-color: #eef4ff !important; }
.fi-section:nth-child(2) .fi-section-content,
.fi-section:nth-child(2) .fi-section-content-ctn { background-color: #edfdf5 !important; }
.fi-section:nth-child(3) .fi-section-content,
.fi-section:nth-child(3) .fi-section-content-ctn { background-color: #fff7ed !important; }

.fi-section .fi-input-wrp,
.fi-section input[type="text"],
.fi-section input[type="email"],
.fi-section input[type="number"],
.fi-section select,
.fi-section textarea { background-color: #ffffff !important; }

/* Table */
.fi-ta-table { border-collapse: collapse !important; }
.fi-ta-header-cell {
    background-color: #003366 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
}
.fi-ta-header-cell .fi-ta-header-cell-label { color: #ffffff !important; }
.fi-ta-header-cell button svg { color: rgba(255,255,255,0.7) !important; }
.fi-ta-row td {
    border-bottom: 1px solid #d1d9e8 !important;
    border-right: 1px solid #e8edf5 !important;
}
.fi-ta-row td:first-child { border-left: 1px solid #e8edf5 !important; }
.fi-ta-row:nth-child(even) td { background-color: #f7f9ff !important; }
.fi-ta-row:hover td { background-color: rgba(0,51,102,0.05) !important; }

/* Checkboxes - Filament uses fi-checkbox-input with ring-1, not border */
.fi-checkbox-input {
    background-color: #93c5fd !important;
    box-shadow: 0 0 0 2px #003366 !important;
}
.fi-checkbox-input:checked {
    background-color: #003366 !important;
    box-shadow: 0 0 0 2px #003366 !important;
}
.fi-checkbox-input:indeterminate {
    background-color: #003366 !important;
    box-shadow: 0 0 0 2px #003366 !important;
}

/* Buttons */
.fi-btn-primary { background-color: #003366 !important; border-color: #003366 !important; color: #ffffff !important; }
.fi-btn-primary:hover { background-color: #0055a5 !important; border-color: #0055a5 !important; }

/* Focus */
.fi-input:focus, .fi-select-input:focus, .fi-textarea:focus {
    border-color: #003366 !important;
    box-shadow: 0 0 0 2px rgba(0,51,102,0.2) !important;
}

/* Misc */
.fi-badge-color-primary { background-color: rgba(0,51,102,0.1) !important; color: #003366 !important; }
.fi-header { border-bottom: 2px solid #e5e7eb; }
.fi-header-heading { color: #003366 !important; }
.fi-dropdown-panel { border: 1px solid rgba(0,51,102,0.2) !important; box-shadow: 0 4px 12px rgba(0,51,102,0.15) !important; }
.fi-wi-stats-overview-stat { border-left: 4px solid #003366 !important; }
.fi-wi-stats-overview-stat-label { color: #003366 !important; font-weight: 600 !important; }
.fi-tabs-tab[aria-selected="true"] { color: #003366 !important; border-bottom-color: #003366 !important; }
.fi-tabs-tab:hover { color: #0055a5 !important; }
.fi-modal-header { background-color: #003366 !important; padding: 16px 20px !important; border-radius: 8px 8px 0 0 !important; }
.fi-modal-heading { color: #ffffff !important; font-weight: 600 !important; }
.fi-ta-actions .fi-btn { border-color: rgba(0,51,102,0.3) !important; }
.fi-ta-actions .fi-btn:hover { background-color: rgba(0,51,102,0.08) !important; }
.fi-pagination-item-btn[aria-current="page"] { background-color: #003366 !important; color: #ffffff !important; border-color: #003366 !important; }
.fi-toggle[aria-checked="true"] { background-color: #003366 !important; }
.fi-link { color: #0055a5 !important; }
.fi-link:hover { color: #003366 !important; }
.fi-no-notification[data-color="primary"] .fi-no-color-swatch { background-color: #003366 !important; }
