@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Business Blue Executive Palette */
  --bg-primary: #F4F6F9;     /* Ice Blue / Cool Light Gray */
  --bg-secondary: #FFFFFF;   /* Pure White Card Background */
  --bg-tertiary: #E9EDF2;    /* Soft Light Blue Contrast */
  
  --text-primary: #0F172A;   /* Deep Slate Blue / Dark Charcoal */
  --text-secondary: #334155; /* Muted Slate Blue */
  --text-light: #64748B;     /* Light Slate Gray */
  
  --color-primary: #1E3A8A;   /* Corporate Navy Blue */
  --color-primary-light: #EFF6FF; /* Very Light Blue Tint */
  --color-secondary: #3B82F6; /* Classic Royal Blue */
  --color-accent: #D97706;    /* Muted Executive Amber/Gold */
  --color-accent-light: #FFFBEB; /* Light Amber Background Tint */
  
  --border-color: #CBD5E1;
  --border-color-light: #E2E8F0;
  
  /* Role Colors for Visualization (Business Palette) */
  --color-dpm: #DC2626;         /* Crimson Red for high authority */
  --color-min: #EA580C;         /* Orange Ochre */
  --color-central: #0D9488;     /* Teal */
  --color-province: #059669;    /* Emerald Green */
  --color-chamber: #2563EB;     /* Royal Blue */
  --color-yec: #7C3AED;         /* Deep Purple */
  --color-civil: #475569;       /* Muted Steel Slate */
  --color-sec: #DB2777;         /* Deep Rose Pink */

  --shadow-sm: 0 2px 4px rgba(30, 58, 138, 0.04);
  --shadow-md: 0 8px 16px rgba(30, 58, 138, 0.06);
  --shadow-lg: 0 16px 32px rgba(30, 58, 138, 0.08);
  
  --font-main: 'Sarabun', 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden; /* Control view through slides */
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation UI */
.app-header {
  height: 70px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 10;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(56, 94, 72, 0.2);
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  border-left: 1.5px solid var(--border-color);
  padding-left: 15px;
  font-weight: 400;
}

.presentation-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.progress-bar-container {
  flex: 1;
  max-width: 400px;
  height: 6px;
  background-color: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 20px;
}

.progress-bar-fill {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-counter {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  min-width: 50px;
  text-align: center;
}

.nav-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.nav-btn:active {
  transform: translateY(0);
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  border-color: var(--border-color);
  color: var(--text-light);
}

/* Presentation Canvas & Slide Transition */
.presentation-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.98) translateY(10px);
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Decorative ambient background */
.ambient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.blob-1 {
  width: 600px;
  height: 600px;
  background-color: var(--color-secondary);
  top: -200px;
  left: -200px;
  animation: float 25s infinite ease-in-out alternate;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background-color: var(--color-accent);
  bottom: -150px;
  right: -100px;
  animation: float 20s infinite ease-in-out alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.05); }
  100% { transform: translate(-30px, -50px) scale(0.95); }
}

/* Slide Typography & Layout components */
.slide-header {
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}

.slide-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 8px;
  display: inline-block;
}

.slide-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.slide-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 5px;
  font-weight: 400;
}

.slide-content {
  flex: 1;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

/* Specific Slide Layout styles */
/* Cover Slide */
.slide-cover {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
}

.cover-badge {
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.8s ease-out;
}

.cover-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  animation: fadeInUp 1s ease-out;
}

.cover-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 1.2s ease-out;
}

.cover-footer {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: space-around;
  animation: fadeInUp 1.4s ease-out;
}

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

/* Cards & Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-primary);
  opacity: 0;
  transition: var(--transition-fast);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.card-body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Bullet list design */
.bullet-list {
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 5px;
  top: -2px;
  color: var(--color-accent);
  font-size: 24px;
}

/* Timeline Layout */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 60px 0;
  padding: 0 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  height: 4px;
  background-color: var(--bg-tertiary);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 30px;
  left: 40px;
  width: 0%;
  height: 4px;
  background-color: var(--color-primary);
  z-index: 2;
  transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  width: 250px;
}

.timeline-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 4px solid var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-step.active .timeline-node {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 8px var(--color-primary-light);
}

.timeline-title {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-date {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 5px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.4;
  padding: 0 10px;
}

/* Workshop 1 Provincial Grid */
.prov-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.prov-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.prov-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.prov-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.prov-date {
  font-size: 13px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.prov-format {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Interactive Dot Visualization Slide Styling */
.viz-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  flex: 1;
  min-height: 0; /* Important for scroll container behavior */
}

.viz-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.viz-title-mini {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 12px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.viz-btn {
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.viz-btn:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.viz-btn.active {
  background: var(--color-primary);
  color: white;
}

.legend-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--border-color-light);
  padding-top: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.legend-item:hover {
  background-color: var(--bg-primary);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 12px;
}

.viz-canvas-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 450px;
}

.viz-svg {
  width: 100%;
  height: 100%;
  flex: 1;
}

.viz-svg circle {
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.3, 1),
              fill 0.6s ease,
              r 0.3s ease;
  cursor: pointer;
}

.viz-svg circle:hover {
  stroke: rgba(0, 0, 0, 0.2);
  stroke-width: 2px;
  r: 10px;
}

/* SVG Text labels */
.group-label {
  font-family: var(--font-main);
  font-weight: 700;
  fill: var(--color-primary);
  font-size: 14px;
  text-anchor: middle;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.group-count {
  font-family: var(--font-main);
  font-weight: 600;
  fill: var(--text-light);
  font-size: 12px;
  text-anchor: middle;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.group-label.show, .group-count.show {
  opacity: 1;
}

/* Tooltip */
.tooltip {
  position: absolute;
  background: rgba(28, 45, 36, 0.95);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  max-width: 240px;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.1);
}

.tooltip-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
}

.tooltip-role {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 4px;
}

/* Agenda list for slide 5 and 8 */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.agenda-item {
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 12px;
  padding: 14px 18px;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.agenda-item:hover {
  transform: translateX(5px);
  border-color: var(--color-secondary);
}

.agenda-time {
  width: 90px;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 5px 10px;
  border-radius: 6px;
  text-align: center;
  flex-shrink: 0;
}

.agenda-details {
  flex: 1;
}

.agenda-item-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
  margin-bottom: 2px;
}

.agenda-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Grid Layout for Presentation of Governors */
.framework-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.framework-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-step {
  display: flex;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 12px;
  padding: 15px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.f-step-num {
  width: 28px;
  height: 28px;
  background: var(--color-primary-light);
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.f-step-content {
  flex: 1;
}

.f-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
}

.f-step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Slide 3 Layout Custom Seating Map */
.seating-map-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.seating-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.u-seating {
  width: 90%;
  max-width: 420px;
  height: 180px;
  border: 12px solid var(--bg-tertiary);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  position: relative;
  margin: 15px 0 30px 0;
  display: flex;
  justify-content: center;
}

.u-seating-inner {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  height: 100%;
  border: 12px solid var(--color-primary-light);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
}

.seat-label {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.seat-nrm {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  z-index: 10;
}

.seat-row-outer {
  position: absolute;
  font-size: 9px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.outer-left {
  top: 40%;
  left: -40px;
  transform: rotate(-90deg);
}

.outer-right {
  top: 40%;
  right: -40px;
  transform: rotate(90deg);
}

.inner-left {
  top: 45%;
  left: 5px;
  transform: rotate(-90deg);
}

.inner-right {
  top: 45%;
  right: 5px;
  transform: rotate(90deg);
}

.podium {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 30px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Responsive Footer */
.app-footer {
  height: 45px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color-light);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  z-index: 10;
}

.keyboard-hints {
  display: flex;
  gap: 15px;
}

.key-badge {
  background: var(--bg-tertiary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

/* Summary Grid mockup table */
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}

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

.summary-table th {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
}

.summary-table tr:last-child td {
  border-bottom: none;
}

.summary-table td strong {
  color: var(--color-primary);
}

.badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
}

.badge-quickwin {
  background-color: rgba(210, 159, 79, 0.15);
  color: var(--color-accent);
}

.badge-longterm {
  background-color: rgba(56, 94, 72, 0.1);
  color: var(--color-primary);
}

/* Toggle Buttons for Group view */
.toggle-group {
  display: flex;
  background: var(--bg-tertiary);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-color-light);
}

.toggle-btn {
  flex: 1;
  text-align: center;
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
  font-family: var(--font-main);
}

.toggle-btn.active {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Animations for Dots Stats card */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-color-light);
  padding-top: 15px;
}

.stat-card {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Soft transition for elements inside slides */
.slide-content > * {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
