/* Dark Mode Support for Filament Reports */

/* Base Dark Mode Classes */
.dark .report-container {
    background: linear-gradient(135deg, #1e293b, #0f172a) !important;
    color: #e2e8f0 !important;
}

.dark .report-title {
    color: #38bdf8 !important;
}

.dark .report-btn {
    background: #1e40af !important;
    color: #f1f5f9 !important;
}

.dark .report-label {
    color: #38bdf8 !important;
}

.dark .report-input {
    background: #374151 !important;
    border: 1px solid #4b5563 !important;
    color: #e5e7eb !important;
}

.dark .report-card {
    background: #1f2937 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}

.dark .report-card-title {
    color: #9ca3af !important;
}

.dark .report-card-value {
    color: #38bdf8 !important;
}

.dark .report-table {
    background: #1f2937 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

.dark .report-table thead th {
    background: #374151 !important;
    color: #38bdf8 !important;
}

.dark .report-table tbody td {
    border-top: 1px solid #4b5563 !important;
    color: #e5e7eb !important;
}

.dark .report-table tbody tr:hover {
    background: #374151 !important;
}

.dark .report-amount {
    color: #10b981 !important;
}

.dark .report-badge {
    background: #1e3a8a !important;
    color: #bfdbfe !important;
}

.dark .report-badge.success {
    background: #166534 !important;
    color: #bbf7d0 !important;
}

.dark .report-badge.danger {
    background: #991b1b !important;
    color: #fecaca !important;
}

.dark .report-empty {
    color: #9ca3af !important;
}

/* Specific element overrides */
.dark #paid-period-report,
.dark #partners-vault-report,
.dark #partner-transactions-report,
.dark #installments-vault-report,
.dark #due-today-report,
.dark #due-week-report,
.dark #monthly-installments-report,
.dark #overdue-report,
.dark #general-treasury-report,
.dark #partners-accounts-report,
.dark #customer-account-report,
.dark #profit-report {
    background: linear-gradient(135deg, #1e293b, #0f172a) !important;
    color: #e2e8f0 !important;
}

/* Global Dark Mode Typography */
.dark .report-title,
.dark .report-heading {
    color: #38bdf8 !important;
}

.dark .report-subtitle {
    color: #cbd5e1 !important;
}

.dark .report-text {
    color: #e5e7eb !important;
}

/* Global Dark Mode Interactive Elements */
.dark .report-button {
    background: #1e40af !important;
    color: #f1f5f9 !important;
    border: 1px solid #3b82f6 !important;
}

.dark .report-button:hover {
    background: #1d4ed8 !important;
}

.dark .report-input,
.dark .report-select {
    background: #374151 !important;
    border: 1px solid #4b5563 !important;
    color: #e5e7eb !important;
}

.dark .report-input:focus,
.dark .report-select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px #3b82f6 !important;
}
