/* Pure (vendor/pure-min.css) does the base styling, forms, buttons,
   tables and menus. This file holds only what Pure doesn't cover. */

body {
  font-family: system-ui, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

main {
  padding: 1rem;
}

/* Nav: Pure's horizontal menu, allowed to wrap on narrow screens. */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ccc;
  white-space: normal;
}

.nav .pure-menu-list {
  display: flex;
  flex-wrap: wrap;
}

.nav .pure-menu-selected .pure-menu-link {
  font-weight: 600;
}

.nav-user {
  margin-left: auto;
}

/* Single-message pages: login and sign-in refused. */
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}
