/* Global Styles & Design Tokens for PDF Vault by registermysite.com */

:root {
  --brand-primary: #0052CC;
  --brand-teal: #00D09C;
  --brand-hover: #003E99;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body {
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

/* Skeleton Shimmer Animation */
.skeleton {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.dark .skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Modal Animations */
@keyframes dialogEnter {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-dialog-enter {
  animation: dialogEnter 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulse Glow for Upload Dropzone */
@keyframes pulseGlow {
  0%, 100% { border-color: rgba(0, 82, 204, 0.4); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.2); }
  50% { border-color: rgba(0, 82, 204, 0.9); box-shadow: 0 0 0 8px rgba(0, 82, 204, 0.1); }
}

.dropzone-active {
  animation: pulseGlow 1.8s infinite;
}

/* Tabular figures for numbers */
.numeric {
  font-variant-numeric: tabular-nums;
}
