/**
 * VMHS Guest Dashboard — signed-in account hub
 * Hero, stats tiles, sidebar nav, lists, notifications.
 */

.vmhs-public .guest-dashboard { padding-bottom: 2.5rem; }

/* ═══════════════════════════════════════════════════════════════════
   DASHBOARD HERO
═══════════════════════════════════════════════════════════════════ */
.vmhs-public .guest-dash-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.625rem 1.875rem;
  margin-bottom: 1.5rem;
  border-radius: var(--app-radius-2xl, 1.625rem);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(183,103,15,0.50), transparent 55%),
    linear-gradient(130deg, #14202b 0%, #243746 55%, #6b3f12 120%);
  color: #f1f5f9;
  box-shadow: var(--app-shadow-md);
}
.vmhs-public .guest-dash-hero__main {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  min-width: 0;
}
.vmhs-public .guest-dash-hero__avatar {
  flex-shrink: 0;
  width: 3.875rem; height: 3.875rem;
  border-radius: var(--app-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.28);
}
.vmhs-public .guest-dash-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.80;
  margin: 0 0 0.25rem;
  display: block;
}
.vmhs-public .guest-dash-hero__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.3rem;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.2;
}
.vmhs-public .guest-dash-hero__meta {
  font-size: 0.8125rem;
  opacity: 0.88;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  overflow-wrap: anywhere;
}
.vmhs-public .guest-dash-hero__sep { opacity: 0.45; }
.vmhs-public .guest-dash-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Compact variant (used in service dash) */
.vmhs-public .guest-dash-hero--compact {
  padding: 1.125rem 1.375rem;
  margin-bottom: 1.125rem;
}
.vmhs-public .guest-dash-hero--compact .guest-dash-hero__avatar {
  width: 3.125rem; height: 3.125rem;
  font-size: 1rem;
}
.vmhs-public .guest-dash-hero--compact .guest-dash-hero__title {
  font-size: clamp(1rem, 2.4vw, 1.375rem);
}

/* ═══════════════════════════════════════════════════════════════════
   STATS TILES
═══════════════════════════════════════════════════════════════════ */
.vmhs-public .guest-dash-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 576px) { .vmhs-public .guest-dash-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .vmhs-public .guest-dash-stats { grid-template-columns: repeat(4, 1fr); } }

.vmhs-public .guest-dash-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--app-radius-xl);
  background: var(--app-surface);
  border: 1.5px solid var(--app-border);
  box-shadow: var(--app-shadow-xs);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.vmhs-public .guest-dash-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--app-shadow-md);
  border-color: rgba(183,103,15,0.20);
  color: inherit;
}
.vmhs-public .guest-dash-stat__icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.375rem;
}
.vmhs-public .guest-dash-stat__icon--primary  { background: var(--app-primary-soft, #fff8f0); color: var(--app-primary); }
.vmhs-public .guest-dash-stat__icon--indigo   { background: var(--app-indigo-soft); color: var(--app-indigo); }
.vmhs-public .guest-dash-stat__icon--amber    { background: rgba(245,158,11,0.10); color: #d97706; }
.vmhs-public .guest-dash-stat__icon--emerald  { background: rgba(5,150,105,0.10);  color: #059669; }
.vmhs-public .guest-dash-stat__icon--slate    { background: rgba(71,85,105,0.09);  color: #475569; }

.vmhs-public .guest-dash-stat__value {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--app-text);
}
.vmhs-public .guest-dash-stat__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--app-text-secondary);
}
.vmhs-public .guest-dash-stat__hint,
.vmhs-public .guest-dash-stat__badge {
  font-size: 0.6875rem;
  color: var(--app-text-muted);
}
.vmhs-public .guest-dash-stat__badge { color: var(--app-primary); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR NAV
═══════════════════════════════════════════════════════════════════ */
.vmhs-public .guest-hub-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.vmhs-public .guest-hub-nav__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5625rem 0.875rem;
  border-radius: var(--app-radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--app-text-secondary);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.vmhs-public .guest-hub-nav__link:hover { background: var(--app-bg); color: var(--app-primary); }
.vmhs-public .guest-hub-nav__link.is-active {
  background: var(--app-primary-muted);
  color: var(--app-primary-strong);
  font-weight: 700;
}
.vmhs-public .guest-sign-out { margin: 0; width: 100%; }
.vmhs-public .guest-hub-nav__link--signout {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #9f1239;
  font: inherit;
}
.vmhs-public .guest-hub-nav__link--signout:hover { background: rgba(159,18,57,0.07); color: #9f1239; }

.vmhs-public .guest-dash-sidebar {
  position: sticky;
  top: calc(var(--app-header-h, 4rem) + 1rem);
}
@media (max-width: 991.98px) {
  .vmhs-public .guest-hub-nav { flex-direction: row; flex-wrap: wrap; }
  .vmhs-public .guest-dash-sidebar { position: static; }
}

/* ═══════════════════════════════════════════════════════════════════
   QUICK ACTION CARDS
═══════════════════════════════════════════════════════════════════ */
.vmhs-public .guest-dash-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.125rem;
  height: 100%;
  border-radius: var(--app-radius-xl);
  border: 1.5px solid var(--app-border);
  background: var(--app-surface);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.vmhs-public .guest-dash-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--app-shadow-md);
  border-color: rgba(183,103,15,0.18);
  color: inherit;
}
.vmhs-public .guest-dash-action-card__icon {
  width: 2.625rem; height: 2.625rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.vmhs-public .guest-dash-action-card--primary .guest-dash-action-card__icon { background: var(--app-primary-soft); color: var(--app-primary); }
.vmhs-public .guest-dash-action-card--indigo  .guest-dash-action-card__icon { background: var(--app-indigo-soft); color: var(--app-indigo); }
.vmhs-public .guest-dash-action-card--amber   .guest-dash-action-card__icon { background: rgba(245,158,11,0.10); color: #d97706; }
.vmhs-public .guest-dash-action-card--emerald .guest-dash-action-card__icon { background: rgba(5,150,105,0.10); color: #059669; }
.vmhs-public .guest-dash-action-card--slate   .guest-dash-action-card__icon { background: rgba(71,85,105,0.09); color: #475569; }
.vmhs-public .guest-dash-action-card__title { font-size: 0.9375rem; font-weight: 700; color: var(--app-text); }
.vmhs-public .guest-dash-action-card__desc  { font-size: 0.75rem; color: var(--app-text-muted); line-height: 1.4; }

/* Dashed quick-action cell */
.vmhs-public .guest-dash-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.875rem;
  border-radius: var(--app-radius);
  border: 1.5px dashed var(--app-border);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--app-text-secondary);
  transition: border-color 0.15s, background 0.15s;
}
.vmhs-public .guest-dash-action:hover {
  border-color: var(--app-primary);
  background: var(--app-primary-muted);
  color: var(--app-primary-strong);
}
.vmhs-public .guest-dash-action i { font-size: 1.25rem; }

/* ═══════════════════════════════════════════════════════════════════
   RECORD LIST
═══════════════════════════════════════════════════════════════════ */
.vmhs-public .guest-dash-list { list-style: none; margin: 0; padding: 0; }
.vmhs-public .guest-dash-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--app-border-light);
  transition: background 0.10s;
}
.vmhs-public .guest-dash-list__item:last-child { border-bottom: none; }
.vmhs-public .guest-dash-list__link {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.vmhs-public .guest-dash-list__link:hover .guest-dash-list__title { color: var(--app-primary); }
.vmhs-public .guest-dash-list__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  transition: color 0.12s;
}
.vmhs-public .guest-dash-list__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--app-text-muted);
}
.vmhs-public .guest-dash-list__meta code { font-size: 0.6875rem; }
.vmhs-public .guest-dash-list__empty {
  padding: 1.75rem 1rem;
  text-align: center;
  color: var(--app-text-muted);
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════════════════════════
   NOTIFICATIONS
═══════════════════════════════════════════════════════════════════ */
.vmhs-public .guest-dash-notification {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--app-border-light);
}
.vmhs-public .guest-dash-notification:last-child { border-bottom: none; }
.vmhs-public .guest-dash-notification.is-unread {
  padding-left: 0.75rem;
  border-left: 3px solid var(--app-primary);
}
.vmhs-public .guest-dash-notification__time {
  font-size: 0.6875rem;
  color: var(--app-text-muted);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════════════════════════════ */
.vmhs-county-timeline__item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--app-border-light);
}
.vmhs-county-timeline__item:last-child { border-bottom: none; }
.vmhs-county-timeline__icon {
  width: 2rem; height: 2rem;
  border-radius: var(--app-radius-full);
  display: grid; place-items: center;
  background: var(--app-bg-subtle);
  color: var(--app-primary);
  flex-shrink: 0;
}
.vmhs-county-timeline__title { font-weight: 600; font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════════════
   CARD HEADER
═══════════════════════════════════════════════════════════════════ */
.vmhs-public .app-card__header { background: var(--app-bg-subtle); }
