/* Contenedor principal */
.simulador-container {
  max-width: 350px;
  background: #fff;
  border-radius: 15px;
  padding: 20px 25px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #444;
}

/* Título */
.simulador-container h2 {
  color: #3a9b50;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Icono calculadora (puedes reemplazarlo o quitarlo) */
.simulador-container h2::before {
  content: "🧮"; /* Emoji calculadora */
  font-size: 1.5rem;
}

/* Labels pequeños */
.simulador-container label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 15px;
  display: block;
  color: #555;
}

/* Valores destacados */
.simulador-container .valor {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2f7032;
  margin: 5px 0 8px 0;
}

/* Estilos para los sliders */
.simulador-container input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 12px;
  background: #d9f0e2;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Track Chrome/Safari */
.simulador-container input[type="range"]::-webkit-slider-runnable-track {
  height: 12px;
  background: #d9f0e2;
  border-radius: 10px;
}

/* Thumb Chrome/Safari */
.simulador-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: #54B963;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.simulador-container input[type="range"]::-webkit-slider-thumb:hover {
  background: #3b7f3a;
}

/* Track Firefox */
.simulador-container input[type="range"]::-moz-range-track {
  height: 12px;
  background: #d9f0e2;
  border-radius: 10px;
}

/* Thumb Firefox */
.simulador-container input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 40px;
  background: #54B963;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.simulador-container input[type="range"]::-moz-range-thumb:hover {
  background: #3b7f3a;
}

/* Resumen con borde punteado */
.simulador-container .resumen {
  border: 2px dashed #54B963;
  border-radius: 10px;
  padding: 15px 20px;
  color: #2f7032;
  margin-top: 15px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Valores destacados dentro del resumen */
.simulador-container .resumen .valor {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}