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

:root {
  --primary-blue: #2563eb;
  --primary-green: #10b981;
  --primary-purple: #8b5cf6;
  --primary-dark: #1f2937;
  
  --font-inter: 'Inter', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-inter);
}

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

/* CV A4 Canvas styling */
.cv-page-container {
  width: 210mm;
  min-height: 297mm;
  padding: 20mm;
  background-color: white;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Preview scaling */
@media (max-width: 1024px) {
  .cv-preview-scale-wrapper {
    transform-origin: top center;
    transform: scale(0.8);
  }
}

@media (max-width: 640px) {
  .cv-preview-scale-wrapper {
    transform-origin: top center;
    transform: scale(0.55);
  }
}

/* Print Styling */
@media print {
  body {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Hide UI elements */
  .no-print {
    display: none !important;
  }
  
  /* Reset CV container for pure A4 printing */
  .cv-page-container {
    width: 210mm;
    height: 297mm;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 15mm !important;
    border: none !important;
    page-break-after: always;
  }
}

/* Drag and Drop Zone Highlight */
.dropzone.drag-over {
  border-color: #3b82f6;
  background-color: #eff6ff;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.3s ease forwards;
}

/* Premium active ring or focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

/* Custom Tag animation */
.tag-badge {
  transition: all 0.2s ease;
}
.tag-badge:hover {
  transform: translateY(-1px);
}
