File size: 2,349 Bytes
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
/* --- THEME CONSTANTS (Matched to index.css) --- */
:root {
    --dark-bg: #111827;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --text-light: #f9fafb;
    --text-muted: #9ca3af;
    --body-bg: #f3f4f6;
    --border-color: #e5e7eb;
}

body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg); 
    color: #1f2937;
    line-height: 1.5;
}

/* ===============================

   TOP NAVIGATION (Matched to index.css)

================================ */
.top-nav {
    position: fixed; /* Keeps the button visible while scrolling dashboards */
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.menu-btn { 
    background-color: var(--dark-bg); /* Dark bg so it's visible on light pages */
    border: none; 
    width: 40px; 
    height: 40px; 
    border-radius: 6px; 
    cursor: pointer; 
    
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.menu-btn:hover {
    background-color: #000;
}

/* The white lines for the hamburger menu */
.menu-btn span {
    width: 20px;
    height: 2px;
    background-color: white; 
    display: block;
}

/* ===============================

   SIDEPANEL (Matches index.css exactly)

================================ */
.sidepanel {
    width: 0;
    position: fixed;
    z-index: 1002;
    height: 100%;
    top: 0;
    left: 0;
    background: #1f2937;
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
}

.sidepanel-content { 
    padding: 0 30px; 
}

.sidepanel a {
    padding: 12px 0;
    color: #d1d5db;
    text-decoration: none;
    display: block;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
}

.sidepanel a:hover {
    color: white;
}

.sidepanel .closebtn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    border-bottom: none; 
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

/* ===============================

   MAIN CONTENT WRAPPER

================================ */
.main-content { 
    padding: 80px 10px 10px 10px; 
    transition: margin-left .4s; 
}