/*
 * Doctors United Multispeciality Medicentre - Healthcare UI Stylesheet
 * Classy Premium Light Theme with Sleek Sharp Orange & Clinical Hospital Green
 * Integrated with Buktor Token Engine, Chazt WhatsApp & Desko POS
 */

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

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sig: 'Caveat', cursive;

  /* Premium Light Canvas */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Sleek Sharp Orange (Actions, Buktor Tokens, High Priority) */
  --color-orange-50: #fff7ed;
  --color-orange-100: #ffedd5;
  --color-orange-500: #f97316;
  --color-orange-600: #ea580c;
  --color-orange-700: #c2410c;

  /* Hospital Clinical Emerald (Health, Doctors, Verified, Pharmacy) */
  --color-green-50: #ecfdf5;
  --color-green-100: #d1fae5;
  --color-green-500: #10b981;
  --color-green-600: #059669;
  --color-green-700: #047857;

  /* Deep Obsidian Slate */
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--color-slate-900);
  -webkit-font-smoothing: antialiased;
}

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

.font-signature {
  font-family: var(--font-sig);
}

/* 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;
}

/* Glassmorphism Accents */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Modal Animations */
.hms-modal {
  transition: opacity 0.2s ease-in-out;
}

.hms-modal-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Buktor Real-Time Token Calling Lounge Display */
.buktor-lounge-screen {
  background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
}

.buktor-token-pulse {
  animation: buktorGlow 1.8s infinite alternate ease-in-out;
}

@keyframes buktorGlow {
  0% {
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.85);
    transform: scale(1.02);
  }
}

/* Print Styles for Prescriptions, Diagnostic Lab Reports & Invoices */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  #app-header,
  #app-sidebar,
  #app-demo-pill,
  #toast-container,
  .no-print,
  button {
    display: none !important;
  }

  #app-module-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .clinic-print-sheet {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  @page {
    size: A4 portrait;
    margin: 12mm 10mm;
  }
}
