body {
  background: #f7f8fa;
  margin: 0;
  padding: 0;
  font-family: 'Work Sans', Arial, sans-serif;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}

.form-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 30px rgba(19,23,120,0.10);
  max-width: 430px;
  width: 98%;
  padding: 36px 24px 30px 24px;
  margin: 0 auto;
  box-sizing: border-box;
}

.container {max-width: 560px; margin: 48px auto; padding: 0 16px; }

h1 {
  font-family: 'Nunito', Arial, sans-serif;
  color: #131778;
  font-size: 2.4rem; /* más grande en desktop */
  text-align: center;
  margin: 0 0 26px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.subhead {
  font-size: 16px;
  color: #5e647a;
  margin: 0 0 24px;
}

h2 {
  font-family: 'Nunito', Arial, sans-serif;
  font-style: normal;
  color: #2d2d2d;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 32px 0;
  text-align: justify;
  letter-spacing: 0.2px;
}

form {
  width: 100%;
}

.form-group {
  margin-bottom: 26px;
}

label {
  display: block;
  font-size: 13px;
  color: #000000;
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: 0.05em;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="file"] {
  width: 100%;
  padding: 11px 12px;
  border: 1.4px solid #e0e3e8;
  border-radius: 7px;
  background: #fcfcfe;
  font-size: 15px;
  margin-bottom: 16px; /* más espacio */
  transition: border-color 0.2s;
  font-family: 'Work Sans', Arial, sans-serif;
  box-sizing: border-box;
}


input[type="file"] {
  padding-left: 0;
  padding-right: 0;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="file"]:focus {
  border-color: #131778;
  outline: none;
}

.note {
  font-size: 12px;
  color: #A1A1B2;
  margin-top: 3px;
}

.success-msg {
  color: #27c281;
  background: #eafcf6;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

.info-msg {
  color: #616178;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.4;
}

button {
  width: 100%;
  padding: 14px 0;
  background: #131778; /* color sólido */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* más sutil */
  transition: background 0.2s;
}

button:hover {
  background: #131778; 
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.confidential-note {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 16px;
}

.step-info {
  font-size: 0.85rem;
  color: #555;
  background: #f7f8fa;
  padding: 10px 0px;
  border-radius: 6px;
  margin-top: 12px;
  line-height: 1.4;
}

.back-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.95rem;
  color: #131778;
  text-decoration: underline;
  cursor: pointer;
}

.back-link:hover {
  color: #FF2E55;
}

@media (max-width: 768px) {
  .wrapper {
    padding: 16px;
  }

  .container {
    padding: 0 16px; /* espacio lateral para que no se pegue */
  }

  .form-box {
    padding: 22px 16px 20px 16px;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  label {
    font-size: 13px;
  }

  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="file"] {
    font-size: 14px;
  }

  button {
    font-size: 1rem;
    padding: 12px 0;
  }
}

@media (max-width: 768px) {
  .wrapper {
    padding: 16px;
  }

  .form-box {
    padding: 22px 16px 20px 16px;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  label {
    font-size: 13px;
  }

  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="file"] {
    font-size: 14px;
  }

  button {
    font-size: 1rem;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  /* ⬅️ aplicar padding lateral aunque no exista .container */
  .form-box {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 2.0rem;
  }

  h2 {
    font-size: 1.05rem;  /* ⬅️ aún más discreto en mobile */
  }

  input,
  button {
    font-size: 1rem;
  }
}
