@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* 🔒 Evitar scroll */
html, body {
  overflow: hidden;      /* Elimina scroll vertical y horizontal */
  height: 100vh;         /* Fija la altura total a la pantalla */
}


body {
  font-family: 'Poppins', sans-serif;
  background:url('Fondo-Form-Blanco.jpg') no-repeat center/contain;
  color: #3b006f;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin-top: 50px;
}

.viau-header {
  position: fixed;              /* 🔹 Siempre visible arriba */
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #3b0097 0%, #6e1bcb 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 12px 0;
}

.viau-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.viau-logo img {
  height: 40px;
  display: block;
}

.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 37px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.toggle-password:hover {
  opacity: 1;
}

/* Botones */
.viau-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.viau-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 40px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-white {
  background: #fff;
  color: #3b0097;
}

.btn-white:hover {
  background: #f1e3ff;
}

.btn-pink {
  background: linear-gradient(90deg, #ed43ff, #ed43ff);
  color: #fff;
}

.btn-pink:hover {
  opacity: 0.9;
}

/* --- P�gina de selecci�n de rol --- */
.role-selection {
  text-align: center;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.role-selection h2 {
  font-size: 1.8rem;
  color: #2e004f;
  margin-bottom: 40px;
}

.role-selection h2 span {
  color: #FF4FD8;
}

.role-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
}

.role-img img {
  width: 200px;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-img img:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.form-container {
  width: 90%;
  max-width: 1100px;
  padding: 10px 10px;
  position: relative;
}

/* Progress Bar */
.progressbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  position: relative;
}

.progressbar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e7c6ff;
  z-index: 0;
}

.progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #8A00FF, #FF4FD8);
  width: 0%;
  transition: 0.4s ease;
  z-index: 1;
}

.progress-step {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e7c6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A00FF;
  font-weight: 600;
  z-index: 2;
}

.progress-step.active {
  border-color: transparent;
  background: #FF4FD8;
  color: #fff;
  box-shadow: 0 0 10px rgba(208, 0, 255, 0.4);
}
/* Título debajo de la barra de progreso */
.progress-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #FF4FD8;
  margin-top: 5px;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}



/* Step Layout */
.step-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50vh; /* o 100%, según tu diseño */
}
textarea {
    width: 95% !important;
  max-width: 95% !important;
    display: block;
    margin: 0 auto 20px auto !important;
    box-sizing: border-box !important;
  }
/* Centrar la sección del portafolio */
.form-step h2,
.form-step p{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.input-container {
display: flex;
  justify-content: center;
  align-items: center;
  width: 500px; /* igual que los demás inputs */
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(90deg, #7B1FA2, #512DA8); /* Degradado morado */
  padding: 10px; /* borde visible pero fino */
  margin: 20px auto; /* centrado */
}

.input-container input {
  width: 80%;
  height: 80%;
  border: none;
  outline: none;
  border-radius: 10px; /* un poco menos que el contenedor */
  padding: 15 15px;
  margin-bottom: 5px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  box-sizing: border-box;
}

/* Centrar el input */

.text-col {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente */
  align-items: center;     /* Centra horizontalmente */
  text-align: center;      /* Alinea el texto */
  height: 100%;            /* Ocupa toda la altura del contenedor */
  padding: 50px;
}


.checkbox-col {
  flex: 1 1 45%;
}

h3 {
  font-weight: 500;
  color: #8A00FF;
  margin-bottom: 10px;
  text-align: left;
}

h2 {
  font-size: 1.8rem;
  color: #2e004f;
  margin: 5px 0;
}

h2 span {
  color: #FF4FD8;
}

p {
  color: #666;
  font-size: 0.95rem;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Checkbox box */
.checkbox-box {
  border: 2px solid #e7c6ff;
  border-radius: 20px;
  padding: 15px 20px;
}
/* Contenedor general con borde degradado */
.social-box {
  width: 500px;
  margin: 15px auto;
  border: 2px solid #e7c6ff;
  border-radius: 20px;
  padding: 10px 20px 20px 15px;
}

/* Etiquetas de cada red */
.social-box label {
  display: block;
  font-weight: 700;
  color: #d633ff; /* rosa-morado */
  margin-bottom: 0px;
  margin-top: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

/* Input */
.social-box input {
  width: 100%;
  height: 35px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.8rem;
  color: #333;
  outline: none;
  background-color: #f9f8fe;
  box-sizing: border-box;
  transition: all 0.3s ease;
}


/* Placeholder */
.social-box input::placeholder {
  color: #999;
}

/* Contenedor general con borde degradado */
.social-box2 {
  width: 650px;
  margin: 10px auto;
  border: 2px solid #e7c6ff;
  border-radius: 20px;
  padding: 10px 15px 15px 15px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  box-sizing: border-box;
}

/* Cada columna */
.social-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Etiquetas */
.social-box2 label {
  font-weight: 700;
  color: #d633ff;
  font-size: 1rem;
  margin-bottom: 3px;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
}

/* Inputs */
.social-box2 input {
  width: 100%;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.85rem;
  color: #333;
  outline: none;
  background-color: #f9f8fe;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Placeholder */
.social-box2 input::placeholder {
  color: #999;
}


.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 15px;
}

/* Contenedor principal con borde degradado */
.radio-box {
  width: 420px;
  margin: 40px auto;
  border: 2px solid #e7c6ff;
  border-radius: 20px;
  padding: 20px 20px 15px 15px;
}

/* Cada opción */
.radio-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #1a093e;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}


.radio-option input[type="radio"] {
  accent-color: #d633ff; 
}

/* Contenedor pequeño con estilo similar */
.radio-box-small {
  width: 220px;
  height:50px;
  margin: 20px auto;
  border: 2px solid #e7c6ff;
  border-radius: 20px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: white;
}

/* Opciones pequeñas */
.radio-option-small {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #1a093e;
  cursor: pointer;
  position: relative;
  gap: 6px;
}

.radio-option-small input[type="radio"] {
 accent-color: #d633ff; 
}

/* Contenedor principal */
.info-box {
    padding: 25px;
  width: 90%;
  max-width: 950px;
  margin: 15px auto;
}

/* Fila de dos columnas */
.input-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
  width: 100%;
  box-sizing: border-box;
}

/* Grupo de cada campo */
.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Etiquetas */
.input-group label {
  font-weight: 700;
  color: #2e004f;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* Estilo base común para input y select */
.input-group input,
.input-group select {
  border: 1px solid #e7c6ff;
  border-radius: 10px;
  padding: 12px 14px;          /* Igual padding */
  margin-top:5px;
  font-size: 0.9rem;
  color: #999;
  background-color: #f9f8fe;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  height: 44px;                /* 🔥 Fuerza misma altura */
  line-height: 1.2;
  box-sizing: border-box;
  appearance: none;            /* Elimina estilo nativo */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Flecha personalizada para el select */
.input-group select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23d633ff' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 35px;
  cursor: pointer;
}


label {
  font-size: 0.75rem;
  color: #3b006f;
  display: flex;
  align-items: center;
  gap: 5px;
}

input[type="checkbox"] {
  accent-color: #8A00FF;
  width: 15px;
  height: 15px;
}

input[type="text"], input[type="email"], input[type="url"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 5px;
  font-size: 0.95rem;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 25px;
}

button {
  border: none;
  outline: none;
  background-color: transparent;
}

button:hover {
  transform: scale(1.1);
}

button.submit {
  border: none;
  outline: none;
  background-color: transparent;
}

/* Steps Animation */
.form-step {
  display: none;
  animation: fade 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   📱 RESPONSIVE DESIGN
================================= */

/* --- Tablets (<= 1024px) --- */
@media (max-width: 1024px) {
  html, body {
    overflow-y: auto;
    height: auto;
  }

  .form-container {
    width: 95%;
    padding: 15px;
  }

  .step-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .checkbox-col,
  .text-col {
    width: 100%;
  }

  .checkbox-box,
  .radio-box,
  .social-box,
  .input-container {
    width: 100%;
    max-width: 450px;
  }

  .input-row {
    flex-direction: column;
    gap: 15px;
  }

  .progressbar {
    gap: 15px;
  }

  .progress-title {
    font-size: 1.4rem;
  }
  textarea {
    width: 95% !important;
  max-width: 95% !important;
    display: block;
    margin: 0 auto 20px auto !important;
    box-sizing: border-box !important;
  }
}

/* --- Móviles (<= 768px) --- */
@media (max-width: 768px) {
  html, body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
  }

  body {
    background: #fff;
    align-items: flex-start;
    margin-top: 70px;
  }

  .viau-header {
    padding: 8px 0;
  }

  .viau-header-container {
    padding: 0 15px;
    flex-direction: row;
    justify-content: space-between;
  }
  
    button.submit {
    width: auto !important;
    height: auto !important;
    padding: 10px 30px !important;
    border-radius: 40px !important;
    font-size: 1rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .viau-logo img {
    height: 28px;
  }

  .progressbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .progress-step {
    width: 15px;
    height: 15px;
  }

  .progress-title {
    font-size: 1.2rem;
  }

  .form-container {
    padding: 10px;
    width: 95%;
  }

  .step-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .text-col {
    padding: 15px;
  }

  h2 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.9rem;
  }

  .input-container,
  .checkbox-box,
  .radio-box,
  .social-box {
    width: 100%;
    max-width: 350px;
  }
  .input-container,
  .checkbox-box,
  .radio-box,
  .social-box2 {
    width: 100%;
    max-width: 350px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .buttons {
    flex-direction: row;
    gap: 15px;
  }

  button {
    width: 35px;
    height: 35px;
  }

  button.submit {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .role-selection h2 {
        margin-top: 90px;
}
  textarea {
    width: 90% !important;
    max-width: 90% !important;
    display: block;
    margin: 0 auto 20px auto !important;
    box-sizing: border-box !important;
  }
}

/* --- Móviles pequeños (<= 480px) --- */
@media (max-width: 480px) {
  .progress-title {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.8rem;
  }

  .form-container {
    width: 100%;
    padding: 10px;
  }
button.submit {
    width: auto !important;
    height: auto !important;
    padding: 10px 25px !important;
    border-radius: 40px !important;
    font-size: 0.95rem !important;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .viau-header {
    padding: 6px 0;
  }

  .viau-logo img {
    height: 25px;
  }
.role-selection h2 {
        margin-top: 90px;
}
  .checkbox-box,
  .radio-box,
  .social-box {
    padding: 12px;
  }
  .checkbox-box,
  .radio-box,
  .social-box2 {
    padding: 12px;
  }

  label {
    font-size: 0.8rem;
  }
  
  html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .form-container {
    width: calc(90% - 10px) !important; /* deja un margen lateral controlado */
    max-width: 360px !important;
    margin: 80px auto 40px !important;
    box-sizing: border-box !important;
    padding: 16px !important;
  }

  .progressbar {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .progressbar::before,
  .progress {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .buttons {
    justify-content: center;
    width: 100%;
    margin: 20px auto 0;
  }
  textarea {
  width: 95% !important;
  max-width: 95% !important;
  display: block;
  margin: 0 auto 20px auto !important; /* centra y deja un poco de espacio abajo */
  box-sizing: border-box !important;
}
}


