/* Background Keseluruhan App */
body, .fi-body, .fi-main {
    background: linear-gradient(180deg, #48521E 0%, #768249 100%) !important;
}

/* Sidebar & Topbar Glassmorphism Hijau Gelap */
.fi-sidebar, .fi-topbar {
    background-color: #384116 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Teks Menu Sidebar Putih & Jelas */
.fi-sidebar-item-label, 
.fi-sidebar-group-label,
.fi-sidebar-item-icon {
    color: rgba(255, 255, 255, 0.85) !important;
}

.fi-sidebar-item-button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.fi-sidebar-item-active .fi-sidebar-item-button {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Header Page Title (Dashboard / Tables) */
.fi-header-heading {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Widget Card Penjualan Clean & Kontras */
.fi-wi-widget-content, 
.fi-section, 
.fi-ta-content,
.fi-fo-field-wrp {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    border-radius: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2) !important;
}

/* Warna Teks Stat Widget */
.fi-wi-stats-overview-stat-value {
    color: #48521E !important;
    font-weight: 800 !important;
}


/* Unset overflow & z-index pada seluruh pembungkus form Filament */
.fi-section,
.fi-section-content,
.fi-fo-field-wrp,
.fi-fo-component-container,
.fi-fo-select {
    overflow: visible !important;
}

/* Pastikan dropdown menu melayang berada di z-index tertinggi */
div[data-tippy-root],
.fi-dropdown-panel,
.choices__list--dropdown {
    z-index: 999999 !important;
}