body { 
  font-family: 'Open Sans', sans-serif; 
  background: #f6f6f6; 
  margin: 0; 
  padding: 0; 
}

/* Estado inicial: Login visible, Contenido oculto */
#login { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  min-height: 100vh; 
  padding: 20px; 
}

#contenido { 
  display: none; 
  padding: 0; 
}

/* Card de Login */
.caja-login {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.caja-login h2 { 
  margin-bottom: 20px; 
  color: #2c3e50; 
  font-size: 22px; 
}

.campo-login { 
  margin-bottom: 15px; 
  text-align: left; 
  position: relative; 
}

.campo-login label { 
  display: block; 
  font-weight: 600; 
  margin-bottom: 5px; 
  font-size: 14px; 
  color: #444; 
}

.campo-login input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.campo-login i.toggle-eye {
  position: absolute;
  right: 12px;
  top: 36px;
  cursor: pointer;
  color: #666;
}

.btn-login {
  width: 100%;
  background-color: #006400;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.btn-login:hover { 
  background-color: #004d00; 
}

#mensaje { 
  color: #d9534f; 
  margin-top: 12px; 
  font-weight: 600; 
  font-size: 14px; 
  min-height: 20px; 
}

/* Tarjeta de Resumen de Acumulados */
.caja-acumulado {
  background: #ffffff;
  border-left: 5px solid #006400;
  padding: 15px 20px;
  margin: 15px 0 25px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.caja-acumulado .titulo-acumulado {
  font-size: 15px;
  color: #555;
  font-weight: 600;
}

.caja-acumulado .valor-acumulado {
  font-size: 24px;
  color: #006400;
  font-weight: 700;
}

/* Estilos de la tabla */
.spinner-tabla {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background-color: #fafafa;
  color: #333;
  outline: none;
  cursor: pointer;
  font-weight: 600;
}

.spinner-tabla:focus { 
  border-color: #006400; 
}