/* GAREG Lab Methods Hub Custom Styles */
:root {
  --brand-cyan: #0284c7;
  --brand-cyan-dark: #0369a1;
  --brand-blue: #2563eb;
  --brand-gold: #d97706;
  --brand-bg: #f8fafc;
  --brand-card: #ffffff;
  --brand-border: #e2e8f0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--brand-bg);
  color: #1e293b;
}

.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Watermarks for Draft/Unapproved documents */
.watermark-draft {
  position: relative;
}
.watermark-draft::after {
  content: "DRAFT — NOT APPROVED";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(239, 68, 68, 0.12);
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}

/* Print SOP styling */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  .print-only {
    display: block !important;
  }
  .sop-document {
    page-break-after: always;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
}

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

/* Interactive Workflow canvas node connector line */
.workflow-step-card {
  position: relative;
  transition: all 0.2s ease-in-out;
}
.workflow-step-card:hover {
  transform: translateY(-2px);
}
.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 1.25rem;
}
