/* Estilos del formulario en pasos (wizard) */

.register-wizard {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
}

.register-wizard h2 {
  color: #ff007f;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #fdfdfd;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff007f;
}

textarea {
  resize: vertical;
}

/* Wizard: pasos */

.step {
  display: none;
  animation: fade 0.3s ease-in-out;
}

.step.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: #ff007f;
  color: #fff;
}

.btn-primary:hover {
  background: #e60073;
}

.btn-secondary {
  background: #ccc;
  color: #333;
}

.btn-secondary:hover {
  background: #bbb;
}

.btn-success {
  background: #28a745;
  color: white;
}

.btn-success:hover {
  background: #218838;
}

/* Previsualización de imágenes */

#preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

#preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}
/*  */

sup {
  color: red;
}
.form-group {
  margin-bottom: 1em;
}
.wizard-nav button {
  margin-right: 0.5em;
}
select[multiple] {
  height: 100px;
}


/* Responsive */

@media (max-width: 600px) {
  .wizard-nav {
    flex-direction: column;
  }
}


input:invalid,
select:invalid,
textarea:invalid {
  border-color: #dc3545;
}

#preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

#preview img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

input[type="file"] {
  width: 100%;
  max-width: 100%;
  padding: 0.4rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
}

@media (max-width: 600px) {
  input[type="file"] {
    font-size: 0.95rem;
  }
}
