.page-aplica-aqui .apply-page {
  width: min(100%, 850px);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}
.apply-page h1 { margin: 0 0 1rem; }
.apply-page h2 { margin: 0; }
.apply-page p { margin: .75rem 0; }
.apply-form {
  margin-top: 2rem;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #cbd9ea;
  border-radius: 1rem;
  background: #fff;
}
.apply-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.25rem;
}
.apply-fields label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .4rem;
  font-weight: 600;
}
.apply-wide { grid-column: 1 / -1; }
.apply-fields :is(input, select, textarea) {
  width: 100%;
  min-height: 2.75rem;
  padding: .65rem;
  border: 1px solid #8499b1;
  border-radius: .5rem;
  background: #fff;
  color: #132740;
  font: inherit;
  font-weight: 400;
}
.apply-form button,
.apply-form .apply-close {
  border: 0;
  border-radius: .5rem;
  padding: .75rem 1rem;
  background: #0758d8;
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.apply-form a { color: #0758d8; overflow-wrap: anywhere; }
.apply-form .apply-close {
  display: inline-block;
  margin-top: 1rem;
  color: white;
  text-decoration: none;
}
.apply-form :focus-visible { outline: 3px solid #0758d8; outline-offset: 2px; }
@media (max-width: 600px) {
  .apply-fields { grid-template-columns: 1fr; }
}

.apply-form .apply-close[hidden] { display: none; }

.apply-confirmation { text-align: center; }
.apply-confirmation h2 { font-size: clamp(1.75rem, 5vw, 3rem); color: #0758d8; }
.apply-confirm { margin-top: .75rem; }

.apply-form[hidden] { display: none; }
.apply-form button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 600px) {
  .apply-fields :is(input, select, textarea) { box-sizing: border-box; min-width: 0; font-size: max(16px, 1rem); }
}
