/* Lecture 07 – modern two-pane layout */
:root {
  --accent:       #7c3aed;
  --accent-light: #ede9fe;
  --accent-dark:  #4c1d95;
  --bg:           #f5f3ff;
  --pane-bg:      #ffffff;
  --pane-border:  #ddd6fe;
  --text:         #1e1b4b;
  --muted:        #6b7280;
  --badge-bg:     #7c3aed;
}

.reveal {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.reveal .slides section {
  text-align: left;
  box-sizing: border-box;
}

/* ── Page header ─────────────────────────────────────────────── */
.page-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--accent-light);
}

/* ── Two-pane layout ─────────────────────────────────────────── */
.two-panes {
  display: flex;
  gap: 14px;
  height: 660px;
}

.pane {
  flex: 1;
  background: var(--pane-bg);
  border: 1px solid var(--pane-border);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  box-shadow: 0 2px 12px rgba(124,58,237,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ── Slide number badge ──────────────────────────────────────── */
.slide-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--badge-bg);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  z-index: 10;
}

/* ── Pane inner elements ─────────────────────────────────────── */
.pane-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 8px;
  padding-right: 54px;
  line-height: 1.3;
  flex-shrink: 0;
}

.pane-text {
  font-size: 11.5px;
  color: var(--text);
  line-height: 1.55;
  flex-shrink: 0;
}

.pane-text ul, .pane-text ol {
  padding-left: 1.3em;
  margin: 3px 0;
}

.pane-text li {
  margin-bottom: 2px;
}

.pane-text p {
  margin: 3px 0;
}

.pane-text a {
  color: var(--accent);
  text-decoration: none;
  font-size: 10px;
}

.pane-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: 6px;
}

.pane-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.source-link {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 5px;
  flex-shrink: 0;
}

/* ── Special pane variants ───────────────────────────────────── */
.title-pane {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 60%, #a78bfa 100%);
  border: none;
  color: white;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 28px;
}

.title-pane .title-main {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: white;
}

.title-pane .title-sub {
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.7;
  color: white;
}

.title-pane .title-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 11px;
  margin-top: 12px;
  color: white;
}

.outline-pane {
  background: linear-gradient(160deg, #faf5ff 0%, var(--accent-light) 100%);
}

.outline-pane .pane-title {
  font-size: 15px;
  margin-bottom: 12px;
}

.outline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outline-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--pane-border);
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.outline-list li::before {
  content: '▸';
  color: var(--accent);
  font-size: 10px;
  flex-shrink: 0;
}

.outline-list li.active {
  color: var(--accent-dark);
  font-weight: 700;
}

/* ── Benchmark result pane ───────────────────────────────────── */
.perf-pane {
  background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
}

/* ── Text list slide (large text) ───────────────────────────── */
.dataset-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.dataset-list li {
  padding: 6px 10px;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: 11.5px;
  color: var(--text);
  line-height: 1.35;
}

.dataset-list li strong {
  color: var(--accent-dark);
  display: block;
  font-size: 12px;
}
