/* ═══════════════════════════════════════════════════════════════
   VERDANT YARD — styles.css
   Sage & Terracotta · Luxury Refined · Light with dark accents
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  background: var(--parchment);
  color: var(--charcoal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit); text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Palette */
  --parchment:   #f7f3ec;
  --cream:       #fdfaf5;
  --cream2:   #faf9f6;
  --charcoal:    #1e2420;
  --charcoal2:   #2c3329;
  --sage:        #6b7c5e;
  --sage-lt:     #a3b898;
  --sage-pale:   #dde5d8;
  --sage-dk:     #48703D;
  --terra:       #b85c38;
  --terra-lt:    #d4845f;
  --terra-pale:  #f0ddd5;
  --muted:       #7a8570;
  --white:       #ffffff;

  /* Borders */
  --border:      rgba(107, 124, 94, 0.2);
  --border-dark: rgba(30, 36, 32, 0.12);
  --border-hero: rgba(163, 184, 152, 0.15);

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(30,36,32,0.07);
  --shadow-md:   0 4px 16px rgba(30,36,32,0.1);
  --shadow-lg:   0 8px 32px rgba(30,36,32,0.12);

  /* Spacing */
  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap-md: 1.5rem;
  --gap-lg: 2rem;
  --gap-xl: 4rem;

  /* Layout */
  --header-h:    64px;
  --sidebar-w:   220px;
  --content-max: 1300px;
  --radius:      2px;
}
/* Base links */
a:not(.btn):not(.header-nav *):not(.wallet-pill):not(.wallet-chip):not(.logo):not(.guide-nav a):not(.admin-nav-link):not(.comm-tab):not(.mobile-nav-item):not(.thread-row):not(.profile-stable-link) {
  color: var(--sage-dk);
}

a:not(.btn):not(.header-nav *):hover:not(.wallet-pill):not(.wallet-chip):not(.logo):not(.guide-nav a):not(.admin-nav-link):not(.comm-tab):not(.mobile-nav-item):not(.thread-row):not(.profile-stable-link) {
  color: var(--terra) !important;
}

/* Hover */
a:not(.btn):not(.header-nav *):hover:not(.wallet-pill):not(.logo):not(.guide-nav a):not(.admin-nav-link):not(.comm-tab):not(.mobile-nav-item):not(.thread-row):not(.profile-stable-link) {
    color: var(--terra) !important;
}

a.nav-admin,
a:link.nav-admin {
  color: var(--terra) !important;
  border: 1px solid var(--terra);
  background: var(--terra-pale);
  padding: 4px;
}

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.serif        { font-family: 'Cormorant Garamond', serif; }
.label        { font-size: 0.63rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.muted        { color: var(--muted); }
.terra        { color: var(--terra); }
.sage         { color: var(--sage); }
.text-center {text-align: center; !important }

p {font-size: 0.8rem;
    color: var(--charcoal);
    font-weight: normal;}

strong, bold {
  font-weight: 700;
}
/* ── DISCIPLINE TAGS ────────────────────────────────────────── */
.disc { padding: 4px 11px; border-radius: var(--radius); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; display: inline-block; }
.disc-dr  { background: var(--sage-pale);              color: var(--sage); }
.disc-sj  { background: var(--terra-pale);             color: var(--terra); }
.disc-ev  { background: rgba(30,36,32,0.07);           color: var(--charcoal2); }
.disc-dv { background: rgba(144,97,194,0.3);           color: var(--charcoal2); }
.disc-ws,.disc-ct,.disc-rn,.disc-br,.disc-rc { background: rgba(142,63,18,0.3);           color: var(--charcoal2); }
.disc-cd  { background: rgba(136,211,171,0.3);           color: var(--charcoal2); }
.disc-ss { background: rgba(120,80,160,0.12); color: #6a3a9a; }
.disc-hn { background: rgba(60,100,60,0.4);  color: #2a5a2a; }
.disc-we {background: rgba(255, 190, 64, 0.5); color: var(--charcoal);}
.disc-wd {background: rgba(13, 103, 89, 0.5); color: var(--charcoal);}
.disc-en {background: rgba(131, 134, 137,0.5); color: var(--charcoal);}
/* ── Dog disciplines ── */
.disc-ag { background: #fff0e6; color: #c45c00; }  /* Agility — orange */
.disc-cc { background: #e6f4f4; color: #1a7a7a; }  /* Canicross — teal */
.disc-cf { background: #fdf8e6; color: #9a7d00; }  /* Conformation — gold */
.disc-hd { background: #eaf2ea; color: #2d6b2d; }  /* Herding — forest green */
.disc-pt { background: #f5e8e8; color: #8b1a1a; }  /* Protection — dark red */
.disc-ro { background: #eaecf5; color: #3a4a8b; }  /* Rally Obedience — slate blue */
.disc-rt { background: #fef5e6; color: #a06800; }  /* Retrieving — amber */
.disc-sw { background: #f2eaf5; color: #6b2d8b; }  /* Scent Work — purple */
.disc-tr { background: #f0ebe6; color: #6b4423; }  /* Tracking — brown */

/*---- BOXES --- */

.sage-box {
	border: 1px solid var(--sage-lt); 
	min-height: 300px; 
	padding: 10px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  border: none;
}
.btn:active { transform: scale(0.99); }

.btn-primary {
  background: var(--charcoal); color: var(--cream);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--terra), var(--sage));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.btn-primary:hover { background: var(--charcoal2); }
.btn-primary:hover::after { transform: scaleX(1); }

.btn-ghost {
  color: var(--sage);
  border: 1px solid var(--sage);
}
.btn-ghost:hover { background: var(--sage-pale); border-color: var(--sage); }

.btn-terra {
  background: var(--terra); color: var(--white);
}
.btn-terra:hover { background: #a34e2e; }

.btn-sage {
  background: var(--sage); color: var(--white);
}
.btn-sage:hover { background: #5a6a4e; }

/* ── FORM ELEMENTS ──────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 5px; }
.field label,
label { font-size: 0.63rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--charcoal2); }
.field input,
.field select,
.field textarea {
  padding: 10px 13px;
  background: var(--parchment); border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: 0.84rem; font-weight: 300;
  color: var(--charcoal); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,124,94,0.1);
}

input[type="radio"] {
  background: var(--parchment);
  accent-color: var(--terra); /* Set your brand color here */
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-sm); }

/* ── CARDS ──────────────────────────────────────────────────── */
.card { overflow: visible; }
.card {
  background: var(--cream); border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: var(--gap-md);
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--gap-sm);
  padding-bottom: var(--gap-sm);
  border-bottom: 1px solid var(--border-dark);
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400; color: var(--charcoal);
}

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-dark); }

/* ── BADGE ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: var(--radius);
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}

.badge-green { background: var(--sage-pale); color: var(--sage-deep); }
.badge-muted { background: var(--border-dark); color: var(--charcoal-60); }
.badge-dark  { background: var(--charcoal); color: #fff; }
.badge-red   { background: #fdecea; color: #b03a2e; }.badge-dot { width: 5px; height: 5px; border-radius: 50%; }
.badge-sage  { background: var(--sage-pale);  color: var(--sage);  }
.badge-terra { background: var(--terra-pale); color: var(--terra); }
.badge-dark  { background: rgba(30,36,32,0.08); color: var(--charcoal2); }

/* ═══════════════════════════════════════════════════════════════
   GUEST HEADER
   ═══════════════════════════════════════════════════════════════ */
.header-guest {
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 3rem;
  background: transparent;
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
}
.header-guest .logo { display: flex; align-items: center; gap: 11px; }
.header-guest .logo-mark {
  width: 32px; height: 32px; border: 0px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  opacity: 0.6;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--cream);
}

.logo a,
.logo-mark a{
border: 0;
}
.header-guest .logo-text {
  font-size: 1rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}


table.table-collapsed {
  /* Merges adjacent cell borders into one */
  border-collapse: collapse;
  width: 100%;
}

table.table-collapsed td, 
table.table-collapsed th {
  /* Standard padding for readability */
  padding: 12px 8px;
  text-align: left;
 font-size: 0.8rem;
 color: var(--charcoal);
}
.table {
  font-size: .8rem;
}
/* Applying the bottom border to the row */
table.table-collapsed tbody tr {
  border-bottom: 1px solid var(--sage-pale);
}

/* Optional: Removes the border from the final row for a cleaner look */
table.table-collapsed tbody tr:nth-child(last) {
  border-bottom: none;
}

table.table-collapsed tbody td {
  border-bottom: 1px solid var(--sage-pale);
}

table.table-collapsed thead {
  border-bottom: 2px solid var(--muted);
	color: var(--muted);
}
/* ═══════════════════════════════════════════════════════════════
   APP HEADER
   ═══════════════════════════════════════════════════════════════ */
.header-app {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border-dark);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-app .logo { display: flex; align-items: center; gap: 10px; }
.header-app .logo-mark {
  width: 30px; height: 30px; border: 0px solid var(--charcoal);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--charcoal);
}
.header-app .logo-text {
  font-size: 1rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--charcoal);
}

.header-nav { display: flex; align-items: center; gap: 0.25rem; }
.header-nav a {
  padding: 6px 14px; border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.08em;
  color: var(--muted); transition: color 0.2s, background 0.2s;
}
.header-nav a:hover { color: var(--charcoal); background: var(--sage-pale); }
.header-nav a.active { color: var(--charcoal); font-weight: 500; background: var(--sage-pale); }

.header-right { display: flex; align-items: center; gap: 8px; }
.notif-btn {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--parchment); border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem; position: relative;
  transition: background 0.2s;
}
.notif-btn:hover { background: var(--sage-pale); color: var(--charcoal); }
.notif-pip {
  position: absolute; top: 6px; right: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra); border: 1.5px solid var(--cream);
}

.avatar-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: var(--radius);
  background: var(--parchment); border: 1px solid var(--border-dark);
  transition: background 0.2s;
}
.avatar-btn:hover { background: var(--sage-pale); }
.avatar {
  width: 28px; height: 28px; border-radius: var(--radius);
  background: var(--sage); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; color: var(--white);
  text-transform: uppercase;
}
.avatar-name { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.04em; color: var(--charcoal); }

@media (max-width: 1280px) {
  .avatar-name { display: none; }
}

@media (max-width: 1280px) {
  .header-nav a,
  .nav-dropdown-trigger { padding: 6px 6px; }
}

/* ═══════════════════════════════════════════════════════════════
   GUEST FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer-guest {
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
}
.footer-guest .footer-links { display: flex; gap: 1.5rem; }
.footer-guest .footer-links a {
  font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); transition: color 0.2s;
}
.footer-guest .footer-links a:hover { color: rgba(255,255,255,0.65); }
.footer-guest .footer-copy {
  font-size: 0.63rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   APP FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer-app {
  margin-top: auto;
  background: var(--charcoal);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--gap-sm);
}

.footer-app-brand { display: flex; align-items: center; gap: 10px; }
.footer-app-brand .logo-mark {
  width: 26px; height: 26px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.footer-app-brand .logo-text {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

.footer-app-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-app-links a {
  font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); transition: color 0.2s;
}
.footer-app-links a:hover { color: var(--terra-lt); }

.footer-app-copy {
  font-size: 0.62rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.2);
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

/* Hero panel */
.login-hero {
  position: relative;
  background: var(--charcoal);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3.5rem; overflow: hidden; min-height: 100vh;
}
.login-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(107,124,94,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(184,92,56,0.15) 0%, transparent 50%),
    var(--charcoal);
}


.login-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(163,184,152,0.05) 47px, rgba(163,184,152,0.05) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(163,184,152,0.05) 47px, rgba(163,184,152,0.05) 48px);
}

.login-hero-img {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.login-hero-img img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
  object-position: center bottom;
}

.login-hero-corner {
  position: absolute; top: 3rem; right: 3rem;
  width: 60px; height: 60px;
  border-top: 1px solid rgba(163,184,152,0.25);
  border-right: 1px solid rgba(163,184,152,0.25);
  pointer-events: none;
}
.login-hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(107,124,94,0.15); border: 1px solid rgba(107,124,94,0.28);
  border-radius: var(--radius); padding: 5px 13px; margin-bottom: 2rem;
}
.hero-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage-lt); }
.hero-badge span { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-lt); }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4.5vw, 4.2rem); font-weight: 300;
  color: var(--cream); line-height: 1.05; margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--terra-lt); }

.hero-desc {
  font-size: 0.8rem; font-weight: 300; letter-spacing: 0.03em;
  color: rgba(221,229,216,0.55); line-height: 1.85;
  max-width: 340px; margin-bottom: 2.8rem;
}

.hero-stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(107,124,94,0.18); }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 400; color: var(--cream); line-height: 1;
}
.hero-stat-label { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* Auth panel */
.login-auth {
  background: var(--cream); display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 3.5rem; position: relative; border-left: 1px solid var(--border-dark);
}
.login-auth::before {
  content: ''; position: absolute; top: 0; left: 3.5rem; right: 3.5rem; height: 2px;
  background: linear-gradient(90deg, var(--terra) 0%, var(--sage) 100%);
}

.auth-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 2.8rem; }
.auth-logo .logo-mark {
  width: 34px; height: 34px; border: 1.5px solid var(--charcoal); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--charcoal);
}
.auth-logo .logo-text { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal); }

.auth-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem; font-weight: 400; color: var(--charcoal); line-height: 1.15; margin-bottom: 0.4rem;
}
.auth-sub { font-size: 0.77rem; font-weight: 300; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 2rem; }

.auth-tabs { display: flex; border-bottom: 1px solid var(--border-dark); margin-bottom: 2rem; }
.auth-tab {
  padding: 7px 0; margin-right: 2rem; margin-bottom: -1px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.auth-tab.active  { color: var(--terra); border-bottom-color: var(--terra); }
.auth-tab:hover:not(.active) { color: var(--charcoal); }

.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }

.auth-footer-links {
  margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--border-dark);
  display: flex; gap: 1.5rem;
}
.auth-footer-links a { font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.auth-footer-links a:hover { color: var(--terra); }

/* ═══════════════════════════════════════════════════════════════
   APP LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.app-body {
  flex: 1; display: flex; flex-direction: column;
}
.app-main {
  flex: 1;
  max-width: var(--content-max);
  width: 100%; margin: 0 auto;
  padding: var(--gap-lg) var(--gap-lg);
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--charcoal);
  margin-bottom: var(--gap-md);
}
.page-title em { font-style: italic; color: var(--terra); }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-1 { animation: fadeUp 0.6s ease both; animation-delay: 0.08s; }
.fade-up-2 { animation: fadeUp 0.6s ease both; animation-delay: 0.2s; }
.fade-up-3 { animation: fadeUp 0.6s ease both; animation-delay: 0.32s; }
.fade-up-4 { animation: fadeUp 0.6s ease both; animation-delay: 0.44s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-hero { min-height: 45vh; padding: 2.5rem 2rem; justify-content: flex-end; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: 1.5rem; }
  .login-auth { padding: 2.5rem 2rem; }
  .login-auth::before { left: 2rem; right: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .footer-app { padding: 1.5rem 1.5rem; }
  .header-app .logo {
    margin-left: -0.5rem;
  }
  .app-main { padding: var(--gap-md); }
}

@media (max-width: 600px) {
  .footer-app { flex-direction: column; align-items: flex-start; }
  .footer-app-links { gap: 1rem; }
}

/* ── AUTH ERRORS ────────────────────────────────────────────── */
.auth-error {
  background: var(--terra-pale);
  border: 1px solid rgba(184,92,56,0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--terra);
  line-height: 1.6;
}

.signout-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  background: var(--parchment);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.signout-btn:hover {
  background: var(--terra-pale);
  border-color: var(--terra);
  color: var(--terra);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE HEADER & MENU
   ═══════════════════════════════════════════════════════════════ */

/* Hamburger — hidden on desktop */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: var(--parchment);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 8px;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(14,26,17,0.5);
  backdrop-filter: blur(2px);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-menu-overlay.visible {
  display: block;
  opacity: 1;
}

/* Drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--cream);
  border-left: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  z-index: 160;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 1.5rem;
  background: var(--charcoal);
  position: relative;
}
.mobile-menu-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--terra), var(--sage));
}
.mobile-menu-stable {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--cream); margin-bottom: 2px;
}
.mobile-menu-user {
  font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.06em; color: rgba(253,250,245,0.5);
}
.mobile-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.1);
  border: none; border-radius: var(--radius);
  color: var(--cream); font-size: 1.2rem;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.2); }

/* Mobile nav items */
.mobile-nav {
  display: flex; flex-direction: column;
  padding: 0.8rem 0; flex: 1;
}
.mobile-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 1.5rem;
  font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.04em; color: var(--charcoal);
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mobile-nav-item:hover {
  background: var(--parchment);
  color: var(--charcoal);
}
.mobile-nav-item.active {
  border-left-color: var(--terra);
  background: var(--terra-pale);
  color: var(--terra);
  font-weight: 500;
}
.mobile-nav-icon {
  font-size: 1rem; width: 22px;
  text-align: center; flex-shrink: 0;
}

.mobile-nav-item i {
  font-size: 1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  color: inherit;
}

.mobile-menu-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border-dark);
}
.mobile-signout {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.mobile-signout:hover { color: var(--terra); }

/* Show hamburger on mobile, hide desktop nav */
@media (max-width: 1024px) {
  .header-nav    { display: none; }
  .hamburger-btn { display: flex; }
  .avatar-btn    { display: none; }
  .signout-btn   { display: none; }
}


/* ── SESSION WARNING ─────────────────────────────────────────── */
.session-warning {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  white-space: nowrap;
}
.session-warning a {
  color: var(--terra-lt);
  font-weight: 500;
  margin-left: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   Topline Grid System (Bootstrap-style, non-breaking)
   ═══════════════════════════════════════════════════════════════ */
/* Base 12-column grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-md);
  align-items: start;
}

/* Column spans */
.span-12 { grid-column: span 12; }
.span-11 { grid-column: span 11; }
.span-10 { grid-column: span 10; }
.span-9  { grid-column: span 9; }
.span-8  { grid-column: span 8; }
.span-7  { grid-column: span 7; }
.span-6  { grid-column: span 6; }
.span-5  { grid-column: span 5; }
.span-4  { grid-column: span 4; }
.span-3  { grid-column: span 3; }
.span-2  { grid-column: span 2; }
.span-1  { grid-column: span 1; }

/* Auto column (like col-auto) */
.col-auto {
  grid-column: auto;
}

/* Offsets */
.offset-1  { grid-column-start: 2; }
.offset-2  { grid-column-start: 3; }
.offset-3  { grid-column-start: 4; }
.offset-4  { grid-column-start: 5; }
.offset-5  { grid-column-start: 6; }

/* ═══════════════════════════════════════════════════════════════
   Responsive Breakpoints
   (match your existing style: 1024 / 768 / 480)
   ═══════════════════════════════════════════════════════════════ */

/* Large (≤1024px) */
@media (max-width: 1024px) {
  .span-lg-12 { grid-column: span 12; }
  .span-lg-8  { grid-column: span 8; }
  .span-lg-6  { grid-column: span 6; }
  .span-lg-4  { grid-column: span 4; }
}

/* Tablet (≤768px) */
@media (max-width: 768px) {
  .span-md-12 { grid-column: span 12; }
  .span-md-6  { grid-column: span 6; }
  .span-md-4  { grid-column: span 4; }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
  .span-sm-12 { grid-column: span 12; }
}

/*--- collapse content -- */
details {
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.notif-pip {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--terra);
  border: 1.5px solid var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700;
  color: var(--white); letter-spacing: 0;
  padding: 0 3px;
}
.notif-pip-hidden { display: none; }

.mobile-notif-count {
  margin-left: auto;
  background: var(--terra);
  color: var(--white);
  font-size: 0.6rem; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px 16px;
}

.announcement-item {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border, #eee);
}

.announcement-item:last-child {
  border-bottom: none;
}

.announcement-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.announcement-meta {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 6px;
}

.announcement-body {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER ADDITIONS — paste into styles.css after the
   existing "APP HEADER" section
   ═══════════════════════════════════════════════════════════════ */

/* ── WALLET PILL ─────────────────────────────────────────────── */
.wallet-pill {
  display: flex; align-items: center; gap: 0;
  height: 75px;
  background: var(--cream);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.2s;
  align-items: center;     /* Vertical alignment */
  justify-content: center;
;
}
.wallet-pill:hover { background: var(--sage-pale); }

.wallet-item {
  display: flex; align-items: center; gap: 6px;
  padding: 20px;
  font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.wallet-ribbons { color: var(--sage); }
.wallet-rosettes { color: var(--terra); }
.wallet-vouchers { color: #6A3B9A; }
.wallet-item i { font-size: 0.7rem; }

.wallet-divider {
  width: 1px; height: 18px;
  background: var(--border-dark);
  flex-shrink: 0;
}

/* ── DESKTOP DROPDOWN ────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.08em;
  color: var(--muted);
  background: none; border: none;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--charcoal);
  background: var(--sage-pale);
}
.nav-dropdown.active .nav-dropdown-trigger {
  color: var(--charcoal);
  font-weight: 500;
  background: var(--sage-pale);
}

.nav-chevron {
  font-size: 0.5rem;
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--cream);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 200;
  /* invisible padding bridges the gap so hover doesn't break */
  padding-top: 8px;
  margin-top: 0;
}
.nav-dropdown.open .nav-dropdown-panel {
  display: block;
}

/* small arrow pointer */
.nav-dropdown-panel::before {
  content: '';
  position: absolute; top: 3px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--cream);
  border-left: 1px solid var(--border-dark);
  border-top: 1px solid var(--border-dark);
}

.nav-dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  color: var(--charcoal);
  transition: background 0.15s;
  border-left: 3px solid transparent;
}
.nav-dropdown-item:hover {
  background: var(--parchment);
}
.nav-dropdown-item.active {
  border-left-color: var(--terra);
  background: var(--terra-pale);
}
.nav-dropdown-item i {
  font-size: 0.95rem;
  color: var(--muted);
  width: 18px; text-align: center; flex-shrink: 0;
}
.nav-dropdown-item.active i { color: var(--terra); }
.nav-dropdown-item span { display: flex; flex-direction: column; gap: 1px; }
.nav-dropdown-item strong { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; }
.nav-dropdown-item small { font-size: 0.6rem; font-weight: 300; color: var(--muted); }

/* ── MOBILE MENU HEADER — updated layout ────────────────────── */
.mobile-menu-identity {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1rem;
}
.mobile-avatar {
  width: 36px; height: 36px;
  background: var(--sage);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 600;
  color: var(--white); text-transform: uppercase;
  flex-shrink: 0;
}
.mobile-menu-meta { display: flex; flex-direction: column; gap: 2px; }

/* ── MOBILE WALLET ───────────────────────────────────────────── */
.mobile-wallet {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.25rem;
  transition: background 0.2s;
}
.mobile-wallet:hover { background: rgba(255,255,255,0.14); }

.mobile-wallet-item {
  flex: 1;
  display: flex; align-items: center; gap: 7px;
  padding: 9px 13px;
  font-size: 0.7rem;
}
.mobile-wallet-item:first-child {
  border-right: 1px solid rgba(255,255,255,0.1);
  color: var(--sage-lt);
}
.mobile-wallet-item:last-child { color: var(--terra-lt); }
.mobile-wallet-item i { font-size: 0.7rem; flex-shrink: 0; }
.mobile-wallet-label { font-size: 0.58rem; font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.mobile-wallet-value { font-size: 0.82rem; font-weight: 500; margin-left: auto; }

/* ── MOBILE NAV SECTIONS ─────────────────────────────────────── */
.mobile-nav-section {
  padding: 0.6rem 0 0.3rem;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav-section:last-child { border-bottom: none; }

.mobile-nav-label {
  display: block;
  padding: 0 1.5rem 0.4rem;
  font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}

/* sub-description line inside mobile nav items */
.mobile-nav-item { flex-wrap: wrap; }
.mobile-nav-text { flex: 1; }
.mobile-nav-sub {
  width: 100%;
  padding-left: 34px; /* icon width + gap */
  font-size: 0.62rem; font-weight: 300;
  color: var(--muted);
  margin-top: -2px;
  display: block;
}

/* notification badge (replaces old mobile-notif-count) */
.mobile-notif-badge {
  margin-left: auto;
  background: var(--terra);
  color: var(--white);
  font-size: 0.6rem; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ── MOBILE MENU OPEN STATE ──────────────────────────────────── */
.mobile-menu.open {
  transform: translateX(0);
}

/* keep body from scrolling when drawer is open */
body.menu-open { overflow: hidden; }

/* ── HIDE WALLET PILL BELOW 1024 ─────────────────────────────── */


/* ── HIDE MOBILE MENU/OVERLAY ON DESKTOP ─────────────────────── */
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-overlay,
  .hamburger-btn { display: none !important; }
}

/* ── NOTIFICATION DROPDOWN ───────────────────────────────────── */
.notif-dropdown {
  position: relative;
}

/* Make the existing notif-btn a proper button (not anchor) */
.notif-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  background: var(--parchment);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem;
  position: relative;
  overflow: visible;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
/* Re-declare pip here so it's scoped to the button context */
.notif-btn .notif-pip {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--terra);
  border: 2px solid var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700;
  color: var(--white); letter-spacing: 0;
  padding: 0 3px;
  pointer-events: none;
}
.notif-btn .notif-pip-hidden { display: none; }
.notif-btn:hover,
.notif-btn[aria-expanded="true"] {
  background: var(--sage-pale);
  color: var(--charcoal);
}

/* Panel */
.notif-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--cream);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
}
.notif-panel.open { display: flex; flex-direction: column; }

/* Arrow */
.notif-panel::before {
  content: '';
  position: absolute; top: -5px; right: 11px;
  width: 8px; height: 8px;
  background: var(--cream);
  border-left: 1px solid var(--border-dark);
  border-top: 1px solid var(--border-dark);
  transform: rotate(45deg);
}

.notif-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--border-dark);
}
.notif-panel-title {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--charcoal2);
}
.notif-panel-viewall {
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--sage);
  transition: color 0.15s;
}
.notif-panel-viewall:hover { color: var(--terra) !important; border: none !important; }

/* Body — scrollable list */
.notif-panel-body {
  max-height: 320px;
  overflow-y: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.notif-panel-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  color: var(--muted); font-size: 1.1rem;
}

.notif-panel-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.78rem; font-weight: 300;
  color: var(--muted);
}

/* Individual notification rows */
.notif-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.15s;
  position: relative;
  color: var(--charcoal);
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--parchment); }
.notif-item-read { opacity: 0.6; }

.notif-item-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--sage-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); font-size: 0.75rem;
  margin-top: 1px;
}
.notif-item-read .notif-item-icon { background: var(--parchment); color: var(--muted); }

.notif-item-content {
  display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0;
}
.notif-item-body {
  font-size: 0.75rem; font-weight: 400; line-height: 1.45;
  color: var(--charcoal);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-item-time {
  font-size: 0.62rem; font-weight: 300;
  color: var(--muted); letter-spacing: 0.03em;
}

/* Unread dot */
.notif-item-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0; margin-top: 6px;
}

/* Footer link */
.notif-panel-foot {
  border-top: 1px solid var(--border-dark);
  padding: 10px 16px;
}
.notif-panel-footlink {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 0.63rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}
.notif-panel-footlink:hover { color: var(--terra) !important; border: none !important; }

dt, dd {  font-family: 'Jost', sans-serif; font-size: 0.85rem !important;}

.select-sm {
  padding: .3rem .55rem;
  font-size: .8rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--parchment);
  color: var(--charcoal);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}

/* ── Modal base ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: var(--parchment, #f5f0e8);
  border-radius: var(--radius, 8px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
}

.modal-sm { max-width: 520px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, #e4ddd0);
}

.modal-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--charcoal, #2c2c24);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--charcoal-60, #888);
  line-height: 1;
  padding: 0 4px;
}
.modal-close:hover { color: var(--charcoal, #2c2c24); }

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border, #e4ddd0);
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.alert::before {
  font-family: "Font Awesome 7 Pro";
  font-weight: 900;
  font-size: .95rem;
}

.alert-success {
  background: #edf8f0;
  border-color: #b9dfc2;
  color: #256c3a;
}

.alert-success::before {
  font-family: "Font Awesome 7 Pro";
  content: "\f058"; /* circle-check */
  color: #2f8f4e;
  font-weight: 400;
}

.alert-error {
  background: #fff1f1;
  border-color: #e6b8b8;
  color: #8a2d2d;
}

.alert-error::before {
  content: "\f071"; /* triangle-exclamation */
  color: #c0392b;
}

.page-status-bar {
  width: 100%;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.page-status-bar i {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.bar-rehomed {
  background: rgba(58, 58, 58, 0.95);
  color: #f0e8da;
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
}
.bar-rehomed i { color: var(--parchment); }

.bar-pasture {
  background: #2a362c;
  color: #e8f0e9;
  border-bottom: 1px solid rgba(107, 143, 113, 0.25);
}
.bar-pasture i { color: #9cc4a0; }

/* ── Wallet chip ─────────────────────────────────────────────── */
.wallet-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--border-dark);
  text-decoration: none; color: var(--charcoal);
  font-size: 0.78rem; font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.wallet-chip:hover { background: var(--parchment); border-color: var(--terra); }
.wallet-chip.active { border-color: var(--terra); }
.wallet-chip-item { display: flex; align-items: center; gap: 4px; }
.wallet-chip-item i { font-size: 0.72rem; color: var(--terra); }
.wallet-chip-divider {
  width: 1px; height: 12px;
  background: var(--border-dark); margin: 0 2px;
}

@media (max-width: 1024px) {
  .wallet-chip { display: none; }
}
.forum-notice-banner {
    background: var(--sage);
    color: #fff;
    padding: .75rem 1.25rem;
}
.forum-notice-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.forum-notice-inner > i {
    font-size: 1.25rem;
    flex-shrink: 0;
}
.forum-notice-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    font-size: .85rem;
}
.forum-notice-text strong {
    font-size: .95rem;
}
.forum-notice-dismiss {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: .7;
    font-size: 1rem;
    padding: .25rem;
    flex-shrink: 0;
}
.forum-notice-dismiss:hover { opacity: 1; }

.forum-notice-btns {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

