/* Custom Styles for PharmaRoster Pro */

@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', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Cell transitions */
.roster-cell {
  transition: all 0.15s ease;
  position: relative;
}

.roster-cell:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

/* Shift Badges */
.shift-pill {
  transition: all 0.2s ease;
  user-select: none;
}
.shift-pill:hover {
  filter: brightness(1.08);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.45); }
}

.glow-success {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Print Styles */
@media print {
  @page {
    size: landscape A4;
    margin: 8mm;
  }

  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 9pt;
  }

  /* Hide web UI chrome during print */
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  .glass-panel, .glass-card {
    background: transparent !important;
    backdrop-filter: none !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    color: #000000 !important;
  }

  table {
    border-collapse: collapse !important;
    width: 100% !important;
  }

  th, td {
    border: 1px solid #94a3b8 !important;
    padding: 4px 6px !important;
    color: #0f172a !important;
  }

  .shift-pill {
    border: 1px solid #94a3b8 !important;
    color: #0f172a !important;
    background: #f1f5f9 !important;
    box-shadow: none !important;
  }
}