/* Shared look for every portal page: Netspire brand fonts and colors, the header bar, cards and footer.
   Pages link it with an absolute path (/assets/portal.css), because the sign-in page is also served
   in place of any page someone opens without access (see netlify.toml). */
@font-face { font-family: 'Outfit'; font-weight: 400 800; src: url(/assets/outfit.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Work Sans'; font-weight: 400 700; src: url(/assets/worksans.woff2) format('woff2'); font-display: swap; }
:root {
  color-scheme: light;
  --brand: #5B2FC2; --brand-tint: #F2EDFB; --brand-dark: #45219A;
  --ink: #0A0B0E; --text: #34435C; --muted: #5C6B85; --line: #E2E6EE; --bg: #F3F5F9;
  --head: 'Outfit', 'Segoe UI', Helvetica, Arial, sans-serif;
  --body: 'Work Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.45; padding: 24px 16px 40px; }
.wrap { max-width: 1100px; margin: 0 auto; display: grid; gap: 20px; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 1px 2px rgba(10,11,14,.08); border-top: 4px solid var(--brand); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mark { width: 44px; height: 44px; flex: none; }
.agency { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--brand); letter-spacing: .02em; }
h1 { margin: 0; font-family: var(--head); font-size: 24px; line-height: 1.2; color: var(--ink); }
h2 { margin: 0; font-family: var(--head); font-size: 22px; color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Client cards on the admin list */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { display: grid; gap: 6px; align-content: start; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 1px 3px rgba(10,11,14,.1); color: inherit; text-decoration: none; border: 2px solid transparent; }
a.card:hover { border-color: var(--brand); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 6px; }
.card .icon svg { width: 24px; height: 24px; }
.card b { font-family: var(--head); font-size: 20px; color: var(--ink); }
.card span { color: var(--muted); }

footer { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; }
footer svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  body { padding: 12px 12px 32px; }
  h1 { font-size: 20px; }
  .mark { width: 38px; height: 38px; }
}
