/* ============================================================
   Vittreo CV Landing Generator - Custom Styles
   ============================================================ */

/* Material Symbols Configuration */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(19, 127, 236, 0.1);
  border-radius: 50%;
  border-top: 3px solid #137fec;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;1
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Progress Bar Gradient */
.progress-bar-gradient {
  background: linear-gradient(to right, #ef4444, #f59e0b, #84cc16);
}

/* Drag & Drop Area */
.drag-drop-area {
  border: 2px dashed #cbd5e1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.drag-drop-area:hover {
  border-color: #94a3b8;
  background-color: rgba(148, 163, 184, 0.05);
}

.drag-drop-area.drag-over {
  border-color: #137fec;
  background-color: rgba(19, 127, 236, 0.1);
  border-style: solid;
}

/* Animations */
@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.animate-slide-in {
  animation: slide-in 0.3s ease-out;
}

.animate-fade-in {
  animation: fade-in 0.3s ease-out;
}

.animate-slide-down {
  animation: slide-down 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale-in {
  animation: scale-in 0.2s ease-out;
}

.animate-fade-out {
  animation: fade-out 0.2s ease-out forwards;
}

/* Section Transitions */
.section-page {
  animation: fade-in 0.4s ease-out;
}

.section-hidden {
  display: none;
}

*:focus-visible {
  outline: 2px solid #137fec;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Text Capitalization
   ============================================================ */
/* Auto-capitalize input fields (name, title, location, etc.) */
.capitalize {
  text-transform: capitalize;
}

/* ============================================================
   Landing Editor Page - Allow natural scroll
   ============================================================ */
/* Panels have their own scroll but body can scroll naturally */
