body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.logo {
  width: 120px;
  margin-bottom: 20px;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #0072c6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #005a9e;
}

.error {
  color: red;
  margin-top: 10px;
}
.dashboard-container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 220px;
  background-color: #0072c6;
  color: white;
  padding: 20px;
}

.logo-sidebar {
  width: 100px;
  margin-bottom: 10px;
}

.sidebar h3 {
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 10px 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}

.main-panel {
  flex: 1;
  padding: 30px;
  background-color: #f2f2f2;
}

header h2 {
  margin-bottom: 10px;
}

.modulos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.modulo-card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #0072c6;
}

.modulo-card:hover {
  background-color: #e6f0fa;
}
.activos-container {
  padding: 30px;
  background-color: #f2f2f2;
}

header h2 {
  margin-bottom: 10px;
}

.filtros button {
  margin-right: 10px;
  padding: 8px 12px;
  background-color: #0072c6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.filtros button:hover {
  background-color: #005a9e;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
}

th, td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

th {
  background-color: #e6f0fa;
}
.tareas-container {
  padding: 30px;
  background-color: #f2f2f2;
}

.tareas-container header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tareas-container button {
  padding: 8px 12px;
  background-color: #0072c6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.tareas-container button:hover {
  background-color: #005a9e;
}

#tabla-tareas {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
}

#tabla-tareas th, #tabla-tareas td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

#tabla-tareas th {
  background-color: #e6f0fa;
}
.reportes-container {
  padding: 30px;
  background-color: #f2f2f2;
}

.reportes-container header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reportes-container button {
  padding: 8px 12px;
  margin-left: 10px;
  background-color: #0072c6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.reportes-container button:hover {
  background-color: #005a9e;
}

#tabla-reportes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
}

#tabla-reportes th, #tabla-reportes td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

#tabla-reportes th {
  background-color: #e6f0fa;
}
.indicadores-container {
  padding: 30px;
  background-color: #f2f2f2;
}

.graficos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

canvas {
  max-width: 100%;
  max-height: 300px;
  margin: auto;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}