File size: 3,151 Bytes
48322a4
 
 
 
 
 
 
 
 
 
0fc32ad
48322a4
 
 
 
 
 
 
 
 
 
0fc32ad
48322a4
 
 
 
 
 
 
0fc32ad
48322a4
 
0fc32ad
48322a4
 
0fc32ad
48322a4
 
 
 
0fc32ad
48322a4
 
 
 
0fc32ad
48322a4
0fc32ad
48322a4
 
 
 
0fc32ad
48322a4
 
0fc32ad
 
 
48322a4
 
 
 
 
 
 
 
0fc32ad
48322a4
 
 
 
 
 
0fc32ad
48322a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0fc32ad
 
48322a4
0fc32ad
48322a4
 
 
0fc32ad
 
 
 
 
 
 
48322a4
 
 
0fc32ad
48322a4
0fc32ad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48322a4
 
 
 
 
 
0fc32ad
 
48322a4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/* --- THEME CONSTANTS --- */
:root {
    --dark-bg: #111827;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

body {
    background-color: #f9fafb;
}

.main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.dashboard-container {
    font-family: 'Poppins', sans-serif;
    max-width: 1200px;
    padding-bottom: 50px;
}

.dashboard-title {
    color: var(--dark-bg);
    font-weight: 700;
}

/* --- FIXED FILTER HEADER --- */
.filter-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.theme-label {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.theme-input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.btn-theme {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.2s;
    border: none;
}

.btn-theme:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* --- STAT CARDS --- */
.stat-card {
    padding: 24px;
    border-radius: 16px;
    color: white;
    text-align: left;
    transition: 0.3s;
    margin-bottom: 1rem;
}

.stat-card h6 {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.stat-primary { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.stat-success { background: linear-gradient(135deg, #10b981, #059669); }
.stat-info { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.stat-dark { background: linear-gradient(135deg, #1f2937, #111827); }

/* --- CHART CARDS (Height Fixed to prevent growth loop) --- */
.chart-card {
    background: white;
    border-radius: 16px;
    transition: 0.3s;
    border: 1px solid var(--border-color) !important;
    position: relative;
    height: 440px; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chart-title {
    font-weight: 700;
    color: var(--dark-bg);
    font-size: 1rem;
    letter-spacing: -0.3px;
    margin-bottom: 15px;
}

/* Wrapper to help the doughnut chart fill space correctly */
.doughnut-wrapper {
    flex-grow: 1;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-card canvas {
    flex-grow: 1;
    width: 100% !important;
    max-height: 330px !important;
}

#needsFocusContainer {
    max-height: 320px;
    overflow-y: auto;
}

/* --- EMPTY STATE --- */
.empty-state {
    background: white;
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    border: 2px dashed var(--border-color) !important;
}