/* Reset básico */
* {
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
  background-color: #f5f5f5;
}
h1, h2 {
  color: #333;
}
input[type="text"], input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button {
  margin-top: 15px;
  padding: 10px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #0056b3;
}
.download-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #2e8b57;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}
.download-btn:hover {
  background-color: #246b45;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  word-wrap: break-word;
}
th {
  background-color: #f0f0f0;
}
#chart {
  margin-top: 40px;
}

.table-container {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.log-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.log-table thead {
  position: sticky;
  top: 0;
  background-color: #f0f0f0;
  z-index: 1;
}

.log-table th, .log-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

select {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}