/* Cadastro - moldura de pergaminho envolvendo todo o conteúdo */
@media (min-width: 901px) {
  body:has(.invite-shell) {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: auto;
  }
  .invite-shell .auth-register-card {
    position: relative;
    display: block;
    width: min(520px, 100%);
    height: auto;
    min-height: 0;
    padding: 42px 48px 38px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(rgb(244,225,187), rgb(237,211,164)),
      url("/assets/auth-corvamar-v1/auth-parchment.png") center / cover;
    box-shadow: 0 0 34px 22px rgba(238,215,174,.82);
  }
  .invite-shell .auth-register-card::before { content: none !important; }
  .invite-shell .auth-register-card > h1,
  .invite-shell .auth-register-card > p:not(.eyebrow):not(.error),
  .invite-shell .auth-register-card > form {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .invite-shell .auth-register-card > h1 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }
  .invite-shell .auth-register-card > p:not(.eyebrow):not(.error) {
    margin-top: 0;
  }
  .invite-shell .auth-register-card > .help {
    margin-top: 8px !important;
  }
  .invite-shell .auth-register-card > form { gap: 9px; }
}

@media (min-width: 901px) {
  body:has(.invite-shell) .invite-shell {
    min-height: calc(100dvh - 48px);
  }
}
