File size: 4,146 Bytes
41332b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88bfb55
41332b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88bfb55
41332b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8b45b81
41332b2
8b45b81
41332b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* style.css - Industrial Tech Theme v3.0 (Final) */

:root {
    --bg-dark: #1a202c;       /* Very dark blue, almost black */
    --bg-panel: #2d3748;      /* Dark slate gray for panels/cards */
    --border-color: #4a5568;  /* Muted gray for borders */
    --text-primary: #e2e8f0;   /* Light gray for primary text */
    --text-secondary: #a0aec0; /* Softer gray for secondary text */
    --accent-blue: #4299e1;    /* Vibrant blue for accents, charts, links */
    --accent-green: #48bb78;   /* Green for success/positive trends */
    --accent-yellow: #f6e05e;  /* Yellow for warnings */
    --accent-red: #f56565;     /* Red for critical/danger */
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Base Card Style */
.dashboard-card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-blue);
}

/* Header & Modals */
.header, .modal-content {
    background-color: var(--bg-panel);
    border-color: var(--border-color);
}

.modal-backdrop {
    background-color: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: all 0.3s ease;
    animation: scale-up 0.3s ease forwards;
}

@keyframes scale-up {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn:active {
    transform: scale(0.97);
}
.btn-primary {
    background-color: var(--accent-blue);
    color: var(--bg-dark);
}
.btn-primary:hover {
    background-color: #63b3ed;
}
.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}
.btn-secondary:hover {
    background-color: rgba(66, 153, 225, 0.1);
}
.btn-danger {
    background-color: transparent;
    border-color: var(--accent-red);
    color: var(--accent-red);
}
.btn-danger:hover {
    background-color: rgba(245, 101, 101, 0.1);
}

/* Input Fields */
.input-field {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}
.input-field:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.5);
}

/* Toast Notifications */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 16px; border-radius: 6px; color: var(--bg-dark); font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0; transform: translateX(100%); transition: all 0.3s ease-in-out; }
.toast.show { opacity: 1; transform: translateX(0); }
.toast-success { background-color: var(--accent-green); }
.toast-error { background-color: var(--accent-red); }
.toast-info { background-color: var(--accent-blue); color: var(--text-primary); }

/* Icons */
.icon-btn { color: var(--text-secondary); cursor: pointer; transition: color 0.2s; }
.icon-btn:hover { color: var(--accent-blue); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* Custom Component Styles */
.kpi-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}