body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0f;
    color: #f0f0f5;
    text-align: center;
    margin: 0;
    padding: 20px;
  }
  
  h1 {
    color: #63b3ed;
    margin-bottom: 30px;
  }
  
  select, button {
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    border: none;
  }
  
  button {
    background-color: #3182ce;
    color: white;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #2b6cb0;
  }
  
  .plots-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
  }
  
  .plot img {
    width: 400px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255,255,255,0.2);
  }
  
  .summary {
    margin-top: 40px;
    background-color: #1a202c;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    width: 60%;
  }
  
  progress {
    width: 80%;
    height: 20px;
    margin-top: 10px;
  }
  .explanation {
    max-width: 900px;
    margin: 2rem auto;
    background: rgba(20, 20, 30, 0.8);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    color: #ddd;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .explanation h2 {
    color: #9ad0ff;
    text-align: center;
    margin-bottom: 1rem;
  }
  
/* === Panel comparativo de análisis energético === */
.comparison-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* 🔹 iguala altura de ambos paneles */
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.comparison-item {
  background-color: #11121a;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.6);
  flex: 1;
  min-width: 420px;
  max-width: 600px;
}

.comparison-item h3 {
  color: #63b3ed;
  margin-bottom: 10px;
}

.comparison-item img {
  width: 100%;
  height: 400px;           /* 🔹 iguala altura al gráfico */
  border-radius: 10px;
  background: #000;
  object-fit: contain;     /* mantiene proporciones sin recorte */
  box-shadow: 0 0 15px rgba(255,255,255,0.15);
}

.missing {
  color: #ffcc66;
  font-style: italic;
  text-align: center;
  padding: 14px 0;
}
