/* Custom styles for Ottawa Municipal Accountability Platform */

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

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-sans);
  background-color: #0f172a;
  color: #f8fafc;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1e293b;
}
::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Ward SVG Map Interactive Styling */
.ward-path {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.ward-path:hover {
  filter: brightness(1.25);
  stroke: #38bdf8;
  stroke-width: 2.5px;
}
.ward-path.active {
  stroke: #f59e0b;
  stroke-width: 3px;
  filter: brightness(1.3);
}

/* Score Glows & Accents */
.score-high {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}
.score-mid {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}
.score-low {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

/* Progress bar transitions */
.progress-fill {
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal animation */
.modal-backdrop {
  backdrop-filter: blur(8px);
  background-color: rgba(15, 23, 42, 0.85);
}

/* Print view for voter guide downloads */
@media print {
  body {
    background-color: #ffffff;
    color: #000000;
  }
  .no-print {
    display: none !important;
  }
}
