/* VAORI account applications: isolated from the landing page illustration styles. */
.account-dialog {
  width: min(1000px, calc(100% - 32px));
  max-width: 1000px;
  padding: 0;
  max-height: calc(100dvh - 32px);
  background: #faf8f3;
  border: 1px solid #d9cabb;
  border-radius: 22px;
  color: #142f49;
}
.account-dialog[open] {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
}
.account-dialog [hidden] {
  display: none !important;
}
.account-dialog .dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: #ece7df;
  color: #142f49;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.account-aside {
  background: #142f49;
  color: #f7f2e9;
  padding: 42px 35px;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  border-radius: 20px 0 0 20px;
}
.account-wordmark {
  display: block;
  color: #f7f2e9;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
}
.account-wordmark small {
  display: block;
  font-size: 9px;
  letter-spacing: 7px;
}
.account-aside > .eyebrow {
  color: #d8aa85;
  margin-top: 58px;
  font-size: 9px;
}
.account-aside h2 {
  color: inherit;
  font-size: 33px;
  line-height: 1.12;
  letter-spacing: -1.3px;
  margin: 20px 0 12px;
}
.account-aside h2 em {
  color: #d8aa85;
  font: inherit;
}
.account-aside p {
  color: #bbcad5;
  line-height: 1.7;
  font-size: 12px;
  margin: 0;
}
.account-path {
  list-style: none;
  padding: 0;
  margin: 38px 0;
  display: grid;
  gap: 22px;
}
.account-path li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.account-path b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border: 1px solid #778792;
  border-radius: 50%;
  font-weight: 400;
  color: #d8aa85;
  font-size: 10px;
}
.account-path small {
  display: block;
  font-size: 10px;
  color: #bbcad5;
  margin-top: 5px;
}
.account-aside .account-note {
  margin-top: auto;
  font-size: 10px;
}
.account-main {
  padding: 42px 38px 30px;
  min-width: 0;
}
.account-main > .eyebrow,
.account-main .eyebrow {
  font-size: 9px;
  color: #a5542a;
}
.account-main h2 {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 12px 0;
  color: #142f49;
}
.account-main p {
  font-size: 12px;
  line-height: 1.7;
  color: #536b7b;
  margin: 0 0 18px;
}
.account-progress {
  display: flex;
  list-style: none;
  margin: 28px 0;
  padding: 0;
  gap: 14px;
  font-size: 11px;
  color: #637887;
}
.account-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0d8cc;
}
.account-progress b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e9e3db;
  font-size: 10px;
}
.account-progress li[aria-current="step"] {
  color: #142f49;
  border-color: #b66c3e;
  font-weight: 700;
}
.account-progress li[aria-current="step"] b {
  background: #142f49;
  color: white;
}
.account-dialog fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.account-dialog legend {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.account-dialog label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 18px;
}
.account-dialog input:not([type="checkbox"]),
.account-dialog select {
  display: block;
  width: 100%;
  border: 1px solid #c9c5bc;
  background: #fff;
  color: #142f49;
  border-radius: 8px;
  padding: 13px 14px;
  margin-top: 7px;
  font:
    400 13px Manrope,
    sans-serif;
  min-height: 46px;
}
.account-dialog input::placeholder {
  color: #7d8b95;
}
.account-dialog input:focus,
.account-dialog select:focus {
  outline: 2px solid #b66c3e;
  outline-offset: 2px;
}
.account-dialog label small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: #536b7b;
  line-height: 1.6;
  margin-top: 6px;
}
.account-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.account-main .account-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: #ede7dc;
  border-radius: 10px;
  margin: 10px 0 28px;
}
.account-callout > span {
  color: #a5542a;
  font-size: 23px;
}
.account-main .account-callout p {
  font-size: 11px;
  margin: 0;
}
.account-main .account-note {
  font-size: 10px;
  line-height: 1.7;
}
.account-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}
.account-main .button {
  padding: 13px 21px;
  min-height: 46px;
  border-radius: 30px;
  margin: 0;
  font:
    500 12px Manrope,
    sans-serif;
  display: inline-flex;
  gap: 24px;
  justify-content: center;
}
.account-main .button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.account-main .button:focus-visible,
.account-back:focus-visible,
.account-inline:focus-visible {
  outline: 2px solid #b66c3e;
  outline-offset: 4px;
}
.account-back {
  border: 0;
  background: none;
  color: #142f49;
  font:
    500 11px Manrope,
    sans-serif;
  padding: 10px 0;
  cursor: pointer;
}
.account-main .account-security {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #536b7b;
  margin: 22px 0 0;
}
.account-security .icon {
  width: 14px;
  height: 14px;
  color: #a5542a;
}
.account-trap {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  overflow: hidden;
}
.account-main .account-error {
  color: #a23420;
  background: #fff0e8;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 11px;
  margin-top: 15px;
}
.account-review {
  background: #f0ece4;
  border: 1px solid #ddd3c5;
  padding: 16px;
  border-radius: 10px;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  font-size: 11px;
}
.account-review dt {
  color: #536b7b;
}
.account-review dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.account-dialog .account-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
  font-size: 10px;
  font-weight: 400;
}
.account-consent input {
  accent-color: #142f49;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}
.account-inline {
  display: inline;
  border: 0;
  padding: 0;
  background: none;
  color: #a5542a;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.account-privacy {
  padding: 15px;
  background: #ede7dc;
  border-radius: 8px;
  margin: 15px 0;
}
.account-privacy h3 {
  font-size: 12px;
  margin: 0 0 10px;
}
.account-main .account-privacy p {
  font-size: 10px;
  margin: 0 0 10px;
}
.account-result {
  padding-top: 30px;
}
.account-result-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  background: #142f49;
  color: #d8aa85;
  font-size: 30px;
  border-radius: 50%;
  margin-bottom: 25px;
}
.account-main .account-protocol {
  border: 1px solid #ddcfbd;
  padding: 14px;
  border-radius: 10px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.account-next-steps {
  padding-left: 18px;
  color: #536b7b;
  font-size: 11px;
  line-height: 1.9;
  margin: 24px 0;
}
.account-result .account-back {
  display: block;
  margin-top: 8px;
}
.confirm-page {
  min-height: 100dvh;
  background: #f6f3ed;
  color: #142f49;
  display: grid;
  place-items: center;
  padding: 25px;
}
.confirm-card {
  background: #faf8f3;
  padding: 45px;
  width: min(100%, 560px);
  border: 1px solid #d9cabb;
  border-radius: 22px;
  box-shadow: 0 20px 80px #142f490c;
}
.confirm-card .account-wordmark {
  color: #142f49;
  margin-bottom: 45px;
}
.confirm-card h1 {
  font-size: 35px;
  line-height: 1.15;
  letter-spacing: -1.4px;
  margin: 20px 0;
}
.confirm-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #536b7b;
}
.confirm-card .button {
  margin: 20px 0;
}
.confirm-card .account-back {
  display: block;
  text-decoration: none;
}
.confirm-card .account-note {
  font-size: 11px;
}
@media (max-width: 700px) {
  .account-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 16px;
  }
  .account-dialog[open] {
    grid-template-columns: 1fr;
  }
  .account-aside {
    min-height: 0;
    padding: 23px 25px 20px;
    border-radius: 14px 14px 0 0;
  }
  .account-aside > .eyebrow,
  .account-aside h2,
  .account-aside > p,
  .account-path {
    display: none;
  }
  .account-wordmark {
    font-size: 23px;
  }
  .account-wordmark small {
    font-size: 7px;
    letter-spacing: 5px;
  }
  .account-dialog .dialog-close {
    background: #294258;
    color: #fff;
    top: 22px;
    right: 23px;
  }
  .account-main {
    padding: 25px 24px;
  }
  .account-main h2 {
    font-size: 26px;
  }
  .account-progress {
    gap: 9px;
    margin: 22px 0;
  }
  .account-progress li {
    gap: 5px;
  }
  .account-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .account-result {
    padding-top: 6px;
  }
  .confirm-card {
    padding: 30px 24px;
  }
  .confirm-card h1 {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .account-dialog[open] {
    animation: account-enter 0.22s ease-out;
  }
  @keyframes account-enter {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 700px) {
  .account-dialog input:not([type="checkbox"]),
  .account-dialog select {
    font-size: 16px;
  }
  .account-main .button {
    min-height: 48px;
  }
}
