/* === ESTILOS BASE === */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f4;
  color: #333;
}

.container {
  max-width: 900px;
  margin: 30px auto;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* === BOTONES === */
.btn {
  background: #E95B2B;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #d24f23;
}

.btn-secondary {
  background: #717170;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
}

.btn-secondary:hover {
  background: #5f5f5f;
}

/* === LOGIN === */
.login-card {
  max-width: 380px;
  margin: 80px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.login-card h2 {
  color: #E95B2B;
  margin-bottom: 15px;
}

.login-card input {
  display: block;
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.err {
  color: #a00;
  margin-bottom: 10px;
  font-weight: bold;
}

/* === TABLAS DE CRITERIOS === */
.table, .tabla-criterios {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 14px;
}

.table th, .table td,
.tabla-criterios th, .tabla-criterios td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.table th, .tabla-criterios th {
  background-color: #E95B2B;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.table tr:nth-child(even),
.tabla-criterios tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table tr:hover,
.tabla-criterios tr:hover {
  background-color: #f1f1f1;
}

.tabla-criterios input[type="text"] {
  width: 95%;
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}

.tabla-criterios input[type="radio"] {
  transform: scale(1.2);
  cursor: pointer;
}

/* === ENCABEZADOS DE SECCIÓN === */
h3 {
  color: #E95B2B;
  border-bottom: 2px solid #E95B2B;
  padding-bottom: 5px;
  margin-top: 30px;
  text-transform: uppercase;
}

/* === FOOTER / OTROS === */
footer {
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: #717170;
  margin-top: 30px;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .container {
    padding: 15px;
  }
  .table th, .table td {
    font-size: 12px;
  }
  .btn {
    width: 100%;
    margin-top: 8px;
  }
}
