/* Career Path Management System Styles */

.section {
  display: block;
}

.section.hidden {
  display: none;
}

.nav-btn {
  transition: all 0.2s ease;
}

.nav-btn.active {
  color: #2563eb;
  background-color: #eff6ff;
  border-bottom-color: #2563eb;
}

/* Modal styles */
#modal-container {
  z-index: 9999;
}

#modal-container > div {
  animation: modalFadeIn 0.2s ease-out;
}

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

/* Print styles */
@media print {
  header, nav, button, .no-print {
    display: none !important;
  }
  
  #modal-container {
    position: static !important;
    background: white !important;
    display: block !important;
  }
  
  #modal-container > div {
    max-width: 100% !important;
    max-height: none !important;
    box-shadow: none !important;
  }
  
  body {
    background: white;
  }
  
  .print-section {
    page-break-after: always;
  }
  
  @page {
    size: A4;
    margin: 20mm;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #2563eb;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-indicator .step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.step-indicator .step.completed {
  background-color: #10b981;
  color: white;
}

.step-indicator .step.current {
  background-color: #2563eb;
  color: white;
}

.step-indicator .step.pending {
  background-color: #e5e7eb;
  color: #6b7280;
}

/* Card hover effect */
.card-hover {
  transition: all 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
