/* ===================================================================
   A/CAPA Live! - Conference Attendee Web Application
   Brand Colors: Deep Navy Blue (#1E3A8A) & Apple Red (#DC2626)
   Tagline: Schedule. Attend. Evaluate.
   Mobile-First Responsive Stylesheet
   =================================================================== */

:root {
  /* Brand Primary Colors */
  --navy-950: #0a1128;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #1e3a8a; /* Primary Deep Navy */
  --navy-600: #2563eb;
  --navy-500: #3b82f6;
  --navy-100: #dbeafe;
  --navy-50:  #eff6ff;

  --red-900:  #7f1d1d;
  --red-700:  #b91c1c;
  --red-600:  #dc2626; /* Primary Apple Red */
  --red-500:  #ef4444;
  --red-100:  #fee2e2;
  --red-50:   #fef2f2;

  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-100: #fef3c7;
  --gold-50:  #fffbeb;

  --emerald-600: #059669;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  /* Neutral Slate Palette */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #1e3a8a;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout & Elevations */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  --header-height: 72px;
  --bottom-nav-height: 64px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-nav-height) + 20px);
  overflow-x: hidden;
  max-width: 100vw;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 30px;
  }
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  color: var(--navy-950);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===================================================================
   Header & Brand Banner
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-700) 100%);
  color: #ffffff;
  border-bottom: 3px solid var(--red-600);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-badge {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  padding: 3px;
  text-decoration: none;
}

.brand-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-icon-badge .live-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border: 2px solid var(--navy-950);
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

.brand-logo-badge {
  background: var(--red-600);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.4);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-logo-badge .live-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fca5a5; /* Soft light red/pink */
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.header-btn .badge-pill {
  background: var(--red-600);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.desktop-only {
  display: inline;
}

.mobile-only-inline {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only-inline {
    display: inline !important;
  }
}

/* ===================================================================
   Responsive Mobile Header Styles
   Prevents horizontal scrolling and deduplicates with bottom navigation
   =================================================================== */
@media (max-width: 768px) {
  .site-header {
    overflow-x: hidden;
  }

  .header-inner {
    padding: 10px 12px;
    gap: 6px;
    overflow-x: hidden;
  }

  .brand-wrapper {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-icon-badge {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .brand-tagline {
    display: none !important;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  /* Hide Evaluations and Rooms in mobile header: both are in bottom nav as "Evaluate" & "Venue" */
  #eval-hub-trigger,
  #venue-guide-trigger {
    display: none !important;
  }

  /* Compact connection indicator */
  .cloud-status-pill {
    padding: 6px 8px;
    border-radius: var(--radius-full);
  }
  .cloud-status-pill .cloud-status-text {
    display: none !important;
  }

  /* Compact button styling on mobile */
  .header-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }

  #pwa-install-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  #attendee-profile-trigger {
    padding: 6px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  #profile-name-badge {
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
  }
}

@media (max-width: 380px) {
  .header-inner {
    padding: 8px 8px;
    gap: 4px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-icon-badge {
    width: 32px;
    height: 32px;
  }

  .header-btn,
  #pwa-install-btn,
  #attendee-profile-trigger {
    padding: 5px 7px;
    font-size: 0.74rem;
  }

  #profile-name-badge {
    max-width: 50px;
  }
}

/* ===================================================================
   Conference Info Hero Strip
   =================================================================== */
.hero-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 0.85rem;
}

.hero-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.conference-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.hero-brand-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.hero-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-item strong {
  color: var(--navy-900);
}

.meta-item svg {
  color: var(--navy-700);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-800);
}

.stat-chip.act48 {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid var(--emerald-100);
}

/* ===================================================================
   Sticky Filter Controls Bar
   =================================================================== */
.controls-bar {
  background: #ffffff;
  padding: 14px 0 8px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 60px;
  z-index: 90;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Day Tabs */
.day-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.day-tabs::-webkit-scrollbar {
  display: none;
}

.day-tab-btn {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
  min-width: 96px;
  text-align: center;
}

.day-tab-btn .tab-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.day-tab-btn:hover {
  background: #e2e8f0;
  color: var(--navy-900);
}

.day-tab-btn.active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.35);
}

.day-tab-btn.tab-schedule {
  background: #fff;
  border-color: var(--red-600);
  color: var(--red-600);
}

.day-tab-btn.tab-schedule.active {
  background: var(--red-600);
  border-color: var(--red-600);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

.day-tab-btn .tab-badge {
  display: inline-block;
  background: var(--red-600);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.day-tab-btn.active .tab-badge {
  background: #ffffff;
  color: var(--navy-700);
}

.day-tab-btn.tab-schedule.active .tab-badge {
  background: #ffffff;
  color: var(--red-600);
}

/* Search & Filter Row */
.search-filter-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .search-filter-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 600px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 42px;
  padding: 8px 36px 8px 38px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 4px 6px;
  display: none;
}

.search-clear-btn.visible {
  display: block;
}

.search-clear-btn:hover {
  color: var(--red-600);
}

/* Secondary Filter Pills & Quick Toggles */
.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.filter-pills-row::-webkit-scrollbar {
  display: none;
}

.filter-pill-select {
  height: 36px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-900);
  cursor: pointer;
  outline: none;
}

.filter-pill-select:focus {
  border-color: var(--navy-700);
}

.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-toggle-btn:hover {
  background: #e2e8f0;
  color: var(--navy-900);
}

.filter-toggle-btn.active {
  background: var(--navy-100);
  border-color: var(--navy-600);
  color: var(--navy-700);
}

.filter-toggle-btn.active.conflict {
  background: var(--red-50);
  border-color: var(--red-600);
  color: var(--red-600);
}

.clear-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--red-600);
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
}

.clear-filters-btn:hover {
  text-decoration: underline;
}

/* Active Filter Summary */
.results-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.results-summary-strip strong {
  color: var(--navy-900);
}

/* ===================================================================
   Main Content & Agenda Views
   =================================================================== */
.main-content {
  flex: 1;
  padding: 16px 0 32px 0;
}

/* My Schedule Action Header */
.schedule-actions-bar {
  background: linear-gradient(135deg, #ffffff 0%, var(--navy-50) 100%);
  border: 1px solid var(--navy-100);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .schedule-actions-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.schedule-header-text h2 {
  font-size: 1.15rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-header-text p {
  font-size: 0.85rem;
  margin-top: 2px;
}

.schedule-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy-700);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.25);
}

.btn-primary:hover {
  background: var(--navy-600);
  transform: translateY(-1px);
}

.btn-red {
  background: var(--red-600);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.25);
}

.btn-red:hover {
  background: var(--red-700);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--navy-800);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--navy-700);
  color: var(--navy-700);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
}

/* Time Block Header */
.time-block-section {
  margin-bottom: 24px;
}

.time-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border-color);
}

.time-block-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.time-block-day {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.time-block-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===================================================================
   Session Cards Grid & Styles
   =================================================================== */
.sessions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .sessions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .sessions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.session-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.session-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.session-card.in-schedule {
  border-color: var(--navy-500);
  box-shadow: 0 0 0 1.5px var(--navy-500), var(--shadow-sm);
}

.session-card.in-schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--navy-700);
}

.session-card.has-conflict {
  border-color: var(--red-500);
  background: #fffafa;
}

/* Session Top Badges */
.session-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.badge-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.id-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.track-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Track Color Palettes */
.track-child-accounting {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.track-pims-reporting {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.track-legal-policy {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.track-special-education {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.track-technology-ai {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

.track-student-services {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.track-governance {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.status-badges {
  display: flex;
  align-items: center;
  gap: 4px;
}

.eval-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid var(--gold-100);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Card Body */
.session-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.35;
  margin-bottom: 8px;
}

.session-meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 0.82rem;
}

@media (min-width: 480px) {
  .session-meta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}

.meta-pill svg {
  color: var(--navy-600);
  flex-shrink: 0;
}

.meta-pill.speaker {
  color: var(--navy-900);
  font-weight: 600;
}

.meta-pill.location {
  color: var(--navy-800);
}

/* Conflict Alert in Card */
.card-conflict-warning {
  background: var(--red-50);
  border: 1px solid var(--red-100);
  color: var(--red-700);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.card-conflict-warning svg {
  color: var(--red-600);
  flex-shrink: 0;
  margin-top: 1px;
}

.session-description {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 14px;
}

/* Card Actions */
.session-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.btn-schedule-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--navy-900);
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}

.btn-schedule-toggle:hover {
  background: #e2e8f0;
}

.btn-schedule-toggle.in-schedule {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.25);
}

.btn-schedule-toggle.in-schedule:hover {
  background: var(--red-600);
  border-color: var(--red-600);
}

.btn-schedule-toggle.in-schedule:hover .btn-label::after {
  content: " (Remove)";
}

.btn-feedback-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--navy-800);
  transition: all 0.2s ease;
}

.btn-feedback-trigger:hover {
  background: var(--gold-50);
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.btn-feedback-trigger.evaluated {
  background: var(--gold-50);
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.card-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.card-icon-btn:hover {
  background: #ffffff;
  border-color: var(--navy-700);
  color: var(--navy-700);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-50);
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 0.9rem;
  max-width: 420px;
  margin: 0 auto 16px auto;
}

/* ===================================================================
   Modals & Drawers
   =================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  max-height: 90dvh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 640px) {
  .modal-backdrop {
    align-items: flex-start; /* Move modal window higher up on mobile screen */
    justify-content: center;
    padding: 12px;
    padding-top: max(14px, env(safe-area-inset-top, 14px));
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 85px); /* Generous buffer above mobile browser bar */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-container {
    max-height: min(76vh, calc(100dvh - env(safe-area-inset-bottom, 0px) - 100px));
    margin: 4px auto 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)) 16px;
  }

  .modal-footer .btn,
  #gate-submit-btn {
    min-height: 48px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.2);
  }
}

.modal-backdrop.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-700) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--red-600);
  flex-shrink: 0;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  color: rgba(255, 255, 255, 0.7);
  padding: 6px;
  border-radius: var(--radius-full);
  display: inline-flex;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* Modal Form Flex: ensures .modal-body scrolls and .modal-footer stays pinned in view */
.modal-container form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

/* Modal Session Brief Header */
.modal-session-brief {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.modal-session-brief .brief-id {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-700);
}

.modal-session-brief .brief-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  margin: 2px 0 6px 0;
}

.modal-session-brief .brief-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Form Groups */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--red-600);
}

/* Interactive Star Rating */
.star-rating-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.star-rating-buttons {
  display: inline-flex;
  gap: 4px;
}

.star-btn {
  font-size: 1.8rem;
  color: #cbd5e1;
  background: none;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.15s, transform 0.1s;
}

.star-btn:hover {
  transform: scale(1.15);
}

.star-btn.active,
.star-btn.hovered {
  color: var(--gold-500);
}

.star-rating-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-left: 8px;
}

/* Segmented / Radio Option Buttons */
.radio-pill-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.radio-pill-option {
  position: relative;
}

.radio-pill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-pill-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9px 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.radio-pill-option input[type="radio"]:checked + label {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

.radio-pill-option:hover label {
  background: #e2e8f0;
  color: var(--navy-900);
}

/* Textarea Comments */
.form-textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-main);
  resize: vertical;
  transition: border-color 0.2s;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.modal-footer {
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* ===================================================================
   Evaluations Summary & CEU Hub
   =================================================================== */
.eval-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.eval-stat-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.eval-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-700);
}

.eval-stat-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.eval-list-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
  background: #ffffff;
}

.eval-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.eval-list-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
}

.eval-list-comments {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  font-style: italic;
}

/* ===================================================================
   Toast Notification System
   =================================================================== */
.toast-container {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
}

@media (min-width: 1024px) {
  .toast-container {
    bottom: 24px;
    right: 24px;
    left: auto;
    transform: none;
  }
}

.toast {
  background: var(--navy-950);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--red-600);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: auto;
  animation: slide-toast 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success {
  border-left-color: var(--emerald-600);
}

.toast.warning {
  border-left-color: var(--gold-500);
}

@keyframes slide-toast {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===================================================================
   Mobile Bottom Navigation Bar
   =================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-nav-height);
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  position: relative;
  width: 20%;
  height: 100%;
  transition: color 0.15s ease;
}

.nav-item svg {
  width: 20px;
  height: 20px;
}

.nav-item.active {
  color: var(--navy-700);
}

.nav-item .nav-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  background: var(--red-600);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================================
   Venue Guide & Info Modal
   =================================================================== */
.venue-room-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
  background: var(--bg-subtle);
}

.venue-room-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.venue-room-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================================================================
   Print Stylesheet (For Pocket / Act 48 Itinerary)
   =================================================================== */
@media print {
  body {
    background: #ffffff;
    color: #000000;
    padding: 0;
  }

  .site-header,
  .controls-bar,
  .bottom-nav,
  .toast-container,
  .session-card-actions,
  .schedule-btn-group,
  .search-filter-row {
    display: none !important;
  }

  .print-only-header {
    display: block !important;
    margin-bottom: 20px;
    border-bottom: 2px solid #000000;
    padding-bottom: 12px;
  }

  .print-header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
  }

  .print-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
  }

  .print-only-header h1 {
    font-size: 1.4rem;
    color: #000000;
    margin: 0 0 4px 0;
  }

  .session-card {
    box-shadow: none !important;
    border: 1px solid #cccccc !important;
    page-break-inside: avoid;
    margin-bottom: 12px;
  }

  .sessions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===================================================================
   Cloud Status & Live Announcements
   =================================================================== */
.cloud-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}

.cloud-status-pill.online {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cloud-status-pill.offline {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.status-dot.offline {
  background: #f59e0b;
}

.announcement-banner {
  background: #fffbeb;
  border-bottom: 2px solid #f59e0b;
  color: #92400e;
  padding: 10px 16px;
  font-size: 0.88rem;
  position: relative;
  z-index: 90;
  animation: slideDown 0.3s ease;
}

.announcement-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-content.room-change {
  background: #fef2f2;
  color: #991b1b;
  border-color: #ef4444;
}

.announcement-icon {
  font-size: 1.1rem;
}

.announcement-text {
  flex: 1;
}

.announcement-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

.announcement-close:hover {
  opacity: 1;
}

.admin-link {
  background: rgba(220, 38, 38, 0.1) !important;
  color: var(--red-600) !important;
  border: 1px solid rgba(220, 38, 38, 0.25) !important;
}

.admin-link:hover {
  background: var(--red-600) !important;
  color: #ffffff !important;
}

/* ===================================================================
   Admin Header & Return Navigation Styles
   Prevents overlapping, ensures safe touch target for Attendee App return
   =================================================================== */
.admin-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.admin-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.admin-brand-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.admin-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.admin-return-btn {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.admin-return-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px);
}

.admin-return-text {
  display: inline;
}

@media (max-width: 768px) {
  .admin-brand-prefix {
    display: none !important;
  }

  .admin-brand-name {
    font-size: 0.98rem;
  }

  .admin-header-inner {
    padding: 8px 10px;
    gap: 8px;
  }

  .admin-return-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .admin-return-text {
    display: inline !important; /* Always show label so attendee can easily navigate back */
  }

  #admin-user-pill {
    padding: 4px 8px !important;
    gap: 4px !important;
  }
}

@media (max-width: 480px) {
  .admin-brand-name {
    font-size: 0.9rem;
  }

  .admin-header-actions {
    gap: 5px;
  }

  .admin-return-btn {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .admin-return-text {
    font-size: 0.78rem;
  }
}

/* ===================================================================
   Admin Analytics Dashboard Styles
   =================================================================== */
.admin-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  padding: 24px 0;
  border-bottom: 3px solid var(--red-600);
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.admin-kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.admin-kpi-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
}

.admin-kpi-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.admin-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 900px) {
  .admin-grid-2col {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.admin-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-panel-header {
  padding: 14px 18px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-panel-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-table tr:hover td {
  background: var(--navy-50);
}

.btn-icon-edit {
  background: var(--navy-50);
  border: 1px solid var(--navy-200);
  color: var(--navy-700);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-icon-edit:hover {
  background: var(--navy-700);
  color: #ffffff;
}

/* ===================================================================
   Site Footer (A/CAPA Live! - Copyright The Forsyth Group LLC)
   =================================================================== */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 44px 0 calc(var(--bottom-nav-height) + 36px) 0;
  border-top: 3px solid var(--red-600);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 44px;
  }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand .footer-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand .brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.footer-brand .footer-tagline {
  font-size: 0.82rem;
  color: var(--gold-500);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.footer-links-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: 0.2px;
}

.footer-address {
  font-style: normal;
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.legal-trigger {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
  cursor: pointer;
  font-size: 0.85rem;
}

.footer-links a:hover,
.legal-trigger:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom .copyright {
  color: #94a3b8;
  margin: 0;
}

.footer-bottom .copyright strong {
  color: #ffffff;
}

.footer-bottom .legal-subtext {
  margin: 0;
  font-size: 0.78rem;
}

/* ===================================================================
   Legal & Compliance Modal Styles
   =================================================================== */
.legal-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 16px;
  overflow-x: auto;
}

.legal-tab-btn {
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.legal-tab-btn:hover {
  color: var(--navy-900);
}

.legal-tab-btn.active {
  color: var(--navy-900);
  border-bottom-color: var(--navy-900);
}

.legal-doc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-color);
}

.legal-doc h4 {
  font-size: 0.98rem;
  color: var(--navy-900);
  margin: 16px 0 6px 0;
  font-weight: 700;
}

.legal-doc h4:first-child {
  margin-top: 0;
}

.legal-doc p {
  margin: 0 0 10px 0;
}

.legal-doc ul, .legal-doc ol {
  margin: 0 0 12px 0;
  padding-left: 20px;
}

.legal-doc li {
  margin-bottom: 4px;
}

.legal-callout {
  background: var(--navy-50);
  border-left: 4px solid var(--navy-700);
  padding: 10px 14px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 14px;
  font-size: 0.84rem;
}

