/* ======================================================
   GLOBAL RESET
====================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

html, body {
  background: #f8f9fa;
  color: #333;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ======================================================
   GLOBAL CONTAINER
====================================================== */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======================================================
   GLOBAL PAGE CONTENT
====================================================== */
.page-main {
  padding: 40px 0;
}

/* ======================================================
   FOOTER (GLOBAL)
====================================================== */
.ms-footer {
  background: #ffffff;
  padding: 22px 0;
  border-top: 1px solid #e3e3e3;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  margin-left: 16px;
  color: #0077cc;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
/* ===============================
   FOOTER – COMPACT HORIZONTAL
================================ */
.ms-footer .footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;              /* spacing between links */
    flex-wrap: wrap;
}

.ms-footer .footer-links li {
    margin: 0;
}

.ms-footer .footer-links a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.ms-footer .footer-links a:hover {
    color: #000;
    text-decoration: underline;
}
/* ======================================================
   GLOBAL RESPONSIVE
====================================================== */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links a {
    margin: 0 8px;
  }
}
/* ======================================================
   PUBLIC PAGES (ALL NON-HOME, NON-DASHBOARD)
====================================================== */
.public-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
