.daily-movation-footer-button {
  border-radius: 6px
}

.legal-footer-info {
  margin-top: 3rem;
  padding-top: 2rem
}

.source-footer-button {
  background-color: #FFD700;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 0;
  display: inline-block
}

.daily-motivation-footer-button {
  background-color: #673AB7;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 0;
  display: inline-block
}

.footer-links {
  color: inherit;
  text-decoration: none;
  margin-left: 0
}

.footer-copyright {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 120px;
  text-align: center;
}

.footer-copyright-copy {
  display: inline-block;
  white-space: nowrap;
}

footer {
  background-color: var(--rich-black);
  color: var(--soft-white);
  text-align: center;
  padding: 1rem 1rem 1rem 1rem;
  font-size: 0.7rem;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  z-index: 30;
  height: auto;
  min-height: auto;
  max-height: none;
  overflow: visible;
}

footer>div {
  margin-top: 0;
  flex-wrap: wrap
}

footer>div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

footer>div:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px
}

footer .footer-links {
  white-space: nowrap
}

footer .footer-copyright {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#report-error-footer {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

footer .daily-motivation-footer-button {
  white-space: nowrap
}

footer .source-footer-button {
  white-space: nowrap
}

.footer-copyright {
  margin-top: 0;
  font-size: 0.8rem
}

/* Centralized Footer Layout Resets */


footer a {
  color: inherit;
  text-decoration: none;
}

footer .footer-sep {
  color: var(--soft-white);
  opacity: 0.5;
}



/* --- Extracted Footer Classes --- */
.msmg-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-footer {

  margin-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);

}

.auth-footer a {

  color: var(--primary);
  text-decoration: none;
  font-weight: 600;

}

.info-footer-note {

  font-size: 0.9rem;
  text-align: center;

}

.legal-footer-note {

  font-size: 0.9rem;

}



.msmg-footer {

  background: #ffffff;
  color: #1a1a1a;
  padding: 24px 0;
  text-align: left;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;

}

.msmg-footer-brand {

  font-size: 24px;
  margin-bottom: 12px;
  text-decoration: none;

}

.msmg-footer-links {

  display: flex;
  gap: 40px;
  margin-bottom: 20px;

}

.msmg-footer-col {

  display: flex;
  flex-direction: column;
  gap: 6px;

}

.msmg-footer-heading {

  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;

}

.msmg-footer-link {

  text-decoration: none;
  color: #666;
  font-size: 14px;

}

.msmg-footer-link:hover {

  color: #000;

}

.msmg-footer-copy {

  color: #999;
  font-size: 12px;
  font-weight: 500;

}

/* MSMG Footer Overrides: White background, black text */
.msmg-body footer.corporate-label {
  background: #ffffff;
  color: #000000;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  margin: 2px 0 0 0;
  box-sizing: border-box;
}

.msmg-body footer.corporate-label .msmg-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.msmg-body footer.corporate-label .msmg-footer-main-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  width: 100%;
}

.msmg-body footer.corporate-label .msmg-footer-brand-col {
  justify-self: start;
}

.msmg-body footer.corporate-label .msmg-brand {
  color: #000000;
  margin-bottom: 0;
  font-size: 32px;
}

.msmg-body footer.corporate-label .msmg-footer-links-center {
  display: flex;
  gap: 60px;
  justify-self: center;
}

.msmg-body footer.corporate-label .msmg-footer-links-center .msmg-footer-col {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 48px;
}

.msmg-body footer.corporate-label .msmg-footer-heading {
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
  grid-column: 1 / -1;
}

.msmg-body footer.corporate-label .msmg-footer-link {
  color: #555555;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  text-align: left;
}

.msmg-body footer.corporate-label .msmg-footer-link:hover {
  color: #000000;
}

.msmg-body footer.corporate-label .msmg-footer-copy {
  color: #777777;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 12px;
}

.cpop-info-footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.cpop-footer-note {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.4;
}

.cpop-footer-email {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
  line-height: 1.4;
}

.cpop-footer-email a {
  color: var(--rackstack-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.cpop-footer-email a:hover {
  color: var(--rackstack-secondary);
  text-decoration: underline;
}

/* Bottom Nav */
.dashboard-footer-nav {

  display: flex;
  justify-content: center;
  gap: 32px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--glass-bg);
  margin-top: 6px;
  margin-bottom: 4PX;

}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--astreet-text-muted);
  font-size: 0.9rem;
}

.form-footer a {
  color: var(--astreet-primary);
  text-decoration: none;
  font-weight: 600;
}

.page-footer {
  position: fixed;
  /* Lock to bottom */
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 24px;
  z-index: 1000;
  box-sizing: border-box;
  height: 60px;
  display: flex;
  align-items: center;
}

.footer-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.footer-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.page-footer a,
.page-footer span {
  color: #000000;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}

.page-footer a:hover {
  color: var(--astreet-primary);
}