* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #0b3d91, #19c37d);
  color: #333;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: auto;
}

.header {
  text-align: center;
  color: white;
  margin-bottom: 20px;
  animation: fadeIn 1s ease;
}

.subtitle {
  font-size: 1.1em;
  opacity: 0.9;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-3px);
}

h2 {
  margin-bottom: 15px;
  color: #0b3d91;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

input, select, button {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

button.btn {
  cursor: pointer;
  border: none;
  color: white;
  font-weight: bold;
}

button.success {
  background: #19c37d;
}

button.danger {
  background: #ff6b6b;
}

button.success:hover {
  background: #10a866;
}

button.danger:hover {
  background: #e95959;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.metric {
  background: #f4f4f4;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.metric h3 {
  margin-bottom: 8px;
  font-size: 1em;
  color: #555;
}

.metric p {
  font-size: 1.2em;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

#filtros {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}