.pregunta-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #eef2ff, #ffffff);
  font-family: "Inter", sans-serif;
}

.pregunta-container {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  width: 90%;
  max-width: 900px;
  padding: 3rem;
}

.pregunta-titulo {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #4338ca;
  margin-bottom: 2rem;
}

.pregunta-texto {
  font-weight: 500;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.pregunta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.pregunta-grid label {
  display: block;
  color: #4b5563;
  margin-bottom: 0.4rem;
}

.pregunta-grid input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #f9fafb;
  transition: all 0.2s ease;
}

.pregunta-grid input:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.boton-grupo {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.boton {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.25);
}

.boton.anterior {
  background-color: #6b7280;
  color: white;
}

.boton.anterior:hover {
  background-color: #374151;
  transform: scale(1.05);
}

.boton.siguiente {
  background-color: #4f46e5;
  color: white;
}

.boton.siguiente:hover {
  background-color: #312e81;
  transform: scale(1.05);
}
