@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;
  --brand-950: #172554;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Custom Navigation Active State */
.nav-btn-active { 
  background-color: #1e3a8a !important; 
  color: #ffffff !important; 
  font-weight: 700 !important; 
  border-radius: 0.75rem; 
  border-color: #1e3a8a !important;
}

/* Workflow Diagram Node Hover Animation */
.wf-node {
  transition: all 0.25s ease-in-out;
}
.wf-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.18);
}

/* Flow Line Animation */
@keyframes flowDash {
  to {
    stroke-dashoffset: -24;
  }
}
.animated-flow-line {
  stroke-dasharray: 6, 6;
  animation: flowDash 1s linear infinite;
}

/* Active Approval Step Glow */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.9);
  }
}
.active-step-glow {
  animation: pulseGlow 1.8s infinite ease-in-out;
}

/* Input Fields Styling */
.pro-input {
  width: 100%;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
  font-weight: 600;
  color: #1e293b;
}
.pro-input:hover {
  background-color: #ffffff;
  border-color: #94a3b8;
}
.pro-input:focus {
  background-color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Animations for Feedback Modal */
@keyframes drawEcg {
  0% {
    stroke-dashoffset: 300;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes pulseHeart {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes riseSteam {
  0% {
    transform: translateY(10px) scale(0.9);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-15px) scale(1.1);
    opacity: 0;
  }
}

@keyframes gentleWave {
  0%, 100% {
    transform: translateX(0) translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(5px) translateY(2px);
    opacity: 1;
  }
}

@keyframes flyBird {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(30px, -20px) scale(1.2);
    opacity: 0;
  }
}
