/* presupuesto.css */
/* Estilo general */
.presupuestador-section {
  padding: 5rem 2rem;
  background-color: #0d0d0d;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Barra de progreso */
#progress-container {
  width: 100%;
  max-width: 600px;
  margin-bottom: 2rem;
  text-align: center;
}

#progress-text {
  color: #00d4ff;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

#progress-bar {
  width: 100%;
  background-color: #333;
  border-radius: 20px;
  overflow: hidden;
  height: 10px;
}

#progress-fill {
  width: 0%;
  height: 100%;
  background-color: #00d4ff;
  transition: width 0.4s ease;
}

/* Contenedor principal */
.wizard-container {
  width: 100%;
  max-width: 600px;
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cada paso */
.wizard-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wizard-step.active {
  display: flex;
  animation: fadeSlide 0.5s ease;
}

/* Animación */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Títulos */
.wizard-step h2 {
  font-size: 1.8rem;
  color: #00d4ff;
  margin-bottom: 1rem;
}

.step-description {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #cccccc;
}

/* Opciones */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.options-container label {
  background-color: #222;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.options-container label:hover {
  background-color: #333;
  transform: translateX(5px);
}

/* Inputs de opciones */
.options-container input[type="radio"],
.options-container input[type="checkbox"] {
  accent-color: #00d4ff;
}

/* Inputs de contacto */
input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #222;
  color: white;
  font-size: 1rem;
  transition: border 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
  outline: none;
  border: 2px solid #00d4ff;
}

/* Botones de navegación */
.wizard-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  width: 100%;
}

.wizard-buttons button {
  background-color: #00d4ff;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  color: #0d0d0d;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  font-size: 1rem;
}

.wizard-buttons button:hover {
  background-color: #00aacc;
  transform: translateY(-3px);
}

/* Resultado final */
.final-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-step h2 {
  color: #00d4ff;
  margin-bottom: 1rem;
}

.final-step p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #cccccc;
}

#resultado {
  background-color: #1a1a1a;
  border-left: 4px solid #00d4ff;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  text-align: left;
  max-width: 500px;
}

#resultado ul {
  list-style: none;
  padding: 0;
}

#resultado li {
  margin-bottom: 1rem;
}

#resultado p strong {
  color: #00d4ff;
}

#resultado p {
  color: #f0f0f0;
  margin-bottom: 1rem;
}
.final-step.active {
  animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
input:focus {
  box-shadow: 0 0 5px #00d4ff;
}
.btn-volver:hover {
  background-color: #00aacc;
  transform: scale(1.05);
}


/* Responsive */
@media (max-width: 768px) {
  .wizard-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .wizard-buttons button {
    width: 100%;
  }
}
.total-presupuesto {
  margin-top: 2rem;
  font-size: 2.5rem;
  font-weight: bold;
  color: #00d4ff;
  text-align: center;
}


.disclaimer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #00d4ff;
  border-radius: 8px;
  font-size: 1rem;
  text-align: left;
}

.disclaimer a {
  color: #00d4ff;
  text-decoration: none;
}

.disclaimer a:hover {
  color: #00aacc;
  text-decoration: underline;
}

.disclaimer strong {
  color: #00d4ff;
}


.volver-inicio {
  margin-top: 2rem;
  text-align: center;
}

.btn-volver {
  background-color: #00d4ff;
  color: #0d0d0d;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-volver:hover {
  background-color: #00aacc;
}

.descargar-resumen {
  text-align: center;
  margin-top: 20px;
}

#descargar-btn {
  background-color: #00d4ff;
  color: black;
  font-weight: bold;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#descargar-btn:hover {
  background-color: #007ea8;
}
