/* PGE web app — custom styles layered on top of Pico.css.
   Pico provides the base (typography, forms, tables, responsive grid);
   this file holds only PGE-specific tweaks. */

:root {
  --pge-maxwidth: 70rem;
}

/* Slightly tighter container than Pico's default for a data-dense app. */
main.container {
  max-width: var(--pge-maxwidth);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

/* Login card centring. */
.pge-login {
  max-width: 24rem;
  margin: 4rem auto;
}

/* Inline form error / flash messages. */
.pge-error {
  color: var(--pico-color-red-550, #c0392b);
  font-weight: 600;
}

/* Compact tables for list views. */
table.pge-list th,
table.pge-list td {
  padding: 0.4rem 0.6rem;
  vertical-align: middle;
}

/* Muted helper text. */
.pge-muted {
  color: var(--pico-muted-color);
  font-size: 0.875rem;
}

/* Row-action buttons stay small and inline. */
.pge-actions {
  display: flex;
  gap: 0.4rem;
}
.pge-actions button,
.pge-actions a[role="button"] {
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  margin: 0;
}
