/* StudioBoard V24 — Minha Conta: mesmo rodapé jurídico da página principal.
   Mantém o footer no fim da viewport quando o conteúdo da aba é curto. */

body.account-page.account-hub {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

body.account-page.account-hub > .account-main {
  flex: 1 0 auto !important;
}

body.account-page.account-hub > .account-site-footer {
  flex: 0 0 auto !important;
  margin-top: auto !important;
}

.account-site-footer {
  position: relative;
  width: 100%;
  background: #eef4fa;
  color: #61768d;
  padding: 0 0 26px;
  border: 0;
}

.account-site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, #00c7ff 0%, #1687ff 48%, #4057ff 100%);
  opacity: .48;
}

.account-site-footer .account-footer-bottom {
  width: min(calc(100% - 54px), 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #cedae7;
}

.account-site-footer .account-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.account-site-footer .account-footer-legal a,
.account-site-footer .account-footer-bottom p {
  margin: 0;
  color: #61768d;
  font-size: 10.5px;
  line-height: 1.5;
  text-decoration: none;
}

.account-site-footer .account-footer-legal a:hover,
.account-site-footer .account-footer-legal a:focus-visible {
  color: #29445f;
}

@media (max-width: 940px) {
  .account-site-footer .account-footer-bottom {
    width: min(calc(100% - 34px), 1320px);
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .account-site-footer .account-footer-legal {
    gap: 9px 18px;
  }
}
