/* Ekvvira Hospital Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-emerald: #0d9488;
  --primary-dark: #0f172a;
  --accent-blue: #0284c7;
  --accent-light: #e0f2fe;
  --danger-red: #ef4444;
}

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  scroll-behavior: smooth;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Glassmorphism effects */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Custom Pulsing Emergency Badge */
.pulse-emergency {
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Floating Emergency Call Widget */
.floating-emergency {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-emergency:hover {
  transform: translateY(-4px) scale(1.03);
}

/* Department & Doctor Card Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.15), 0 8px 10px -6px rgba(13, 148, 136, 0.1);
}

/* Modal Animations */
.modal-active {
  display: flex !important;
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Accordion FAQ active state */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0f766e;
}

/* Doctor badge pill */
.badge-available {
  background-color: #dcfce7;
  color: #15803d;
  font-weight: 600;
}

/* Print Ticket Styling */
@media print {
  body * {
    visibility: hidden;
  }
  #appointmentTicketModal, #appointmentTicketModal * {
    visibility: visible;
  }
  #appointmentTicketModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: white;
  }
  .no-print {
    display: none !important;
  }
}
