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

:root {
  --primary: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary: #0f172a;
  --bg-slate: #f8fafc;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Pulse animation for real-time live connection */
@keyframes live-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.live-indicator {
  animation: live-pulse 2s infinite;
}

/* Arrangement highlight glow */
@keyframes arrangement-glow {
  0%, 100% { border-color: #f59e0b; }
  50% { border-color: #d97706; box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }
}

.arrangement-card-highlight {
  animation: arrangement-glow 3s infinite ease-in-out;
}

/* Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print, header, nav, button, .quick-switcher, .toast-container {
    display: none !important;
  }
  .printable-timetable {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  table {
    border-collapse: collapse !important;
    width: 100% !important;
  }
  th, td {
    border: 1px solid #94a3b8 !important;
    padding: 8px !important;
    font-size: 11pt !important;
  }
}
