/* General Reset */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; background-color: #f4f4f4; } /* Container */ .container { display: flex; height: 100vh; } /* Sidebar */ .sidebar h2 { text-align: center; margin-bottom: 20px; } .sidebar nav ul { list-style: none; } .sidebar nav ul li { margin: 15px 0; } .sidebar nav ul li a { color: #fff; text-decoration: none; padding: 10px; display: block; border-radius: 5px; } .sidebar nav ul li a:hover { background-color: #555; } /* Main Content */ .main-content { flex-grow: 1; padding: 20px; background-color: #fff; overflow-y: auto; } header { margin-bottom: 20px; } header h1 { margin-bottom: 10px; } /* Cards Section */ .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; } .card { background: #e3e3e3; padding: 20px; border-radius: 8px; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .card h3 { margin-bottom: 10px; } /* Media Query for Responsive Design */ @media (max-width: 768px) { .sidebar { width: 70px; text-align: center; } .sidebar h2 { font-size: 16px; } .sidebar nav ul li { margin: 10px 0; } .sidebar nav ul li a { padding: 5px; } .main-content { padding: 10px; } } /* User Management Section */ .user-management { margin-top: 20px; } .user-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 20px; } .user-form input { padding: 10px; border: 1px solid #ccc; border-radius: 5px; } .user-form button { padding: 10px; background-color: #28a745; color: white; border: none; border-radius: 5px; cursor: pointer; } .user-form button:hover { background-color: #218838; } .user-table { width: 100%; border-collapse: collapse; } .user-table th, .user-table td { padding: 10px; border: 1px solid #ccc; text-align: left; } .user-table th { background-color: #f4f4f4; } .action-button { background-color: #dc3545; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; } .action-button:hover { background-color: #c82333; } /* Add this to your existing CSS */ /* User Management Section */ .user-management { margin-top: 20px; } .user-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 20px; } .user-form input { padding: 10px; border: 1px solid #ccc; border-radius: 5px; } .user-form button { padding: 10px; background-color: #28a745; color: white; border: none; border-radius: 5px; cursor: pointer; } .user-form button:hover { background-color: #218838; } .user-table { width: 100%; border-collapse: collapse; } .user-table th, .user-table td { padding: 10px; border: 1px solid #ccc; text-align: left; } .user-table th { background-color: #f4f4f4; } .access-level { margin-right: 10px; } .assign-button, .revoke-button, .adjust-points-button { background-color: #007bff; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; } .assign-button:hover { background-color: #0069d9; } .revoke-button { background-color: #dc3545; } .revoke-button:hover { background-color: #c82333; } /* Add this to your existing CSS */ /* User Logs Section */ .user-logs { margin-top: 40px; } .log-table { width: 100%; border-collapse: collapse; } .log-table th, .log-table td { padding: 10px; border: 1px solid #ccc; text-align: left; } .log-table th { background-color: #f4f4f4; }