:root {
  --primary-color: #3b82f6;
  /* Blue */
  --primary-dark: #2563eb;
  /* Darker blue */
  --primary-light: #60a5fa;
  /* Lighter blue */
  --secondary-color: #64748b;
  /* Grey */
  --secondary-dark: #475569;
  /* Darker grey */
  --secondary-light: #94a3b8;
  /* Lighter grey */
  --background-color: #ffffff;
  /* White */
  --text-color: #334155;
  /* Dark grey for text */
  --heading-color: #1e3a8a;
  /* Dark blue for headings */
  --accent-color: #3b82f6;
  /* Blue accent */
  --completed-color: #64748b;
  /* Grey */
  --future-color: #e2e8f0;
  /* Light grey */

  /* Code syntax highlighting colors - adjusted for blue theme */
  --code-bg: #1e293b;
  /* Dark blue-grey */
  --code-text: #e2e8f0;
  /* Light grey */
  --code-comment: #94a3b8;
  /* Medium grey */
  --code-keyword: #93c5fd;
  /* Light blue */
  --code-function: #60a5fa;
  /* Blue */
  --code-string: #a5b4fc;
  /* Indigo */
  --code-number: #f9a8d4;
  /* Pink */
  --code-operator: #7dd3fc;
  /* Light blue */
  --code-class: #fcd34d;
  /* Yellow */
  --code-variable: #f87171;
  /* Red */
  --code-property: #fdba74;
  /* Gold */
  --code-constant: #fca5a5;
  /* Orange */
  --code-punctuation: #cbd5e1;
  /* Grey */
  --code-decorator: #60a5fa;
  /* Blue */
  --code-line-number: #475569;
  /* Dark grey */
  --code-line-highlight: rgba(255, 255, 255, 0.07);
  /* Subtle highlight */
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: var(--background-color);
  font-family: "Inter", sans-serif;
  color: var(--text-color);
}

/* Reset and force full size for the presentation container */
.reveal {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  /* Use vh unit for full viewport height */
  max-width: 100vw !important;
  max-height: 100vh !important;
  /* Use vh unit for full viewport height */
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Force full size for slides container */
.reveal .slides {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  /* Ensure slides container also takes full height */
  max-width: 100vw !important;
  max-height: 100vh !important;
  /* Ensure slides container also takes full height */
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Force full size for individual slides */
.reveal .slides > section {
  position: absolute !important;
  width: 100% !important;
  height: 100vh !important;
  /* Use vh unit for full viewport height */
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  /* Changed from flex-start to center */
}

.reveal h1,
.reveal h2,
.reveal h3 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.6em;
  font-family: "Inter", sans-serif;
}

.reveal h1 {
  font-size: 2.2em;
}

.reveal h2 {
  font-size: 1.6em;
}

.reveal h3 {
  font-size: 1.3em;
}

.reveal ul {
  margin-top: 0.8em;
}

.reveal li {
  margin-bottom: 0.4em;
}

/* Logo styling */
.logo-container {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  img {
    padding-right: 10px;
  }
  .item-logo-img {
    height: 30px;
  }
  .ihk-logo-img {
    height: 30px;
  }
}

.slide-group-start .slide-title-badge {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.slide-group-strategic .slide-title-badge {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.slide-group-organisation .slide-title-badge {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.slide-group-implementation .slide-title-badge {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.slide-group-result .slide-title-badge {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.slide-landscape {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

.slide-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.slide-title-badge {
  display: inline-block;
  /* background: linear-gradient(135deg, #3b82f6, #60a5fa); */
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 15px;
  position: relative;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.slide-title-badge-corners {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.slide-title-badge-corners span {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.slide-title-badge-corners span:nth-child(1) {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.slide-title-badge-corners span:nth-child(2) {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

.slide-title-badge-corners span:nth-child(3) {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

.slide-title-badge-corners span:nth-child(4) {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.slide-title-main-title {
  font-size: 2.6em;
  margin-bottom: 15px;
  color: var(--heading-color, #1e3a8a);
}

.slide-title-main-title-highlight {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.slide-title-subtitle {
  font-size: 1.2em;
  color: var(--secondary-color, #64748b);
  margin-bottom: 15px;
  font-weight: 300;
  display: none;
}

.slide-title-underline {
  width: 180px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color, #3b82f6),
    transparent
  );
  margin: 8px auto 15px;
}

.slide-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.author-and-date {
  position: absolute;
  bottom: 15px;
  left: 10px;
  font-size: 0.8em;
  color: var(--secondary-color);
  z-index: 100;
  font-style: italic;
  opacity: 0.4;
}

.title-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

/* Enhanced code block styling */
.reveal pre {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  margin: 0.5em 0 1em;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--code-bg);
  position: relative;
  max-height: 85vh;
  /* Increased from 40vh */
}

.reveal pre code {
  padding: 0;
  border-radius: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8em;
  line-height: 1.5;
  background-color: transparent !important;
  color: var(--code-text) !important;
  overflow: auto;
  max-height: 85vh;
  /* Increased from 40vh */
  tab-size: 2;
}

/* Code block with line numbers */
.code-container {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.line-numbers {
  padding: 1em 0;
  text-align: right;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--code-line-number);
  user-select: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8em;
  min-width: 2.5em;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.line-numbers span {
  display: block;
  padding: 0 0.5em;
  line-height: 1.5;
}

/* Code syntax highlighting - enhanced */
.hljs-keyword {
  color: var(--code-keyword);
  font-weight: 500;
}

.hljs-function,
.hljs-title.function_ {
  color: var(--code-function);
}

.hljs-string {
  color: var(--code-string);
}

.hljs-comment {
  color: var(--code-comment);
  font-style: italic;
}

.hljs-number {
  color: var(--code-number);
}

.hljs-operator {
  color: var(--code-operator);
}

.hljs-class,
.hljs-title.class_ {
  color: var(--code-class);
}

.hljs-variable,
.hljs-params {
  color: var(--code-variable);
}

.hljs-property {
  color: var(--code-property);
}

.hljs-punctuation {
  color: var(--code-punctuation);
}

.hljs-decorator {
  color: var(--code-decorator);
}

/* Line highlight effect */
.code-line {
  display: block;
  padding: 0 0.5em;
  transition: background-color 0.2s ease;
}

.code-line:hover {
  background-color: var(--code-line-highlight);
}

/* Hide original progress bar */
.reveal .progress {
  display: none !important;
}

/* Hide default Reveal.js navigation controls */
.reveal .controls {
  display: none !important;
}

/* Enhanced sparkline progress indicator */
.sparkline-container {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  height: 24px;
  width: auto;
  min-width: 320px;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.sparkline {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Base sparkline track */
.sparkline-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(100, 116, 139, 0.2);
  transform: translateY(-50%);
  border-radius: 1px;
}

/* Colored connections between points */
.sparkline-connection {
  position: absolute;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Chapter colors for connections */
.sparkline-connection.neutral {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.sparkline-connection.blue {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.sparkline-connection.green {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.sparkline-connection.yellow {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.sparkline-connection.orange {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.sparkline-connection.red {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.sparkline-connection.gold {
  background: linear-gradient(90deg, #fbbf24, #fde047);
}

.sparkline-connection.purple {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.sparkline-connection.completed {
  opacity: 1;
}

.sparkline-connection.active {
  opacity: 0.7;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.sparkline-connection.future {
  opacity: 0.2;
}

.sparkline-point {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid rgba(100, 116, 139, 0.5);
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 3;
}

/* Chapter colors for regular points */
.sparkline-point.neutral {
  border-color: #64748b;
}

.sparkline-point.blue {
  border-color: #3b82f6;
}

.sparkline-point.green {
  border-color: #10b981;
}

.sparkline-point.yellow {
  border-color: #f59e0b;
}

.sparkline-point.orange {
  border-color: #f97316;
}

.sparkline-point.red {
  border-color: #ef4444;
}

.sparkline-point.gold {
  border-color: #fbbf24;
}

.sparkline-point.purple {
  border-color: #8b5cf6;
}

/* Chapter start points (bigger circles with numbers) */
.sparkline-point.chapter-start {
  width: 14px;
  height: 14px;
  border: 2px solid white;
  background-color: #3b82f6;
  font-size: 7px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Neutral chapter indicators (for intro slides without numbers) */
.sparkline-point.chapter-start.neutral {
  background-color: #64748b;
  border-color: white;
}

.sparkline-point.chapter-start.blue {
  background-color: #3b82f6;
}

.sparkline-point.chapter-start.green {
  background-color: #10b981;
}

.sparkline-point.chapter-start.yellow {
  background-color: #f59e0b;
}

.sparkline-point.chapter-start.orange {
  background-color: #f97316;
}

.sparkline-point.chapter-start.red {
  background-color: #ef4444;
}
.sparkline-point.chapter-start.gold {
  background-color: #fbbf24;
  border-color: white;
}

.sparkline-point.chapter-start.purple {
  background-color: #8b5cf6;
  border-color: white;
}

.sparkline-point.completed {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.8);
}

/* Completed states with chapter colors - filled backgrounds */
.sparkline-point.completed.neutral {
  background-color: #64748b;
  box-shadow: 0 0 4px rgba(100, 116, 139, 0.3);
}

.sparkline-point.completed.blue {
  background-color: #3b82f6;
  box-shadow: 0 0 4px rgba(59, 130, 246, 0.3);
}

.sparkline-point.completed.green {
  background-color: #10b981;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.3);
}

.sparkline-point.completed.yellow {
  background-color: #f59e0b;
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.3);
}

.sparkline-point.completed.orange {
  background-color: #f97316;
  box-shadow: 0 0 4px rgba(249, 115, 22, 0.3);
}

.sparkline-point.completed.red {
  background-color: #ef4444;
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.3);
}

.sparkline-point.completed.gold {
  background-color: #fbbf24;
  box-shadow: 0 0 4px rgba(245, 184, 60, 0.3);
}

.sparkline-point.completed.purple {
  background-color: #8b5cf6;
  box-shadow: 0 0 4px rgba(139, 92, 246, 0.3);
}

.sparkline-point.active {
  background-color: white;
  width: 10px;
  height: 10px;
  border-width: 3px;
  animation: pulse-point 2s infinite;
}

/* Active states with chapter colors */
.sparkline-point.active.neutral {
  border-color: #64748b;
  box-shadow: 0 0 12px rgba(100, 116, 139, 0.6);
}

.sparkline-point.active.blue {
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.sparkline-point.active.green {
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.sparkline-point.active.yellow {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.sparkline-point.active.orange {
  border-color: #f97316;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.sparkline-point.active.red {
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.sparkline-point.active.gold {
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 184, 60, 0.6);
}

.sparkline-point.active.purple {
  border-color: #8b5cf6;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

.sparkline-point.chapter-start.active.neutral {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(100, 116, 139, 0.8);
}

.sparkline-point.chapter-start.active.blue {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.8);
}

.sparkline-point.chapter-start.active.green {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.8);
}

.sparkline-point.chapter-start.active.yellow {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.8);
}

.sparkline-point.chapter-start.active.orange {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.8);
}

.sparkline-point.chapter-start.active.red {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.8);
}

.sparkline-point.chapter-start.active.gold {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(245, 184, 60, 0.8);
}

.sparkline-point.chapter-start.active.purple {
  width: 18px;
  height: 18px;
  border-width: 3px;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.8);
}

/* Chapter number inside big circles */
.sparkline-point.chapter-start .chapter-number {
  font-size: 11px;
  font-weight: bold;
}

@keyframes pulse-point {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.8);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  }
}

.sparkline-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(30, 41, 59, 0.95);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sparkline-point:hover .sparkline-tooltip {
  opacity: 1;
}

/* Enhanced slide number display with nicer font */
.slide-number-container {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--text-color);
  padding: 6px 14px;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.slide-number-container:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.slide-number-container i {
  font-size: 10px;
  color: var(--primary-color);
}

/* Page number styling */
#current-slide {
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

#total-slides {
  opacity: 0.7;
}

.slide-number-separator {
  margin: 0 2px;
  opacity: 0.5;
}

/* Mini chart icon in the slide number */
.mini-chart-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  margin-right: 6px;
}

.mini-chart-icon::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 2px;
  height: 5px;
  background-color: var(--primary-color);
  opacity: 0.7;
}

.mini-chart-icon::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 3px;
  width: 2px;
  height: 8px;
  background-color: var(--primary-color);
  opacity: 0.8;
}

.mini-chart-bar {
  position: absolute;
  bottom: 2px;
  left: 6px;
  width: 2px;
  height: 6px;
  background-color: var(--primary-color);
  opacity: 0.9;
}

.mini-chart-bar:last-child {
  left: 9px;
  height: 10px;
  opacity: 1;
}

/* Enhanced slide styling */
.reveal section {
  padding: 20px !important;
  box-sizing: border-box;
}

.reveal .slides {
  border-radius: 6px;
  overflow: hidden;
}

/* Icon styling */
.fas,
.fab {
  color: var(--primary-color);
  margin-right: 6px;
}

/* Slide transitions */
.reveal .slides section {
  transition: transform 0.8s cubic-bezier(0.26, 0.86, 0.44, 0.985),
    opacity 0.8s cubic-bezier(0.26, 0.86, 0.44, 0.985);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
}

.decorative-line {
  position: absolute;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.1), transparent);
}

.floating-dots {
  position: absolute;
  width: 100%;
  height: 100%;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes float-dots {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translate(10px, -15px) scale(1.5);
    opacity: 0.4;
  }
  50% {
    transform: translate(20px, 0) scale(1);
    opacity: 0.2;
  }
  75% {
    transform: translate(10px, 15px) scale(1.5);
    opacity: 0.4;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
}

/* Chapter transition indicators */
.chapter-transition {
  position: absolute;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  right: -1px;
  top: 0;
  z-index: 2;
}

.chapter-segment:last-child .chapter-transition {
  display: none;
}

/* Enhanced hover states */
.sparkline-container:hover .chapter-segment {
  opacity: 0.4;
}

.sparkline-container:hover .chapter-segment:hover {
  opacity: 0.9;
  transform: scaleY(1.1);
  transition: all 0.2s ease;
}

.sparkline-container:hover .chapter-label {
  opacity: 1;
}

/* Progress animation */
@keyframes progress-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.sparkline-progress.animating {
  animation: progress-fill 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

/* Chapter completion indicators */
.chapter-segment.completed::after {
  content: "✓";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 8px;
  font-weight: bold;
  opacity: 0.8;
}

/* Current chapter highlight */
.chapter-segment.active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Chapter progress indicator */
.chapter-progress {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease;
  border-radius: 0 0 2px 2px;
}

.chapter-segment.active .chapter-progress {
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

/* Enhanced container shadow for depth */
.sparkline-container {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Smooth transitions for all interactive elements */
.chapter-segment,
.sparkline-point,
.sparkline-progress {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .slide-title-main-title {
    font-size: 2em;
  }
}
