/* Custom styling for Al-Mashfa Clinics */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
  --primary: #0F766E;
  --primary-dark: #115E59;
  --primary-light: #F0FDFA;
  --emergency: #DC2626;
  --bg-page: #F8FAFC;
  --surface: #FFFFFF;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg-page);
  color: #0F172A;
  direction: rtl;
  -webkit-tap-highlight-color: transparent;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Smooth horizontal snap scrolling */
.snap-scroll-x {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.snap-item {
  scroll-snap-align: start;
}

/* 24/7 Emergency Pulse Animation */
@keyframes emergency-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.pulse-emergency {
  animation: emergency-pulse 2s infinite;
}

/* Modal and Drawer backdrop blur */
.modal-backdrop {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
