* { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #2563eb; --primary-dark: #1e40af; --secondary: #64748b; --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --light: #f8fafc; --border: #e2e8f0; --text: #1e293b; --text-light: #64748b; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #f1f5f9; color: var(--text); line-height: 1.6; } .container { display: flex; min-height: 100vh; } /* SIDEBAR */ .sidebar { width: 280px; background: white; border-right: 1px solid var(--border); padding: 2rem 0; position: fixed; left: 0; top: 0; height: 100vh; overflow-y: auto; box-shadow: 2px 0 8px rgba(0,0,0,0.08); } .sidebar-header { padding: 0 1.5rem 2rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } .sidebar-header h2 { font-size: 1.5rem; color: var(--primary); } .close-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); } .nav-list { list-style: none; padding: 0; } .nav-list li { margin: 0; } .nav-list a { display: block; padding: 0.875rem 1.5rem; color: var(--text); text-decoration: none; border-left: 3px solid transparent; transition: all 0.2s ease; font-weight: 500; } .nav-list a:hover { background: var(--light); color: var(--primary); border-left-color: var(--primary); } .nav-list a.active { background: var(--light); color: var(--primary); border-left-color: var(--primary); } .menu-toggle { display: none; position: fixed; top: 1rem; left: 1rem; background: var(--primary); color: white; border: none; padding: 0.75rem 1rem; border-radius: 6px; cursor: pointer; font-size: 1rem; z-index: 1000; } /* MAIN CONTENT */ .content { margin-left: 280px; flex: 1; padding: 2rem; } .content-header { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 2rem; } .content-header h1 { font-size: 2rem; margin-bottom: 0.5rem; color: var(--primary); } .subtitle { color: var(--text-light); font-size: 1.1rem; } /* SECTIONS */ section { background: white; padding: 2rem; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); } section h2 { margin-bottom: 1.5rem; color: var(--primary); font-size: 1.5rem; border-bottom: 2px solid var(--light); padding-bottom: 1rem; } section h3 { color: var(--text); font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.75rem; } section p { color: var(--text-light); margin-bottom: 1rem; } section ul, section ol { margin-left: 1.5rem; margin-bottom: 1rem; } section li { margin-bottom: 0.75rem; color: var(--text-light); } /* CARDS */ .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; } .card { background: var(--light); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); transition: all 0.3s ease; } .card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); } .card h3 { margin-top: 0; font-size: 1.2rem; } .card p { margin-bottom: 1.5rem; color: var(--text-light); } .btn { display: inline-block; padding: 0.75rem 1.5rem; background: var(--primary); color: white; text-decoration: none; border-radius: 6px; transition: background 0.2s ease; font-weight: 500; } .btn:hover { background: var(--primary-dark); } /* STATS */ .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; } .stat { text-align: center; padding: 1.5rem; background: var(--light); border-radius: 8px; border: 1px solid var(--border); } .stat .number { display: block; font-size: 2rem; font-weight: bold; color: var(--primary); margin-bottom: 0.5rem; } .stat .label { display: block; color: var(--text-light); font-size: 0.9rem; } /* ALERTS & BADGES */ .alert { padding: 1rem; border-radius: 6px; margin-bottom: 1rem; border-left: 4px solid; } .alert.warning { background: #fffbeb; border-left-color: var(--warning); color: #92400e; } .alert.danger { background: #fef2f2; border-left-color: var(--danger); color: #7f1d1d; } .alert.success { background: #f0fdf4; border-left-color: var(--success); color: #15803d; } .badge { display: inline-block; padding: 0.25rem 0.75rem; background: var(--light); border: 1px solid var(--border); border-radius: 20px; font-size: 0.85rem; margin-right: 0.5rem; margin-bottom: 0.5rem; } .badge.new { background: #dbeafe; border-color: var(--primary); color: var(--primary); } .badge.critical { background: #fee2e2; border-color: var(--danger); color: var(--danger); } .badge.optional { background: #f0fdf4; border-color: var(--success); color: var(--success); } /* CODE BLOCKS */ code { background: var(--light); padding: 0.25rem 0.5rem; border-radius: 4px; font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; font-size: 0.9rem; color: #d946ef; } pre { background: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: 6px; overflow-x: auto; margin-bottom: 1rem; font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; font-size: 0.9rem; } pre code { background: none; color: #e2e8f0; padding: 0; } /* MOBILE RESPONSIVE */ @media (max-width: 768px) { .sidebar { position: fixed; left: -280px; transition: left 0.3s ease; z-index: 999; } .sidebar.active { left: 0; } .sidebar-header .close-btn { display: block; } .menu-toggle { display: block; } .content { margin-left: 0; padding: 1rem; } .content-header { padding: 1.5rem; } .content-header h1 { font-size: 1.5rem; } section { padding: 1.5rem; } .cards { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .content-header h1 { font-size: 1.25rem; } section h2 { font-size: 1.25rem; } } /* SCROLLBAR */ .sidebar::-webkit-scrollbar { width: 6px; } .sidebar::-webkit-scrollbar-track { background: transparent; } .sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; } .sidebar::-webkit-scrollbar-thumb:hover { background: var(--secondary); }