-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
588 lines (532 loc) · 36.2 KB
/
style.css
File metadata and controls
588 lines (532 loc) · 36.2 KB
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
:root {
--primary: #4361ee;
--primary-hover: #4338ca;
--secondary: #3b82f6;
--primary-rgb: 79, 70, 229;
--success: #10b981;
--danger: #ef4444;
--warning: #f59e0b;
--dark: #1e293b;
--light: #f8fafc;
--bg-main: #f1f5f9;
--bg-card: rgba(255, 255, 255, 0.45);
--text-main: #0f172a;
--text-muted: #64748b;
--border-color: rgba(226, 232, 240, 0.8);
--sidebar-bg: rgba(255, 255, 255, 0.35);
--font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--transition: all 0.5s ease-in-out;
--shape-1-color: var(--primary);
--shape-2-color: var(--danger);
--shape-3-color: var(--warning);
}
[data-theme="dark"] {
--primary: #818cf8; /* Daha parlak, okunabilir bir indigo */
--primary-hover: #a5b4fc;
--primary-rgb: 129, 140, 248;
--bg-main: #0f172a; /* Saf siyah yerine derin lacivert (daha az göz yorar) */
--bg-card: rgba(30, 41, 59, 0.7); /* Daha opak kartlar */
--text-main: #f8fafc; /* Tam beyaz yerine kirli beyaz */
--text-muted: #94a3b8; /* Daha belirgin yardımcı metin rengi */
--border-color: rgba(255, 255, 255, 0.2);
--sidebar-bg: rgba(15, 23, 42, 0.9);
--shape-1-color: #00f3ff; /* Neon Mavi */
--shape-2-color: #ff0055; /* Neon Pembe */
--shape-3-color: #ffe600; /* Neon Sarı */
}
[data-theme="dark"] tbody tr:nth-child(even) td {
background-color: rgba(255, 255, 255, 0.02);
}
[data-theme="ocean"] {
--primary: #0077b6;
--primary-hover: #023e8a;
--primary-rgb: 0, 119, 182;
--bg-main: #caf0f8;
--bg-card: rgba(255, 255, 255, 0.25);
--text-main: #03045e;
--text-muted: #00b4d8;
--border-color: rgba(255, 255, 255, 0.4);
--sidebar-bg: rgba(255, 255, 255, 0.15);
}
[data-theme="nature"] {
--primary: #2d6a4f;
--primary-hover: #1b4332;
--primary-rgb: 45, 106, 79;
--bg-main: #d8f3dc;
--bg-card: rgba(255, 255, 255, 0.25);
--text-main: #081c15;
--text-muted: #52796f;
--border-color: rgba(255, 255, 255, 0.4);
--sidebar-bg: rgba(255, 255, 255, 0.15);
}
[data-theme="sunset"] {
--primary: #e85d04;
--primary-hover: #dc2f02;
--primary-rgb: 232, 93, 4;
--bg-main: #ffebd8;
--bg-card: rgba(255, 255, 255, 0.25);
--text-main: #370617;
--text-muted: #9d0208;
--border-color: rgba(255, 255, 255, 0.4);
--sidebar-bg: rgba(255, 255, 255, 0.15);
}
[data-theme="coffee"] {
--primary: #6f4e37;
--primary-hover: #5d4037;
--primary-rgb: 111, 78, 55;
--bg-main: #f5f5dc;
--bg-card: rgba(255, 255, 255, 0.25);
--text-main: #3e2723;
--text-muted: #8d6e63;
--border-color: rgba(215, 204, 200, 0.4);
--sidebar-bg: rgba(239, 235, 233, 0.2);
--font-main: 'Georgia', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease; }
body { background-color: var(--bg-main); color: var(--text-main); height: 100vh; overflow: hidden; position: relative; display: flex; flex-direction: column; }
/* Animated Background Shapes */
.bg-animation { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(90px); -webkit-filter: blur(90px); opacity: 0.5; animation: floatShape var(--bg-anim-speed, 15s) infinite alternate ease-in-out; transition: background 0.5s ease; }
.shape-1 { background: var(--shape-1-color); width: 45vw; height: 45vw; top: -10%; left: -10%; animation-delay: 0s; }
.shape-2 { background: var(--shape-2-color); width: 35vw; height: 35vw; bottom: -10%; right: -5%; animation-delay: -5s; }
.shape-3 { background: var(--shape-3-color); width: 40vw; height: 40vw; top: 40%; left: 30%; animation-delay: -10s; }
@keyframes floatShape { 0% { transform: translate(0, 0) scale(1) rotate(0deg); } 50% { transform: translate(5vw, 10vh) scale(1.1) rotate(180deg); } 100% { transform: translate(-5vw, 5vh) scale(0.9) rotate(360deg); } }
.app-container { display: flex; flex: 1; padding: 20px; gap: 15px; overflow: hidden; height: calc(100vh - 75px); }
.logo { display: flex; align-items: center; gap: 15px; font-size: 1.2rem; color: var(--primary); }
.logo img { height: 40px; width: auto; object-fit: contain; }
.nav-menu { display: flex; flex-direction: row; gap: 5px; align-items: center; padding: 0; position: relative; }
.active-indicator { position: absolute; bottom: -8px; left: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-hover)); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; z-index: 10; width: 0; opacity: 0; box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.4); }
.nav-item { padding: 10px 16px; margin: 0; border-radius: 12px; text-decoration: none; color: var(--text-muted); display: flex; align-items: center; gap: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-weight: 500; font-size: 0.95rem; }
.nav-item:hover { color: var(--primary); background: rgba(100, 100, 100, 0.05); transform: translateY(-2px); }
.nav-item.active { color: white; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); font-weight: 600; box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3); transform: translateY(-2px); }
/* Scroll Progress Bar */
.scroll-progress-bar {
position: absolute;
bottom: 0;
left: 0;
width: 0%;
height: 4px;
background: linear-gradient(to right, var(--primary), var(--secondary));
z-index: 10;
transition: width 0.1s ease-out;
border-radius: 0 4px 4px 0;
}
/* Main Content */
.main-content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; background-color: var(--sidebar-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); scroll-behavior: smooth; }
.main-content::-webkit-scrollbar { width: 8px; }
.main-content::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
.topbar { height: 75px; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; border-bottom: 1px solid var(--border-color); background: var(--bg-card); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); box-shadow: 0 4px 30px rgba(0,0,0,0.05); z-index: 100; flex-shrink: 0; position: relative; }
.search-bar { display: flex; align-items: center; background: rgba(150, 150, 150, 0.06); padding: 12px 22px; border-radius: 30px; width: 300px; border: 1px solid transparent; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.search-bar:focus-within { border-color: var(--primary); background: var(--bg-card); box-shadow: 0 8px 25px rgba(0,0,0,0.05), 0 0 0 3px rgba(var(--primary-rgb), 0.15); transform: translateY(-2px); }
.search-bar i { color: var(--text-muted); transition: var(--transition); }
.search-bar:focus-within i { color: var(--primary); }
.search-bar input { border: none; background: transparent; outline: none; margin-left: 12px; color: var(--text-main); width: 100%; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.3px; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
/* Glassmorphism Buttons (Theme, Settings, Mobile Menu) */
.glass-btn {
width: 42px;
height: 42px;
border-radius: 50%;
border: 1px solid var(--border-color);
background: rgba(150, 150, 150, 0.08);
color: var(--text-muted);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
font-size: 1.1rem;
}
.glass-btn:hover {
color: var(--primary);
background: rgba(var(--primary-rgb), 0.1);
border-color: var(--primary);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
}
.icon-btn { background: none; border: none; font-size: 1.2rem; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.icon-btn:hover { color: var(--primary); transform: rotate(15deg) scale(1.1); }
.user-profile img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
/* New Theme Switcher Styles */
.theme-switcher {
position: relative;
}
.theme-dropdown {
position: absolute;
top: calc(100% + 15px);
right: 0;
background: var(--bg-card);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--border-color);
border-radius: 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
width: max-content;
padding: 10px 15px;
display: flex;
flex-direction: row;
gap: 12px;
z-index: 100;
opacity: 0;
visibility: hidden;
transform: translateY(10px) scale(0.95);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-dropdown.show {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
}
.theme-option { display: block; padding: 0; border-radius: 50%; text-decoration: none; transition: transform 0.2s ease; cursor: pointer; }
.theme-option:hover { background: transparent; transform: scale(1.2); }
.theme-swatch { display: block; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.5); }
.mobile-only { display: none; }
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 99; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.sidebar-overlay.show { opacity: 1; visibility: visible; }
/* Bottom Navigation Bar */
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 65px; background: var(--sidebar-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--border-color); display: none; justify-content: space-around; align-items: center; z-index: 90; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav .nav-item { flex-direction: column; gap: 4px; padding: 5px; margin: 0; border-radius: 8px; justify-content: center; width: 20%; background: transparent; box-shadow: none; font-size: 0.7rem; color: var(--text-muted); text-align: center; }
.bottom-nav .nav-item i { font-size: 1.2rem; }
.bottom-nav .nav-item span { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.bottom-nav .nav-item.active { color: var(--primary); background: transparent; box-shadow: none; font-weight: 700; transform: translateY(-3px); }
.bottom-nav .nav-item:hover { transform: translateY(-3px); background: transparent; }
.content-wrapper { padding: 30px; }
.view-section { display: none; }
.view-section.active { display: block; animation: zoomFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.header-action { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.header-action h1 { font-size: 1.8rem; font-weight: 700; color: var(--text-main); }
/* Grid & Cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.stat-card { background: var(--bg-card); padding: 30px 25px; border-radius: 30px; display: flex; align-items: center; gap: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: all 0.3s ease; border: 1px solid var(--border-color); }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary); }
.stat-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(67, 97, 238, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.stat-details h3 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px; }
.stat-details p { font-size: 1.8rem; font-weight: 700; color: var(--text-main); }
/* Dashboard Widgets & Activity Stream */
.dashboard-widgets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 20px; }
.dashboard-widget { background: var(--bg-card); padding: 30px 25px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: all 0.3s ease; border: 1px solid var(--border-color); }
.dashboard-widget:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.dashboard-widget.full-width-widget {
grid-column: 1 / -1;
}
.activity-stream { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.activity-item { padding: 15px; background: var(--bg-main); border-left: 4px solid var(--primary); border-radius: 10px; font-size: 0.9rem; transition: transform 0.2s ease; }
.activity-item:hover { transform: translateX(5px); }
.activity-time { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
/* Tables */
.table-container { background: var(--bg-card); border-radius: 30px; padding: 20px; overflow-x: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid var(--border-color); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 15px; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; border-bottom: 2px solid var(--border-color); text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 15px; color: var(--text-main); border-bottom: 1px solid var(--border-color); font-size: 0.95rem; transition: background 0.3s ease, color 0.3s ease; }
th.sortable { cursor: pointer; transition: color 0.3s ease; user-select: none; }
th.sortable:hover { color: var(--primary); }
th.sortable i { margin-left: 5px; font-size: 0.8rem; opacity: 0.3; transition: opacity 0.3s; }
th.sortable:hover i { opacity: 0.8; }
th.sortable.asc i::before { content: "\f0de"; opacity: 1; }
th.sortable.desc i::before { content: "\f0dd"; opacity: 1; }
tbody tr {
transition: all 0.2s ease-out;
}
tr:hover td {
background: rgba(var(--primary-rgb), 0.05);
}
/* Buttons & Badges */
.btn { padding: 12px 24px; border-radius: 30px; border: none; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-size: 0.9rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #c0392b; transform: translateY(-2px) scale(1.02); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px) scale(1.02); }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.w-100 { width: 100%; justify-content: center; }
.badge { padding: 5px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.bg-success { background: rgba(46, 204, 113, 0.1); color: var(--success); }
.bg-danger { background: rgba(231, 76, 60, 0.1); color: var(--danger); }
.bg-warning { background: rgba(241, 196, 15, 0.1); color: #d4ac0d; }
.bg-primary { background: rgba(67, 97, 238, 0.1); color: var(--primary); }
/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.modal.show { display: flex; opacity: 1; }
.modal-content { background: var(--bg-card); width: 100%; max-width: 500px; border-radius: 30px; padding: 35px; transform: scale(0.9) translateY(20px); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 20px 50px rgba(0,0,0,0.15); border: 1px solid var(--border-color); }
.modal.show .modal-content { transform: scale(1) translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.close { font-size: 1.5rem; cursor: pointer; color: var(--text-muted); transition: color 0.2s ease; }
.close:hover { color: var(--danger); transform: rotate(90deg); }
/* Settings Modal Redesign */
.settings-modal-content { max-width: 800px !important; padding: 40px; }
.settings-modal-content .modal-header h2 { display: flex; align-items: center; font-size: 1.5rem; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 20px; }
.settings-section { background: rgba(150, 150, 150, 0.05); border: 1px solid var(--border-color); border-radius: 24px; padding: 25px; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.settings-section:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: var(--primary); }
.settings-section.full-width { grid-column: 1 / -1; }
.section-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px dashed var(--border-color); }
.section-header h3 { font-size: 1.1rem; color: var(--text-main); font-weight: 600; margin: 0; }
.icon-box { width: 45px; height: 45px; border-radius: 12px; background: rgba(var(--primary-rgb), 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.settings-body { display: flex; flex-direction: column; gap: 15px; flex: 1; justify-content: space-between; }
.setting-item { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; }
.setting-item label { font-weight: 500; color: var(--text-main); margin-bottom: 0; font-size: 0.95rem; }
.custom-list { list-style: none; padding: 0; margin: 0; max-height: 220px; overflow-y: auto; padding-right: 5px; }
.custom-list::-webkit-scrollbar { width: 6px; }
.custom-list::-webkit-scrollbar-thumb { background: rgba(var(--primary-rgb), 0.5); border-radius: 10px; }
.location-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 10px; transition: all 0.3s ease; }
.location-item:hover { border-color: var(--primary); transform: translateX(5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.location-item button { color: var(--danger); background: rgba(231, 76, 60, 0.1); border: none; cursor: pointer; font-size: 1rem; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.location-item button:hover { background: var(--danger); color: white; transform: scale(1.1); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: var(--text-main); font-weight: 500; font-size: 0.9rem; }
/* Modern Form Controls (Inputs & Selects) */
input[type="text"], input[type="date"], input[type="number"], input[type="month"], select {
width: 100%;
padding: 14px 20px;
border: 1.5px solid rgba(150, 150, 150, 0.15);
border-radius: 20px;
background: var(--bg-main);
color: var(--text-main);
font-family: var(--font-main);
font-size: 0.95rem;
outline: none;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
input:hover, select:hover {
background: rgba(150, 150, 150, 0.1);
border-color: var(--primary);
transform: translateY(-2px);
}
select {
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 15px center;
padding-right: 45px;
cursor: pointer;
}
select option { background: var(--bg-card); color: var(--text-main); }
input:focus, select:focus {
border-color: var(--primary);
box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.15), 0 0 0 4px rgba(var(--primary-rgb), 0.15);
background: rgba(var(--primary-rgb), 0.05);
transform: translateY(-2px);
}
.filter-control { width: auto; display: inline-block; padding: 10px 40px 10px 20px; border-radius: 30px; background-color: var(--bg-card); }
.filter-control-small { width: 120px; padding: 10px 35px 10px 15px; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group label { margin-bottom: 0; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.personnel-cb, #selectAllPersonnel { transform: scale(1.3); cursor: pointer; accent-color: var(--primary); }
/* Shift Calendar Grid */
.calendar-container { display: flex; flex-direction: column; gap: 20px; }
.shift-day-card { background: var(--bg-card); border-radius: 24px; padding: 20px; border-left: 6px solid var(--primary); box-shadow: 0 8px 20px rgba(0,0,0,0.03); transition: transform 0.3s ease; border-top: 1px solid var(--border-color); border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); will-change: transform; }
.shift-day-card:hover { transform: translateX(5px); }
.shift-day-card.weekend { background-color: rgba(231, 76, 60, 0.04); border-color: var(--danger); }
.shift-day-header { font-size: 1.1rem; font-weight: bold; margin-bottom: 15px; color: var(--primary); }
.shift-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.slot { background: var(--bg-main); padding: 15px; border-radius: 16px; border: 1px solid var(--border-color); position: relative; }
.slot.morning { border-left: 4px solid var(--warning); }
.slot.evening { border-left: 4px solid var(--danger); }
.slot.night { border-left: 4px solid var(--primary); }
.slot h4 { margin-bottom: 10px; font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.slot p { font-size: 0.95rem; font-weight: 500; }
.clickable-slot { cursor: pointer; transition: all 0.2s ease; border-radius: 6px; padding: 6px; margin: -6px; display: block; }
.clickable-slot:hover { background-color: rgba(var(--primary-rgb), 0.1); box-shadow: inset 0 0 0 1px var(--primary); }
/* Shift Calendar View Tabs & Monthly View */
.view-tabs { display: flex; gap: 10px; }
.view-tab { padding: 8px 16px; border: 1px solid var(--border-color); background: var(--bg-main); color: var(--text-muted); border-radius: 10px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-weight: 600; font-size: 0.9rem; }
.view-tab:hover { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); transform: translateY(-2px); }
.view-tab.active { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: white; border-color: transparent; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.calendar-container.monthly-view { display: grid; grid-template-columns: repeat(7, 1fr); gap: 15px; }
.calendar-container.monthly-view .shift-slots { grid-template-columns: 1fr; gap: 8px; }
.calendar-container.monthly-view .shift-day-card { padding: 15px; border-left: none; border-top: 6px solid var(--primary); }
.calendar-container.monthly-view .slot { padding: 10px; }
.calendar-container.monthly-view .slot h4 { font-size: 0.75rem; margin-bottom: 5px; }
.calendar-container.monthly-view .slot p { font-size: 0.8rem; }
@media (max-width: 1400px) {
.calendar-container.monthly-view { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1100px) {
.calendar-container.monthly-view { grid-template-columns: repeat(3, 1fr); }
}
/* Yearly View CSS */
.calendar-container.yearly-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.calendar-container.yearly-view .shift-slots { grid-template-columns: 1fr; gap: 4px; }
.calendar-container.yearly-view .shift-day-card { padding: 10px; border-left: none; border-top: 4px solid var(--primary); }
.calendar-container.yearly-view .slot { padding: 6px; }
.calendar-container.yearly-view .slot h4 { font-size: 0.65rem; margin-bottom: 3px; }
.calendar-container.yearly-view .slot p { font-size: 0.7rem; }
@media (max-width: 768px) {
.calendar-container.yearly-view { grid-template-columns: repeat(2, 1fr); }
}
/* Info Alert Balloon */
.info-alert {
background: rgba(var(--primary-rgb), 0.1);
border-left: 4px solid var(--primary);
padding: 15px;
border-radius: 12px;
display: flex;
gap: 15px;
align-items: flex-start;
color: var(--text-main);
}
.info-alert i { color: var(--primary); font-size: 1.6rem; margin-top: 2px; }
.info-alert strong { display: block; margin-bottom: 6px; font-size: 0.95rem; }
.info-alert p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--text-muted); }
/* Guide Section */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.guide-card { background: linear-gradient(145deg, var(--bg-card), rgba(var(--primary-rgb), 0.05)); padding: 30px 25px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border-top: 5px solid var(--primary); border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); transition: all 0.3s ease; will-change: transform; }
.guide-card:hover { transform: translateY(-15px) scale(1.03); box-shadow: 0 25px 50px rgba(0,0,0,0.15); border-color: var(--primary); }
.guide-card h3 { color: var(--primary); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.guide-card h3 i {
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
display: inline-block;
}
.guide-card:hover h3 i {
animation: iconSwing 0.6s ease-in-out infinite alternate;
}
@keyframes iconSwing {
from { transform: rotate(-12deg) scale(1.2); }
to { transform: rotate(12deg) scale(1.2); }
}
.guide-card p { color: var(--text-main); font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; }
.guide-card ul { margin-left: 20px; color: var(--text-main); font-size: 0.9rem; line-height: 1.6; list-style-type: disc; }
.guide-card ul li { margin-bottom: 8px; }
/* FAQ Accordion Styles */
.faq-section { margin-top: 50px; }
.faq-section h2 { margin-bottom: 25px; font-size: 1.5rem; color: var(--text-main); display: flex; align-items: center; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s ease; }
.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-main); font-size: 1rem; user-select: none; }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: rgba(var(--primary-rgb), 0.03); padding: 0 25px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-item.active { border-color: var(--primary); box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.1); }
.faq-item.active .faq-answer { max-height: 300px; padding: 20px 25px; border-top: 1px solid var(--border-color); }
.faq-question i { transition: transform 0.4s ease; color: var(--text-muted); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-item:hover:not(.active) { background: rgba(var(--primary-rgb), 0.02); border-color: var(--primary); }
/* Toasts */
.toast-progress { position: absolute; bottom: 0; left: 0; height: 4px; animation: progressShrink 3s linear forwards; }
#toastContainer { position: fixed; top: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
.toast { position: relative; overflow: hidden; min-width: 300px; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-left: 6px solid var(--primary); border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.2); color: var(--text-main); display: flex; align-items: center; gap: 15px; animation: toastPopIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; font-weight: 500; }
.toast i { font-size: 1.4rem; }
.toast.success { border-left-color: var(--success); }
.toast.success i { color: var(--success); }
.toast.success .toast-progress { background: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.error i { color: var(--danger); }
.toast.error .toast-progress { background: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.warning i { color: var(--warning); }
.toast.warning .toast-progress { background: var(--warning); }
.toast.fade-out { animation: toastPopOut 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }
/* Analog Clock */
.analog-clock { width: 130px; height: 130px; border: 5px solid rgba(var(--primary-rgb), 0.2); border-radius: 50%; margin: 5px auto 25px; position: relative; padding: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.05), inset 0 0 15px rgba(var(--primary-rgb), 0.1); background: var(--bg-card); }
.clock-face { position: relative; width: 100%; height: 100%; transform: translateY(-1px); }
.hand { width: 50%; height: 4px; background: var(--text-main); position: absolute; top: 50%; transform-origin: 100%; transform: rotate(90deg); transition: all 0.05s cubic-bezier(0.1, 2.7, 0.58, 1); border-radius: 4px; z-index: 2; }
.hour-hand { width: 30%; left: 20%; height: 6px; background: var(--primary); }
.min-hand { width: 45%; left: 5%; background: var(--text-main); opacity: 0.8; }
.second-hand { width: 50%; left: 0; height: 2px; background: var(--danger); z-index: 3; }
.clock-center { width: 14px; height: 14px; background: var(--bg-main); border: 3px solid var(--danger); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; }
.clock-marker { position: absolute; width: 4px; height: 10px; background: var(--text-muted); left: 50%; transform: translateX(-50%); opacity: 0.5; border-radius: 2px; }
.marker-12 { top: 4px; }
.marker-6 { bottom: 4px; }
.marker-3 { top: 50%; right: 4px; width: 10px; height: 4px; transform: translate(0, -50%); left: auto; }
.marker-9 { top: 50%; left: 4px; width: 10px; height: 4px; transform: translate(0, -50%); }
/* Utils & Animations */
.fade-in { animation: fadeIn 0.4s ease-in-out; }
.mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; } .mb-20 { margin-bottom: 20px; }
.mt-15 { margin-top: 15px; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
/* Staggered Animation for Lists */
@keyframes slideUpStagger {
from {
opacity: 0;
transform: translateY(25px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideDownStagger {
from {
opacity: 0;
transform: translateY(-25px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes zoomFade { from { opacity: 0; transform: scale(0.95) translateY(15px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastPopIn { 0% { transform: translateX(100%) scale(0.5); opacity: 0; } 50% { transform: translateX(-10%) scale(1.05); opacity: 1; } 75% { transform: translateX(5%) scale(0.95); opacity: 1; } 100% { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes toastPopOut { 0% { transform: translateX(0) scale(1); opacity: 1; } 20% { transform: translateX(-10%) scale(1.05); opacity: 1; } 100% { transform: translateX(100%) scale(0.5); opacity: 0; } }
@keyframes progressShrink { 0% { width: 100%; } 100% { width: 0%; } }
/* Print CSS for PDF */
@media print {
* { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
.sidebar, .topbar, .header-action button, #toastContainer, .bg-animation, .bottom-nav { display: none !important; }
.app-container { display: block; padding: 0; height: auto; }
.main-content { overflow: visible !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.table-container { overflow: visible !important; background: transparent !important; box-shadow: none !important; border: none !important; padding: 0 !important; }
.content-wrapper { padding: 10px; }
body { background: white; color: black; }
* { box-shadow: none !important; }
.on-duty-badge { animation: none !important; opacity: 1 !important; border: 1px solid #ccc !important; }
tbody tr { page-break-inside: avoid !important; }
th, td { border: 1px solid #eee !important; text-align: left !important; }
tbody tr:nth-child(even) td { background-color: #f9f9f9 !important; }
/* PDF Çıktısında her zaman koyu logoyu göster (beyaz kağıt için) */
.logo-dark { display: none !important; }
.logo-light { display: block !important; }
/* Print Header Styles */
.print-header {
display: flex !important;
justify-content: space-between;
align-items: center;
border-bottom: 2px solid #4361ee !important;
padding-bottom: 15px;
margin-bottom: 20px;
}
.print-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; color: #4361ee !important; }
.print-info { text-align: right; font-size: 0.9rem; color: #666 !important; }
/* Özel PDF Rapor Görünümü (Grafikler ile Birlikte) */
body.print-report-mode .view-section { display: none !important; }
body.print-report-mode #reports { display: block !important; height: auto !important; }
body.print-report-mode #dashboard { display: block !important; margin-bottom: 30px; }
body.print-report-mode #dashboard .header-action,
body.print-report-mode .dashboard-widgets-grid .dashboard-widget:not(.full-width-widget) { display: none !important; }
body.print-report-mode .stats-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 15px; margin-bottom: 20px; page-break-inside: avoid; }
body.print-report-mode .stat-card { border: 1px solid #ccc !important; padding: 15px !important; flex: 1; background: #fff !important; box-shadow: none !important; transform: none !important; }
body.print-report-mode .stat-icon { background: #eee !important; }
body.print-report-mode .dashboard-widgets-grid { display: block !important; page-break-inside: avoid; }
body.print-report-mode .dashboard-widgets-grid .full-width-widget { border: 1px solid #eee !important; margin-top: 10px !important; }
body.print-report-mode canvas { max-height: 250px !important; }
}
/* Vardiya Takvimi PDF Çıktısı */
@media print {
body.print-shift-mode .view-section { display: none !important; }
body.print-shift-mode #shifts { display: block !important; }
body.print-shift-mode #shifts .header-action,
body.print-shift-mode #shifts .view-tabs { display: none !important; }
body.print-shift-mode .shift-day-card { border: 1px solid #ccc !important; page-break-inside: avoid; }
}
/* Responsive */
@media (max-width: 768px) {
.mobile-only { display: block; }
.app-container { flex-direction: column; padding: 0; gap: 0; }
.nav-menu { position: fixed; top: 0; left: -100%; width: 260px; height: 100vh; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 20px 0; background: var(--bg-card); border-radius: 0; z-index: 1000; transition: left 0.3s ease; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
.nav-menu.open { left: 0; }
.nav-item { padding: 12px 20px; margin: 5px 10px; font-size: 0.95rem; justify-content: flex-start; }
.nav-item:hover, .nav-item.active { transform: translateX(5px); }
.shift-slots { grid-template-columns: 1fr; }
.search-bar { display: none; }
.topbar { padding: 0 15px; }
.main-content { border-radius: 0; padding-bottom: 80px; }
.bottom-nav.mobile-only { display: flex; }
.calendar-container.monthly-view { grid-template-columns: 1fr; }
.dashboard-widgets-grid { grid-template-columns: 1fr; }
.guide-grid { grid-template-columns: 1fr; }
.settings-grid { grid-template-columns: 1fr; }
.settings-section.full-width { grid-column: 1; }
}