/* --- 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; }