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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
:root {
|
2 |
+
--primary-color: #4e73df;
|
3 |
+
--secondary-color: #1cc88a;
|
4 |
+
--danger-color: #e74a3b;
|
5 |
+
--warning-color: #f6c23e;
|
6 |
+
--dark-color: #5a5c69;
|
7 |
+
--light-color: #f8f9fc;
|
8 |
+
--sidebar-width: 250px;
|
9 |
+
}
|
10 |
+
|
11 |
+
body {
|
12 |
+
font-family: 'Nunito', sans-serif;
|
13 |
+
background-color: #f8f9fc;
|
14 |
+
margin: 0;
|
15 |
+
padding: 0;
|
16 |
+
color: #333;
|
17 |
+
}
|
18 |
+
|
19 |
+
.dashboard {
|
20 |
+
display: flex;
|
21 |
+
min-height: 100vh;
|
22 |
+
}
|
23 |
+
|
24 |
+
.sidebar {
|
25 |
+
width: var(--sidebar-width);
|
26 |
+
background: linear-gradient(180deg, var(--primary-color) 10%, #224abe 100%);
|
27 |
+
color: white;
|
28 |
+
padding: 20px 0;
|
29 |
+
position: fixed;
|
30 |
+
height: 100%;
|
31 |
+
z-index: 1;
|
32 |
+
}
|
33 |
+
|
34 |
+
.logo {
|
35 |
+
padding: 0 20px 20px;
|
36 |
+
display: flex;
|
37 |
+
align-items: center;
|
38 |
+
font-size: 1.2rem;
|
39 |
+
font-weight: 800;
|
40 |
+
}
|
41 |
+
|
42 |
+
.logo i {
|
43 |
+
margin-right: 10px;
|
44 |
+
font-size: 1.5rem;
|
45 |
+
}
|
46 |
+
|
47 |
+
.menu {
|
48 |
+
list-style: none;
|
49 |
+
padding: 0;
|
50 |
+
margin: 0;
|
51 |
+
}
|
52 |
+
|
53 |
+
.menu li {
|
54 |
+
padding: 12px 20px;
|
55 |
+
transition: all 0.3s;
|
56 |
+
}
|
57 |
+
|
58 |
+
.menu li:hover {
|
59 |
+
background-color: rgba(255, 255, 255, 0.1);
|
60 |
+
}
|
61 |
+
|
62 |
+
.menu li.active {
|
63 |
+
background-color: rgba(255, 255, 255, 0.2);
|
64 |
+
}
|
65 |
+
|
66 |
+
.menu li a {
|
67 |
+
color: white;
|
68 |
+
text-decoration: none;
|
69 |
+
display: flex;
|
70 |
+
align-items: center;
|
71 |
+
}
|
72 |
+
|
73 |
+
.menu li a i {
|
74 |
+
margin-right: 10px;
|
75 |
+
width: 20px;
|
76 |
+
text-align: center;
|
77 |
+
}
|
78 |
+
|
79 |
+
.main-content {
|
80 |
+
margin-left: var(--sidebar-width);
|
81 |
+
flex: 1;
|
82 |
+
padding: 20px 30px;
|
83 |
+
}
|
84 |
+
|
85 |
+
header {
|
86 |
+
display: flex;
|
87 |
+
justify-content: space-between;
|
88 |
+
align-items: center;
|
89 |
+
margin-bottom: 30px;
|
90 |
+
}
|
91 |
+
|
92 |
+
header h1 {
|
93 |
+
font-size: 1.8rem;
|
94 |
+
font-weight: 700;
|
95 |
+
color: var(--dark-color);
|
96 |
+
margin: 0;
|
97 |
+
}
|
98 |
+
|
99 |
+
.user-actions {
|
100 |
+
display: flex;
|
101 |
+
align-items: center;
|
102 |
+
gap: 15px;
|
103 |
+
}
|
104 |
+
|
105 |
+
.user-profile {
|
106 |
+
display: flex;
|
107 |
+
align-items: center;
|
108 |
+
gap: 10px;
|
109 |
+
background-color: white;
|
110 |
+
padding: 8px 15px;
|
111 |
+
border-radius: 50px;
|
112 |
+
box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
|
113 |
+
}
|
114 |
+
|
115 |
+
.user-profile img {
|
116 |
+
border-radius: 50%;
|
117 |
+
}
|
118 |
+
|
119 |
+
.stats-cards {
|
120 |
+
display: grid;
|
121 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
122 |
+
gap: 20px;
|
123 |
+
margin-bottom: 30px;
|
124 |
+
}
|
125 |
+
|
126 |
+
.stat-card {
|
127 |
+
border-radius: 10px;
|
128 |
+
border-left: 5px solid var(--primary-color);
|
129 |
+
box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
|
130 |
+
transition: transform 0.3s;
|
131 |
+
}
|
132 |
+
|
133 |
+
.stat-card:hover {
|
134 |
+
transform: translateY(-5px);
|
135 |
+
}
|
136 |
+
|
137 |
+
.stat-card:nth-child(2) {
|
138 |
+
border-left-color: var(--secondary-color);
|
139 |
+
}
|
140 |
+
|
141 |
+
.stat-card:nth-child(3) {
|
142 |
+
border-left-color: var(--warning-color);
|
143 |
+
}
|
144 |
+
|
145 |
+
.stat-value {
|
146 |
+
font-size: 1.8rem;
|
147 |
+
font-weight: 700;
|
148 |
+
margin: 10px 0;
|
149 |
+
}
|
150 |
+
|
151 |
+
.stat-change {
|
152 |
+
font-size: 0.9rem;
|
153 |
+
color: var(--dark-color);
|
154 |
+
margin: 0;
|
155 |
+
}
|
156 |
+
|
157 |
+
.stat-change i {
|
158 |
+
margin-right: 5px;
|
159 |
+
}
|
160 |
+
|
161 |
+
.data-table-container {
|
162 |
+
background-color: white;
|
163 |
+
border-radius: 10px;
|
164 |
+
padding: 20px;
|
165 |
+
box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
|
166 |
+
}
|
167 |
+
|
168 |
+
.table-header {
|
169 |
+
display: flex;
|
170 |
+
justify-content: space-between;
|
171 |
+
align-items: center;
|
172 |
+
margin-bottom: 20px;
|
173 |
+
}
|
174 |
+
|
175 |
+
.table-header h3 {
|
176 |
+
font-weight: 700;
|
177 |
+
color: var(--dark-color);
|
178 |
+
margin: 0;
|
179 |
+
}
|
180 |
+
|
181 |
+
.table-actions {
|
182 |
+
display: flex;
|
183 |
+
align-items: center;
|
184 |
+
gap: 15px;
|
185 |
+
}
|
186 |
+
|
187 |
+
.search-box {
|
188 |
+
position: relative;
|
189 |
+
}
|
190 |
+
|
191 |
+
.search-box input {
|
192 |
+
padding: 8px 15px 8px 35px;
|
193 |
+
border-radius: 50px;
|
194 |
+
border: 1px solid #ddd;
|
195 |
+
outline: none;
|
196 |
+
transition: all 0.3s;
|
197 |
+
}
|
198 |
+
|
199 |
+
.search-box input:focus {
|
200 |
+
border-color: var(--primary-color);
|
201 |
+
box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
|
202 |
+
}
|
203 |
+
|
204 |
+
.search-box i {
|
205 |
+
position: absolute;
|
206 |
+
left: 12px;
|
207 |
+
top: 50%;
|
208 |
+
transform: translateY(-50%);
|
209 |
+
color: #aaa;
|
210 |
+
}
|
211 |
+
|
212 |
+
.refresh-btn {
|
213 |
+
background-color: var(--light-color);
|
214 |
+
color: var(--dark-color);
|
215 |
+
border: none;
|
216 |
+
padding: 8px 15px;
|
217 |
+
border-radius: 50px;
|
218 |
+
display: flex;
|
219 |
+
align-items: center;
|
220 |
+
gap: 5px;
|
221 |
+
}
|
222 |
+
|
223 |
+
.refresh-btn:hover {
|
224 |
+
background-color: #e2e6ea;
|
225 |
+
}
|
226 |
+
|
227 |
+
.table th {
|
228 |
+
font-weight: 700;
|
229 |
+
color: var(--dark-color);
|
230 |
+
border-top: none;
|
231 |
+
}
|
232 |
+
|
233 |
+
.table td {
|
234 |
+
vertical-align: middle;
|
235 |
+
}
|
236 |
+
|
237 |
+
.view-btn, .delete-btn {
|
238 |
+
width: 30px;
|
239 |
+
height: 30px;
|
240 |
+
display: inline-flex;
|
241 |
+
align-items: center;
|
242 |
+
justify-content: center;
|
243 |
+
padding: 0;
|
244 |
+
}
|
245 |
+
|
246 |
+
.ticket-details {
|
247 |
+
display: grid;
|
248 |
+
grid-template-columns: 1fr;
|
249 |
+
gap: 15px;
|
250 |
+
}
|
251 |
+
|
252 |
+
.detail-row {
|
253 |
+
display: flex;
|
254 |
+
justify-content: space-between;
|
255 |
+
padding: 8px 0;
|
256 |
+
border-bottom: 1px solid #eee;
|
257 |
+
}
|
258 |
+
|
259 |
+
.detail-label {
|
260 |
+
font-weight: 600;
|
261 |
+
color: var(--dark-color);
|
262 |
+
}
|
263 |
+
|
264 |
+
.detail-value {
|
265 |
+
color: #666;
|
266 |
+
}
|
267 |
+
|
268 |
+
@media (max-width: 768px) {
|
269 |
+
.sidebar {
|
270 |
+
width: 70px;
|
271 |
+
overflow: hidden;
|
272 |
+
}
|
273 |
+
.sidebar .logo span, .menu li a span {
|
274 |
+
display: none;
|
275 |
+
}
|
276 |
+
.menu li a i {
|
277 |
+
margin-right: 0;
|
278 |
+
font-size: 1.2rem;
|
279 |
+
}
|
280 |
+
.main-content {
|
281 |
+
margin-left: 70px;
|
282 |
+
}
|
283 |
+
.stats-cards {
|
284 |
+
grid-template-columns: 1fr;
|
285 |
+
}
|
286 |
+
.table-header {
|
287 |
+
flex-direction: column;
|
288 |
+
align-items: flex-start;
|
289 |
+
gap: 15px;
|
290 |
+
}
|
291 |
+
}
|