/* ============================================================
   Shared app chrome — unified header + footer across every FE
   app (matches the WCAG Checker / menu redesign). Loaded after
   each app's own stylesheet; uses rm-* classes so it never
   fights per-app .header/.login-footer rules.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Mulish:wght@400;600&display=swap");

/* ---------------- Header ---------------- */
.rm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid #EAEDF3;
  box-shadow: 0 1px 2px rgba(18, 38, 63, 0.04);
}
.rm-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rm-header-left { display: flex; align-items: center; gap: 20px; }
.rm-header .menu-wrap { position: relative; }
.rm-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #E4E8EF;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(18, 38, 63, 0.05);
  cursor: pointer;
}
.rm-menu-button:hover { background: #F7F9FC; }
.rm-menu-button:focus-visible { outline: 3px solid rgba(232, 64, 42, 0.35); outline-offset: 2px; }
.rm-menu-bars { display: flex; flex-direction: column; gap: 4px; width: 22px; }
.rm-menu-bars span { height: 2.5px; border-radius: 2px; background: #3B4757; }
.rm-logo { height: 46px; width: auto; display: block; }
.rm-header-divider { width: 1px; height: 28px; background: #E2E6ED; }
.rm-header-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #16273F;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.rm-header-right { display: flex; align-items: center; gap: 16px; }
.rm-field { display: inline-flex; flex-direction: column; gap: 3px; }
.rm-field > span {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #8791A0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-left: 2px;
}
.rm-header-right .org-select,
.rm-header-right .domain-select {
  min-width: 170px;
  width: auto;
  min-height: 40px;
  border: 1px solid #E4E8EF;
  border-radius: 12px;
  background: #ffffff;
  color: #16273F;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
}
.rm-header-right .org-select:focus-visible,
.rm-header-right .domain-select:focus-visible {
  outline: 3px solid rgba(60, 124, 224, 0.25);
  border-color: #3C7CE0;
}
/* The shared 9-dot app-switcher popover is no longer used (menu.js injects a
   drawer); keep any leftover #appMenu hidden. */
.rm-header .app-menu { display: none !important; }

/* ---------------- Footer ---------------- */
.rm-footer-rule { height: 4px; background: linear-gradient(90deg, #E8402A, #F0862A, #F4C24E, #3FB27A, #2BA9C9); }
.rm-footer { background: #ffffff; border-top: 1px solid #EAEDF3; margin-top: auto; }
.rm-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 22px 32px;
  font-size: 13.5px;
  color: #7A8798;
}

@media (max-width: 720px) {
  .rm-header-inner, .rm-footer-inner { padding-left: 18px; padding-right: 18px; }
  .rm-header-right { display: none; }
}
