/* Font application */
body, button, input, select, textarea {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* Custom animations & refinements */
@keyframes pulseGentle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.animate-pulse-gentle {
  animation: pulseGentle 2s infinite ease-in-out;
}

/* RTL-safe custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Touch friendly adjustments */
button, input, select {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Certificate Print styles */
@media print {
  body * {
    visibility: hidden;
  }
  #printableCertificate, #printableCertificate * {
    visibility: visible;
  }
  #printableCertificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 20mm !important;
    border-width: 4px !important;
    box-shadow: none !important;
  }
}