/* web/public/styles.css
 *
 * Minimal, neutral styling for demo snapshot HTML served from /demo-archive.
 * This is only for the embedded archived pages inside the iframe, not the
 * main HealthArchive.ca UI.
 */

:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --bg: #f9fafb;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --accent: #2563eb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
}

body {
  line-height: 1.6;
}

/* Basic layout for typical canada.ca-like content */
main {
  max-width: 840px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
}

/* Headings */

h1,
h2,
h3,
h4 {
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
  color: var(--text);
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.3rem;
}

h3 {
  font-size: 1.1rem;
}

/* Text elements */

p {
  margin: 0.5rem 0;
}

ul,
ol {
  margin: 0.5rem 0 0.5rem 1.5rem;
  padding: 0;
}

li {
  margin: 0.25rem 0;
}

small {
  font-size: 0.85em;
  color: var(--muted);
}

/* Links */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Tables */

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.6rem;
  text-align: left;
}

th {
  background-color: #f3f4f6;
  font-weight: 600;
}

/* Simple alert / callout patterns if the stub HTML uses them */

.alert,
.notice,
.warning {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: #fefce8;
}

.alert-info {
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.alert-error {
  background-color: #fef2f2;
  border-color: #fecaca;
}

/* Images */

img {
  max-width: 100%;
  height: auto;
}

/* Forms (if any appear in snapshots) */

input,
select,
textarea {
  font: inherit;
  padding: 0.35rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
}

