body { margin: 0; font-family: 'Segoe UI', sans-serif; background-color: #f4f6f9; } .login-box { max-width: 400px; margin: 100px auto; padding: 40px; background: white; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .container { display: flex; } .sidebar { width: 220px; background-color: #2b6cb0; color: white; height: 100vh; padding: 20px; } .sidebar h2 { font-size: 18px; margin-bottom: 30px; } .sidebar a { display: block; color: white; padding: 10px 15px; text-decoration: none; border-radius: 5px; margin-bottom: 5px; transition: background 0.3s ease; } .sidebar a:hover { background-color: #2c5282; } .main { flex: 1; padding: 30px; overflow-y: auto; } .header { font-size: 22px; font-weight: bold; margin-bottom: 20px; } .stats { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; } .stat-box { background: white; padding: 20px; border-radius: 12px; flex: 1; min-width: 220px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); text-align: center; } .stat-title { font-weight: bold; margin-bottom: 10px; color: #555; } .stat-value { font-size: 28px; color: #2b6cb0; } .chart-container { background: white; border-radius: 12px; padding: 20px; margin-top: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } table.dataTable { width: 100% !important; border-collapse: collapse; } table.dataTable th, table.dataTable td { padding: 10px; text-align: left; } table.dataTable thead { background-color: #2b6cb0; color: white; } @media (max-width: 768px) { .container { flex-direction: column; } .sidebar { width: 100%; height: auto; } } .submenu-group { margin-bottom: 10px; } .submenu-group > a { font-weight: bold; cursor: pointer; display: block; margin-top: 5px; } .submenu a { display: block; padding-left: 20px; color: #eee; text-decoration: none; font-size: 14px; } .submenu a:hover { color: white; } .menu-item { cursor: pointer; padding: 10px; color: white; transition: background 0.2s; } .menu-item:hover { background-color: #1a4e8a; } .menu-item.active { background-color: #1a4e8a; } .submenu { display: none; flex-direction: column; padding-left: 15px; animation: fadeIn 0.3s ease; } .submenu a { color: #e0e0e0; padding: 6px 10px; text-decoration: none; display: block; } .submenu a:hover { background-color: #375a9e; } .arrow { float: right; font-size: 12px; }