/* Autenticacao v10 — cabecalho enxuto e formulario visivel sem rolagem desnecessaria. */
body.auth-layout {
  min-height: 100vh;
  background: #f7fbfc;
}

.site-header-auth {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid #dfecef;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 5px 18px rgba(6, 43, 95, .05);
}

.site-header-auth .header-shell {
  width: min(1320px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header-auth .brand {
  width: auto;
  max-width: 210px;
}

.site-header-auth .brand img {
  width: 190px;
  max-width: 100%;
  height: auto;
}

.auth-header-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: #08346e;
  border: 1px solid #c8dce5;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.auth-header-back:hover {
  border-color: #86bfca;
  background: #f3fbfc;
  transform: translateY(-1px);
}

.auth-header-back:focus-visible {
  outline: 3px solid rgba(7, 151, 163, .28);
  outline-offset: 3px;
}

.auth-header-back svg {
  width: 19px;
  height: 19px;
}

.auth-layout main {
  min-height: calc(100vh - 82px);
}

.auth-layout .auth-page {
  min-height: calc(100vh - 82px);
  padding: 16px 22px 20px;
  display: grid;
  place-items: center;
}

.auth-layout .auth-shell,
.auth-layout .auth-page-cadastro .auth-shell {
  width: min(1320px, 100%);
  min-height: 0;
  grid-template-columns: minmax(300px, .67fr) minmax(620px, 1.33fr);
  border-radius: 16px;
}

.auth-layout .auth-intro {
  min-height: 0;
  padding: 32px 34px;
}

.auth-layout .auth-intro h1 {
  font-size: clamp(30px, 2.35vw, 40px);
  line-height: 1.06;
}

.auth-layout .auth-intro > .auth-intro-content > p {
  margin: 13px 0 23px;
  font-size: 14px;
  line-height: 1.5;
}

.auth-layout .auth-eyebrow {
  min-height: 22px;
  margin-bottom: 9px;
  font-size: 11px;
}

.auth-layout .auth-benefit-list {
  gap: 12px;
}

.auth-layout .auth-benefit-item {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
}

.auth-layout .auth-benefit-item:nth-child(n + 3),
.auth-layout .auth-intro-art {
  display: none;
}

.auth-layout .auth-benefit-icon {
  width: 42px;
  height: 42px;
}

.auth-layout .auth-benefit-icon svg {
  width: 22px;
  height: 22px;
}

.auth-layout .auth-benefit-item strong {
  font-size: 14px;
}

.auth-layout .auth-benefit-item small {
  font-size: 12px;
}

.auth-layout .auth-panel-wrap {
  padding: 16px 30px 20px;
}

.auth-layout .auth-tabs {
  margin-bottom: 14px;
}

.auth-layout .auth-tabs a {
  min-height: 44px;
  font-size: 14px;
}

.auth-layout .auth-panel-heading {
  margin-bottom: 13px;
}

.auth-layout .auth-panel-kicker {
  margin-bottom: 3px;
  font-size: 11px;
}

.auth-layout .auth-panel-heading h2 {
  font-size: 24px;
}

.auth-layout .auth-panel-heading p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
}

.auth-layout .auth-panel,
.auth-layout .auth-panel-wide {
  width: min(760px, 100%);
}

.auth-layout .auth-panel .auth-google-button {
  min-height: 46px !important;
  margin: 0 0 5px !important;
  border-radius: 9px !important;
  font-size: 14px !important;
}

.auth-layout .auth-google-terms {
  margin: 0 2px 7px !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}

.auth-layout .auth-divider {
  margin: 7px 0 10px;
}

.auth-layout .auth-form {
  gap: 10px;
}

.auth-layout .auth-field label {
  margin-bottom: 4px;
  font-size: 13px;
}

.auth-layout .auth-input-wrap {
  min-height: 45px;
}

.auth-layout .auth-input-icon {
  width: 43px;
  flex-basis: 43px;
}

.auth-layout .auth-input-icon svg {
  width: 19px;
  height: 19px;
}

.auth-layout .auth-input-wrap input,
.auth-layout .auth-input-wrap select {
  height: 43px;
  font-size: 14px;
}

.auth-layout .form-grid-2 {
  gap: 11px;
}

.auth-layout .auth-consent-options {
  gap: 6px;
  margin: 1px 0;
}

.auth-layout .auth-check {
  font-size: 12px;
  line-height: 1.35;
}

.auth-layout .auth-check input {
  width: 17px !important;
  height: 17px !important;
  flex-basis: 17px;
}

.auth-layout .btn-auth-primary {
  min-height: 47px;
  margin-top: 1px;
  font-size: 14px;
}

.auth-layout .auth-help-row {
  margin-top: -2px;
}

.auth-layout .auth-switch {
  margin-top: 13px;
  font-size: 13px;
}

.auth-layout .alert {
  margin-bottom: 12px;
  padding: 10px 12px;
  font-size: 13px;
}

.auth-layout .auth-trust-strip,
.auth-layout .site-footer {
  display: none;
}

@media (max-width: 1100px) {
  .auth-layout .auth-shell,
  .auth-layout .auth-page-cadastro .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-layout .auth-intro {
    display: none;
  }

  .auth-layout .auth-panel-wrap {
    padding: 18px 28px 22px;
  }
}

@media (max-width: 620px) {
  .site-header-auth .header-shell {
    width: min(100% - 28px, 1320px);
    min-height: 70px;
    padding: 7px 0;
  }

  .site-header-auth .brand {
    max-width: 165px;
  }

  .site-header-auth .brand img {
    width: 160px;
  }

  .auth-header-back {
    min-height: 42px;
    padding: 0 12px;
  }

  .auth-header-back span {
    font-size: 12px;
  }

  .auth-layout main,
  .auth-layout .auth-page {
    min-height: calc(100vh - 70px);
  }

  .auth-layout .auth-page {
    padding: 10px;
    place-items: start center;
  }

  .auth-layout .auth-panel-wrap {
    padding: 13px 16px 18px;
  }

  .auth-layout .auth-tabs {
    margin-bottom: 12px;
  }

  .auth-layout .auth-panel-heading h2 {
    font-size: 22px;
  }

  .auth-layout .form-grid-2,
  .auth-layout .form-grid-location {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .auth-header-back span {
    display: none;
  }

  .auth-header-back {
    width: 42px;
    padding: 0;
  }
}
