.simulador-auto-seccion {
  margin: 0 auto;
}
.simulador-auto-seccion .button {
  font-size: 20px;
}

.simulador-auto {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 0%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.simulador-auto-seccion {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
}

.simulador-container {
  padding: 16px;
}

.simulador-auto--active {
  max-height: 1000px;
  height: auto;
  opacity: 1;
  overflow: visible;
}
.form-group {
  margin-bottom: 16px;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-between;
}

.form-group label {
  display: block;
  margin-bottom: 0px;
  font-weight: 600;
  color: #2c3e50;
  width: 45%;
  display: flex;
  font-family: "Montserrat", "Open Sans", "Gill Sans MT", "Gill Sans", Corbel,
    Arial, sans-serif;
}
.form-group span {
  font-weight: bold;
  color: #c59220;
}

.form-title {
  font-size: 20px;
  padding: 11px;
  width: 100%;
  font-family: "Montserrat", "Open Sans", "Gill Sans MT", "Gill Sans", Corbel,
    Arial, sans-serif;
  color: #c59220;
  font-weight: 600;
  background-color: white;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 284px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .form-title {
    max-width: 318px;
  }
}

@media (max-width: 575px) {
  .form-title {
    max-width: 100%;
  }
}
.form-title--active svg {
  transform: rotate(180deg);
}

.form-group input[type="range"] {
  width: 100%;
  margin: 0;
  width: 55%;
}

.form-group select,
.form-group input {
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
}

.resultados {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 8px;
}

.resultados .resultado-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 18px;

  span {
    font-weight: 600;
  }
}

.resultados .resultado-item:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 20px;
  color: #e74c3c;
}

.grafico-amortizacion {
  margin-top: 16px;
  height: 150px;
  position: relative;
}

#valor-auto-display,
#enganche-display,
#plazo-display {
  display: inline-block;
  min-width: 120px;
  text-align: left;
  font-weight: bold;
  color: #c59220;
  font-size: 1.1em;
}

.plan-info {
  margin-top: 10px;
  padding: 10px;
  background: #f0f8ff;
  border-radius: 4px;
  font-size: 14px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.plan-info .disclaimer {
  font-style: italic;
  color: #666;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 0;
}

datalist {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

datalist option {
  padding: 0;
  position: relative;
  display: none;
}

datalist option::before {
  content: "";
  display: block;
  width: 2px;
  height: 10px;
  background: #ccc;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.simulador-actions {
  margin-top: 30px;
  text-align: center;
}

.button_q__qa_contact {
  background-color: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type="range"] {
  width: 100%;
  border-radius: 5px;
  background: #d7dcdf;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #c59220;
  cursor: pointer;
  transition: all 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  color: #c59220;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .simulador-container {
    padding: 15px;
  }

  .resultados .resultado-item {
    font-size: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .resultados .resultado-item span:last-child {
    margin-top: 5px;
    font-weight: bold;
  }

  .grafico-amortizacion {
    height: 250px;
  }
}
