body {
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background: #1f4e78;
  color: white;
  padding: 1em;
  text-align: center;
}

header nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.container {
  max-width: 500px;
  margin: 2em auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

table {
  width: 90%;
  margin: 1em auto;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

button {
  background: #1f4e78;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #163b5a;
}

footer {
  text-align: center;
  padding: 1em;
  color: #777;
  margin-top: 3em;
}


#chartSection {
  width: 80%;
  margin: 2em auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

nav a {
  display: inline-block;
  padding: 8px 15px;
  background: #1f4e78;
  color: white;
  border-radius: 6px;
  margin: 0 5px;
  transition: background 0.2s;
}

nav a:hover {
  background: #163b5a;
}



.form-container {
  max-width: 400px;
  margin: 2em auto; /* centra horizontalmente */
  padding: 20px;
  border: 1px solid black; /* borde negro fino */
  border-radius: 8px;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form-container form {
  display: flex;
  flex-direction: column;
}

.form-container label {
  margin-top: 10px;
  margin-bottom: 4px;
  font-weight: bold;
}

.form-container input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}






#alertList {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 2em auto;
}

.alert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
  background: white;
}

.alert-item button {
  background: #d9534f;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.alert-item button:hover {
  background: #c9302c;
}
