body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #fdfaf5;
  background-image: url('patron-texto-manjar.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1em;
}

.formulario {
  background: white;
  border-radius: 12px;
  padding: 2em;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  }
  
}

h2 {
  color: #3021ba;
  text-align: center;
}

label {
  font-weight: 600;
  display: block;
  margin-top: 1em;
  text-align: left;
}

input, select, textarea {
  width: 100%;
  padding: 0.8em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  font-size: 16px;

}

.boton, button {
  position: relative;
  overflow: hidden;
  margin-top: 2em;
  width: 100%;
  background: #000;
  color: white;
  border: none;
  padding: 1em;
  font-size: 1em;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
}

#texto-boton, .button-text {
  position: relative;
  z-index: 1;
  color: white;
}

.barra-progreso, .loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: rgba(255, 190, 222, 0.7);
  transition: width 0.4s ease;
  z-index: 0;
}

.barra-progreso.animate, .loading-bar.animate {
  animation: loadingAnim 1.5s ease forwards;
}

p.aclaracion {
  margin-top: 0.5em;
  font-size: 0.85em;
  color: #555;
}

@keyframes loadingAnim {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes fadeScale {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

#info-retiro {
  margin-top: 1em;
  text-align: center;
}

#pantalla-exito {
  max-width: 100%;
  padding: 2em;
  box-sizing: border-box;
}

#pantalla-exito h1,
#pantalla-exito p {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
}

