/* public-chrome.css - shared top navigation + footer for verify.dnsai.com.
 * Rules are a copy of the nav/footer CSS in /index.html so the PHP pages under /secure/
 * (login, signup, forgot/reset password) render the same chrome as the homepage.
 * Markup is emitted by secure/includes/public_chrome.php. Keep both in sync with index.html. */

/* ── NAV ── */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-brand {
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-brand img { width: 36px; height: 36px; }
.nav-brand span { font-weight: 800; font-size: 20px; letter-spacing: .3px; padding-right: 30px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
/* Vertical hairline separating link groups (Main Site, auth actions) - matches app.dnsai.com */
.nav-sep { width: 1px; height: 18px; background: var(--border-default); opacity: 0.7; }
.nav-cta {
  background: var(--brand-gradient);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { opacity: 0.9; }
/* Hamburger toggle — shown only on small screens (see media query) */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
  color: var(--text-primary);
  line-height: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }


/* -- FOOTER -- */
.site-footer {
  border-top: 1px solid var(--border-default);
  padding: 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-brand img { width: 24px; height: 24px; opacity: 0.6; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }


/* Page layout for auth pages: nav on top, centred content, footer pinned to the bottom. */
.auth-main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Collapse the nav into a hamburger menu before the links would crowd. */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-sep { width: auto; height: 1px; margin: 6px 4px; }
  .nav-links a {
    font-size: 15px;
    padding: 11px 12px;
    border-radius: 8px;
  }
  .nav-links a:not(.nav-cta):hover { background: var(--bg-section); }
  .nav-cta { text-align: center; margin-top: 4px; }
}

