/* Noro shared header/footer for standalone pages */
.noro-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1A1035;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'Manrope', sans-serif;
}
.noro-nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.noro-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.noro-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.noro-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}
.noro-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.noro-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
  font-family: 'Manrope', sans-serif;
}
.noro-nav-cta:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.noro-nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.noro-nav-link:hover { color: #fff; }

/* Dropdown */
.noro-dropdown { position: relative; }
.noro-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1A1035;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 50;
}
.noro-dropdown:hover .noro-dropdown-menu { display: block; }
.noro-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  transition: 0.2s ease;
}
.noro-dropdown-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* Mobile toggle */
.noro-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.noro-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Force hide any theme toggles on quiz pages */
.theme-toggle, #themeToggle { display: none !important; }

/* Override quiz page colors to NORO brand - dark mode matching timer pages */
:root, [data-theme="light"], [data-theme="dark"], html, body {
  /* Accent colors - all mapped to NORO purple */
  --accent-color: #6B52C8 !important;
  --accent-dim: rgba(107, 82, 200, 0.15) !important;
  --accent-glow: rgba(107, 82, 200, 0.3) !important;
  --paralysis-color: #6B52C8 !important;
  --paralysis-dim: rgba(107, 82, 200, 0.15) !important;
  --paralysis-glow: rgba(107, 82, 200, 0.3) !important;
  --burnout-color: #6B52C8 !important;
  --burnout-dim: rgba(107, 82, 200, 0.15) !important;
  --burnout-glow: rgba(107, 82, 200, 0.3) !important;
  --autism-color: #6B52C8 !important;
  --autism-dim: rgba(107, 82, 200, 0.15) !important;
  --adhd-color: #6B52C8 !important;
  --adhd-dim: rgba(107, 82, 200, 0.15) !important;

  /* Backgrounds - dark navy */
  --bg: #1A1035 !important;
  --surface: #221844 !important;
  --surface-2: #2A1F4E !important;

  /* Text - light */
  --text: rgba(255, 255, 255, 0.9) !important;
  --text-muted: rgba(255, 255, 255, 0.5) !important;
  --text-faint: rgba(255, 255, 255, 0.3) !important;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08) !important;
  --focus-ring: 0 0 0 2px #6B52C8 !important;

  /* Result colors */
  --green: #6db88a !important;
  --green-dim: rgba(109, 184, 138, 0.15) !important;
  --yellow: #d4c35c !important;
  --yellow-dim: rgba(212, 195, 92, 0.15) !important;
  --orange: #e8845c !important;
  --orange-dim: rgba(232, 132, 92, 0.15) !important;
  --red: #e05c5c !important;
  --red-dim: rgba(224, 92, 92, 0.15) !important;
}

body {
  background: #1A1035 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Footer */
.noro-footer {
  background: #1A1035;
  color: rgba(255,255,255,0.6);
  font-family: 'Manrope', sans-serif;
  padding: 48px 24px 24px;
  margin-top: 48px;
}
.noro-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.noro-footer-brand { flex: 1; min-width: 200px; }
.noro-footer-brand .noro-logo { margin-bottom: 12px; }
.noro-footer-brand .noro-logo-text { color: #fff; }
.noro-footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.noro-footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.noro-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.noro-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.noro-footer-col a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: 0.2s ease;
}
.noro-footer-col a:hover { color: #fff; }
.noro-footer-bottom {
  max-width: 1140px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* Mobile */
@media (max-width: 768px) {
  .noro-mobile-toggle { display: flex; }
  .noro-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1A1035;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .noro-nav-links.active { display: flex; }
  .noro-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
  }
  .noro-footer-inner { flex-direction: column; gap: 32px; }
  .noro-footer-links { gap: 24px; }
}
