/* Birnholz Law — Client Portal base CSS.
   Brand tokens pulled from the live Elementor kit (post-7.css):
   accent #002DFF, text/primary #000, secondary #464646; Jost + Open Sans. */

:root {
  --color-accent: #002DFF;
  --color-text: #000000;
  --color-gray: #464646;
  --color-peach: #FFBC7D;
  --color-coral: #FF7E7E;
  --color-bg: #ffffff;
  --font-head: 'Jost', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 15px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

h1, h2, h3, .head { font-family: var(--font-head); font-weight: 600; color: var(--color-gray); }

a { color: var(--color-accent); }

/* ── Header — exact Elementor values from post-42.css.
   Color uses ALPHA (#FF7E7E80 ≈ 50%), which over white = the soft pink. */
/* Header = flex column (section 480471c): align center, 10px gap between the
   branding block and the 2px line. */
.portal-header {
  background: rgba(255, 126, 126, 0.5);   /* #FF7E7E80 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;                              /* section row-gap 10px */
}
.portal-header__brandblock {              /* container 8821e17 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;                              /* row-gap between title & subtitle */
  padding: 20px;
  text-align: center;
}
.portal-header__brand {
  font-family: var(--font-head);          /* Jost */
  font-weight: 600;
  font-size: 32px;
  color: #464646;
  line-height: 1.2;
}
.portal-header__subtitle {
  font-family: var(--font-body);          /* Open Sans, true italic */
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  text-transform: uppercase;
  color: #464646;
}
.portal-header__line {                    /* 0db387f — full-width 2px #464646 */
  width: 100%;
  height: 2px;
  background: #464646;
}

/* ── Layout: centered content card (post-18.css). Card uses ALPHA too
   (#879FFF7D ≈ 49%) → the soft lavender. */
.portal-main {
  display: flex;
  justify-content: center;
  padding: 36px 30px 90px;                /* gap from header line to card */
}
/* Card color + width vary per page → CSS vars, defaults = dashboard (periwinkle,
   34%). Pages override via a <style> targeting .portal-card in head_extra. */
.portal-card {
  background: var(--card-bg, rgba(135, 159, 255, 0.49));  /* #879FFF7D */
  border-radius: 30px;
  box-shadow: 10px 10px 30px 0px rgba(0,0,0,0.5);
  padding: var(--card-pad, 25px 30px 30px 30px);
  width: var(--card-width, 34%);
  min-width: var(--card-min, 460px);
  max-width: var(--card-max, 720px);
}
@media (max-width: 820px) {
  .portal-card { width: 92%; min-width: 0; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.portal-footer {
  border-top: 2px solid #ececec;
  padding: 22px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-gray);
  text-align: center;
}

/* ── Shared button (matches the widgets' outline-invert style) ──────────── */
.portal-btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-gray);
  background: transparent;
  border: 2px solid var(--color-gray);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease;
}
.portal-btn:hover { background: var(--color-gray); color: #fff; }
