/* Vendoroo Q1 2026 Strategy - CORRECT Brand Colors */
/* Light theme with Yellow, Teal, Dark accents */

:root {
  /* Vendoroo Brand Colors - FROM WEBSITE */
  --vendoroo-yellow: #F5B800;       /* Primary gold/amber */
  --vendoroo-yellow-dark: #D9A300;
  --vendoroo-teal: #00A5A5;         /* Secondary teal */
  --vendoroo-teal-dark: #008585;
  --vendoroo-dark: #1A1A1A;         /* Dark text/accents */
  --vendoroo-black: #000000;
  
  /* Status Colors */
  --success: #00A5A5;               /* Teal for success */
  --warning: #F5B800;               /* Yellow for warning */
  --danger: #E53935;                /* Red for danger */
  
  /* Light Theme */
  --bg-main: #F5F5F5;               /* Light gray background */
  --bg-white: #FFFFFF;              /* Card backgrounds */
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFA;
  --text-primary: #1A1A1A;          /* Dark text */
  --text-secondary: #555555;
  --text-muted: #888888;
  --border-color: #E0E0E0;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Header - White with yellow accent */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 3px solid var(--vendoroo-yellow);
  padding: var(--spacing-md) var(--spacing-xl);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.logo-section img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vendoroo-dark);
}

.logo-text .logo-icon {
  color: var(--vendoroo-yellow);
  margin-right: 4px;
}

.header-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-left: var(--spacing-md);
  padding-left: var(--spacing-md);
  border-left: 2px solid var(--border-color);
}

.presenter-info {
  text-align: right;
}

.presenter-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.presenter-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Slide Navigation - Light sidebar */
.slide-nav {
  position: fixed;
  left: 0;
  top: 80px;
  bottom: 0;
  width: 280px;
  background: var(--bg-white);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: var(--spacing-lg);
  z-index: 100;
}

.nav-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.slide-list {
  list-style: none;
}

.slide-list li {
  margin-bottom: var(--spacing-xs);
}

.slide-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.slide-link:hover {
  background: var(--bg-main);
  color: var(--text-primary);
}

.slide-link.active {
  background: var(--vendoroo-yellow);
  color: var(--vendoroo-dark);
  font-weight: 600;
}

.slide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-main);
  font-size: 0.75rem;
  font-weight: 600;
}

.slide-link.active .slide-number {
  background: rgba(0,0,0,0.15);
}

.note-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--vendoroo-teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: auto;
}

/* Presentation Area */
.presentation-area {
  margin-left: 280px;
  padding: var(--spacing-xl);
}

.slide-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Slide */
.slide {
  display: none;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.slide.active {
  display: block;
  animation: slideIn 0.3s ease;
}

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

.slide-content {
  padding: var(--spacing-2xl);
  min-height: 500px;
}

/* Slide Header */
.slide-header {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--border-color);
}

.slide-header h2 {
  margin-bottom: var(--spacing-sm);
  color: var(--vendoroo-dark);
}

.slide-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Metric Cards */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.metric-card {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  border: 1px solid var(--border-color);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--vendoroo-teal);
  margin-bottom: var(--spacing-xs);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.metric-card.highlight {
  border-color: var(--vendoroo-yellow);
  background: linear-gradient(135deg, rgba(245, 184, 0, 0.1), transparent);
}

.metric-card.highlight .metric-value {
  color: var(--vendoroo-dark);
}

.metric-card.warning {
  border-color: var(--danger);
}

.metric-card.warning .metric-value {
  color: var(--danger);
}

/* Yellow highlight card */
.metric-card.yellow {
  background: var(--vendoroo-yellow);
  border-color: var(--vendoroo-yellow);
}

.metric-card.yellow .metric-value {
  color: var(--vendoroo-dark);
}

.metric-card.yellow .metric-label {
  color: rgba(0,0,0,0.7);
}

/* Teal highlight card */
.metric-card.teal {
  background: var(--vendoroo-teal);
  border-color: var(--vendoroo-teal);
}

.metric-card.teal .metric-value {
  color: white;
}

.metric-card.teal .metric-label {
  color: rgba(255,255,255,0.8);
}

/* Dark card */
.metric-card.dark {
  background: var(--vendoroo-dark);
  border-color: var(--vendoroo-dark);
}

.metric-card.dark .metric-value {
  color: white;
}

.metric-card.dark .metric-label {
  color: rgba(255,255,255,0.7);
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.content-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

/* Info Cards */
.info-card {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  border-left: 4px solid var(--vendoroo-yellow);
}

.info-card.success {
  border-left-color: var(--vendoroo-teal);
  background: rgba(0, 165, 165, 0.05);
}

.info-card.warning {
  border-left-color: var(--vendoroo-yellow);
  background: rgba(245, 184, 0, 0.05);
}

.info-card.danger {
  border-left-color: var(--danger);
  background: rgba(229, 57, 53, 0.05);
}

.info-card.dark {
  border-left-color: var(--vendoroo-dark);
  background: rgba(26, 26, 26, 0.05);
}

.info-card h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--vendoroo-dark);
  font-size: 1rem;
}

.info-card.success h4 {
  color: var(--vendoroo-teal);
}

.info-card.warning h4 {
  color: var(--vendoroo-yellow-dark);
}

.info-card.danger h4 {
  color: var(--danger);
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Question Cards - Interactive */
.question-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  border: 2px solid var(--border-color);
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-fast);
}

.question-card:hover {
  border-color: var(--vendoroo-yellow);
}

.question-card.answered {
  border-color: var(--vendoroo-teal);
  background: rgba(0, 165, 165, 0.03);
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vendoroo-dark);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  flex: 1;
}

.question-text::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vendoroo-yellow);
  color: var(--vendoroo-dark);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.question-card.answered .question-text::before {
  content: "✓";
  background: var(--vendoroo-teal);
  color: white;
}

.question-actions {
  display: flex;
  gap: var(--spacing-xs);
}

.question-actions button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.question-actions button:hover {
  background: var(--bg-main);
  color: var(--text-primary);
}

.question-actions button.delete:hover {
  background: rgba(229, 57, 53, 0.1);
  color: var(--danger);
}

.question-context {
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  margin-top: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.question-context::before {
  content: "Context: ";
  font-weight: 600;
  font-style: normal;
  color: var(--text-secondary);
}

/* Answer Section */
.answer-section {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

.answer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--vendoroo-teal);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.answer-input {
  width: 100%;
  min-height: 80px;
  padding: var(--spacing-md);
  background: var(--bg-main);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.answer-input:focus {
  outline: none;
  border-color: var(--vendoroo-teal);
}

.answer-input::placeholder {
  color: var(--text-muted);
}

.answer-display {
  background: rgba(0, 165, 165, 0.08);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.answer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
}

.answer-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

/* Add Question Form */
.add-question-form {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border: 2px dashed var(--border-color);
}

.add-question-form.active {
  border-style: solid;
  border-color: var(--vendoroo-yellow);
}

.add-question-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  width: 100%;
  padding: var(--spacing-md);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.add-question-btn:hover {
  color: var(--vendoroo-teal);
}

.add-question-fields {
  display: none;
}

.add-question-form.active .add-question-btn {
  display: none;
}

.add-question-form.active .add-question-fields {
  display: block;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--vendoroo-teal);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
}

/* Editable Numbers Panel */
.edit-toggle {
  position: fixed;
  bottom: 140px;
  right: 20px;
  background: #9333EA;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all var(--transition-fast);
}

.edit-toggle:hover {
  background: #7C3AED;
  transform: scale(1.05);
}

.edit-panel {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 320px;
  max-height: calc(100vh - 140px);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 1001;
  overflow: hidden;
  display: none;
  border: 2px solid #9333EA;
}

.edit-panel.active {
  display: block;
  animation: slideIn 0.2s ease;
}

.edit-panel-header {
  background: #9333EA;
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-panel-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
}

.edit-panel-close:hover {
  opacity: 1;
}

.edit-panel-content {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: var(--spacing-md);
}

.edit-section {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
}

.edit-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.edit-section h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9333EA;
  margin-bottom: var(--spacing-sm);
}

.edit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.edit-row label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.edit-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 120px;
}

.edit-input-wrap:focus-within {
  border-color: #9333EA;
}

.input-prefix,
.input-suffix {
  padding: 6px 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-main);
}

.edit-input-wrap input {
  width: 100%;
  padding: 6px 8px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-align: right;
}

.edit-input-wrap input:focus {
  outline: none;
}

.edit-section.results {
  background: rgba(147, 51, 234, 0.05);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: 0 calc(-1 * var(--spacing-md));
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.85rem;
}

.result-row span {
  color: var(--text-secondary);
}

.result-row strong {
  color: #9333EA;
  font-size: 1rem;
}

.edit-actions {
  padding-top: var(--spacing-md);
}

.edit-actions .btn {
  width: 100%;
}

.percent-warning {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--vendoroo-yellow);
  color: var(--vendoroo-dark);
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
}

/* Editable metric highlight */
[data-metric] {
  transition: color 0.2s ease;
}

[data-metric].updated {
  color: #9333EA !important;
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Adjust other buttons position */
.visitors-toggle {
  bottom: 200px;
}

.visitors-panel {
  bottom: 260px;
}

.glossary-toggle {
  bottom: 20px;
}

.glossary-panel {
  bottom: 80px;
}

/* Visitor Tracking Panel */
.visitors-toggle {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--vendoroo-yellow);
  color: var(--vendoroo-dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all var(--transition-fast);
}

.visitors-toggle:hover {
  background: var(--vendoroo-yellow-dark);
  transform: scale(1.05);
}

.visitors-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--vendoroo-teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.visitors-panel {
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 380px;
  max-height: 450px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 998;
  overflow: hidden;
  display: none;
  border: 1px solid var(--border-color);
}

.visitors-panel.active {
  display: block;
  animation: slideUp 0.2s ease;
}

.visitors-header {
  background: var(--vendoroo-yellow);
  color: var(--vendoroo-dark);
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visitors-close {
  background: none;
  border: none;
  color: var(--vendoroo-dark);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.7;
}

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

.visitors-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.visitor-stat {
  text-align: center;
}

.visitor-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vendoroo-teal);
}

.visitor-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.your-ip {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: rgba(0, 165, 165, 0.1);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.your-ip strong {
  color: var(--vendoroo-teal);
  font-family: 'Courier New', monospace;
}

.visitors-content {
  max-height: 280px;
  overflow-y: auto;
  padding: var(--spacing-sm);
}

.visitor-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-xs);
  background: var(--bg-main);
  border-left: 3px solid var(--vendoroo-yellow);
}

.visitor-item.recent {
  border-left-color: var(--vendoroo-teal);
  background: rgba(0, 165, 165, 0.05);
}

.visitor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vendoroo-yellow);
  color: var(--vendoroo-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.visitor-info {
  flex: 1;
  min-width: 0;
}

.visitor-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visitor-ip {
  font-size: 0.75rem;
  color: var(--vendoroo-teal);
  font-family: 'Courier New', monospace;
}

.visitor-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  gap: var(--spacing-sm);
  margin-top: 2px;
}

.visitor-time {
  text-align: right;
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Adjust glossary button position */
.glossary-toggle {
  bottom: 20px;
}

.glossary-panel {
  bottom: 80px;
}

/* Tooltips for Key Terms */
.term {
  position: relative;
  border-bottom: 1px dotted var(--vendoroo-teal);
  cursor: help;
  color: inherit;
}

.term:hover {
  color: var(--vendoroo-teal);
}

.term::after {
  content: attr(data-definition);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vendoroo-dark);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  width: max-content;
  max-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  pointer-events: none;
  text-align: left;
}

.term::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--vendoroo-dark);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1001;
}

.term:hover::after,
.term:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Adjust tooltip position for terms near edges */
.term.tooltip-right::after {
  left: 0;
  transform: translateX(0);
}

.term.tooltip-right::before {
  left: 20px;
}

.term.tooltip-left::after {
  left: auto;
  right: 0;
  transform: translateX(0);
}

.term.tooltip-left::before {
  left: auto;
  right: 20px;
}

/* Glossary Panel */
.glossary-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--vendoroo-teal);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all var(--transition-fast);
}

.glossary-toggle:hover {
  background: var(--vendoroo-teal-dark);
  transform: scale(1.05);
}

.glossary-panel {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 998;
  overflow: hidden;
  display: none;
  border: 1px solid var(--border-color);
}

.glossary-panel.active {
  display: block;
  animation: slideUp 0.2s ease;
}

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

.glossary-header {
  background: var(--vendoroo-dark);
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glossary-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.7;
}

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

.glossary-search {
  padding: var(--spacing-sm) var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
}

.glossary-search input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.glossary-search input:focus {
  outline: none;
  border-color: var(--vendoroo-teal);
}

.glossary-content {
  max-height: 380px;
  overflow-y: auto;
  padding: var(--spacing-md);
}

.glossary-item {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-xs);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.glossary-item:hover {
  background: var(--bg-main);
}

.glossary-term {
  font-weight: 600;
  color: var(--vendoroo-teal);
  font-size: 0.9rem;
}

.glossary-abbrev {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.glossary-def {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.4;
}

/* Channel Cards */
.channel-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  border: 2px solid var(--border-color);
  border-top: 4px solid var(--vendoroo-yellow);
}

.channel-card.linkedin {
  border-top-color: #0077B5;
}

.channel-card.google {
  border-top-color: #EA4335;
}

.channel-card.teal {
  border-top-color: var(--vendoroo-teal);
}

.channel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.channel-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vendoroo-dark);
}

.channel-percent {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vendoroo-yellow-dark);
}

.channel-budget {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vendoroo-teal);
  margin-bottom: var(--spacing-xs);
}

.channel-monthly {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.channel-card ul {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.channel-card li {
  padding: var(--spacing-xs) 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding-left: var(--spacing-md);
  position: relative;
}

.channel-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--vendoroo-yellow);
}

.channel-estimate {
  font-size: 0.875rem;
  color: var(--vendoroo-teal);
  font-weight: 600;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.timeline-month {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  border: 2px solid var(--border-color);
  border-top: 4px solid var(--vendoroo-yellow);
}

.timeline-month.february {
  border-top-color: var(--vendoroo-teal);
}

.timeline-month.march {
  border-top-color: var(--vendoroo-dark);
}

.month-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--vendoroo-yellow-dark);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.timeline-month.february .month-label {
  color: var(--vendoroo-teal);
}

.timeline-month.march .month-label {
  color: var(--vendoroo-dark);
}

/* Summary Stats Bar - Yellow */
.summary-bar {
  background: var(--vendoroo-yellow);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg) var(--spacing-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.summary-stat {
  text-align: center;
}

.summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0,0,0,0.6);
  margin-bottom: var(--spacing-xs);
}

.summary-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vendoroo-dark);
}

.summary-value.accent {
  color: var(--vendoroo-teal);
}

/* Teal summary bar variant */
.summary-bar.teal {
  background: var(--vendoroo-teal);
}

.summary-bar.teal .summary-label {
  color: rgba(255,255,255,0.7);
}

.summary-bar.teal .summary-value {
  color: white;
}

/* Dark summary bar variant */
.summary-bar.dark {
  background: var(--vendoroo-dark);
}

.summary-bar.dark .summary-label {
  color: rgba(255,255,255,0.6);
}

.summary-bar.dark .summary-value {
  color: white;
}

.summary-bar.dark .summary-value.accent {
  color: var(--vendoroo-yellow);
}

/* Collaboration Section */
.collaboration-section {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 2px solid var(--border-color);
}

.collab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.collab-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.collab-toggle {
  background: var(--vendoroo-teal);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.collab-toggle:hover {
  background: var(--vendoroo-teal-dark);
}

/* Notes/Comments */
.notes-container {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  display: none;
}

.notes-container.active {
  display: block;
}

.note-input-area {
  margin-bottom: var(--spacing-lg);
}

.note-input-area textarea {
  width: 100%;
  min-height: 100px;
  padding: var(--spacing-md);
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.note-input-area textarea:focus {
  outline: none;
  border-color: var(--vendoroo-teal);
}

.note-input-area textarea::placeholder {
  color: var(--text-muted);
}

.note-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background: var(--vendoroo-teal);
  color: white;
}

.btn-primary:hover {
  background: var(--vendoroo-teal-dark);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-main);
}

/* Notes List */
.notes-list {
  max-height: 400px;
  overflow-y: auto;
}

.note-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  border-left: 3px solid var(--vendoroo-teal);
}

.note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.note-author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--vendoroo-teal);
}

.note-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.delete-note-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 8px;
  opacity: 0.5;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.delete-note-btn:hover {
  opacity: 1;
  color: var(--danger);
}

.note-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-lg) 0;
}

.comparison-table th,
.comparison-table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-main);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  font-size: 0.9rem;
}

.comparison-table tr:hover td {
  background: rgba(0, 165, 165, 0.05);
}

.positive {
  color: var(--vendoroo-teal);
  font-weight: 600;
}

.negative {
  color: var(--danger);
  font-weight: 600;
}

/* Slide Controls */
.slide-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
}

.slide-counter {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nav-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-btn:hover:not(:disabled) {
  background: var(--vendoroo-yellow);
  border-color: var(--vendoroo-yellow);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sidebar user section */
.sidebar-user {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.sidebar-user p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#currentUser {
  font-size: 0.875rem;
  color: var(--vendoroo-teal);
  font-weight: 600;
  margin-bottom: 8px;
}

.sidebar-btn {
  font-size: 0.75rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.sidebar-btn:hover {
  background: var(--border-color);
}

/* Responsive */
@media (max-width: 1200px) {
  .slide-nav {
    width: 240px;
  }
  
  .presentation-area {
    margin-left: 240px;
  }
  
  .content-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .slide-nav {
    display: none;
  }
  
  .presentation-area {
    margin-left: 0;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .summary-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .slide-content {
    padding: var(--spacing-lg);
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .summary-bar {
    grid-template-columns: 1fr;
  }
}

/* Print Styles */
@media print {
  .slide-nav,
  .slide-controls,
  .collaboration-section {
    display: none;
  }
  
  .presentation-area {
    margin-left: 0;
  }
  
  .slide {
    display: block !important;
    page-break-after: always;
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 20px;
  }
}
