:root {
  --bg: #f7f9fc;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #1a73e8;
  --accent-2: #145db8;
  --radius: 12px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--bg);
  color: #0f172a;
}

.container {
  max-width: var(--max);
  margin: 28px auto;
  padding: 20px;
}

/* Header & Nav */
.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}
.nav { display: flex; gap: 10px; }
.nav a {
  padding: 8px 12px; border-radius: var(--radius); color: var(--accent);
  text-decoration: none; font-weight: 600;
}
.nav a.active { background: rgba(26,115,232,0.12); }

/* Hero & Grid */
.hero {
  margin-top: 18px; background: var(--card); padding: 26px; border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(11,15,30,0.04);
}
.hero h1 { margin: 0 0 8px 0; font-size: 22px; }
.hero p { margin: 0; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.card {
  background: var(--card); padding: 18px; border-radius: var(--radius);
  border: 1px solid rgba(15,23,42,0.04);
}
.card h3 { margin: 0 0 8px 0; }

/* Footer */
.footer {
  margin-top: 26px; padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(15,23,42,0.03); text-align: center; color: var(--muted);
}
.small { font-size: 13px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 8px 12px; border-radius: var(--radius); text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
  .header { flex-direction: column; align-items: flex-start; }
  .nav { flex-wrap: wrap; }
}

/* Policy pages */
.article {
  background: var(--card); padding: 20px; margin-top: 14px; border-radius: var(--radius);
}
.article h2 { margin-top: 0; }
.article p { color: var(--muted); line-height: 1.6; }

/* Admin / user list */
.userRow {
  padding: 6px; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(15,23,42,0.03);
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;
}
.userEmail {
  flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.userStatusIcons { flex-shrink: 0; padding-left: 8px; }

.brand-mark {
  width: 128px;
  height: 128px;
  border-radius: var(--radius);
  background: url('./img/banner_256x256.png') no-repeat center center;
  background-size: contain; /* ensures the whole logo fits */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; /* can be ignored if image fully covers */
  font-weight: 700; /* no longer needed if only using image */
}
