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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111827;
  line-height: 1.5;
}

.font-geist-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Range slider styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111827;
  cursor: pointer;
  transition: all 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: #111827;
  cursor: pointer;
  transition: all 0.15s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.1);
}

/* Skill level indicators */
.skill-level {
  height: 6px;
  background-color: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
}

.skill-level-fill {
  height: 100%;
  border-radius: 3px;
}

/* Career match indicators */
.match-indicator {
  height: 8px;
  background-color: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}

.match-indicator-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* Skill gap indicators */
.skill-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
}

.skill-gap-low {
  background-color: #D1FAE5;
  color: #065F46;
}

.skill-gap-medium {
  background-color: #FEF3C7;
  color: #92400E;
}

.skill-gap-high {
  background-color: #FEE2E2;
  color: #B91C1C;
}

/* Development stage styling */
.stage-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  left: 0;
  top: 0;
}

/* Learning resource item */
.resource-item {
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  padding-left: 12px;
}

.resource-item:hover {
  border-left-color: #111827;
  transform: translateX(4px);
  background-color: #F9FAFB;
}

/* Certification item */
.certification-item {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.2s ease;
}

.certification-item:hover {
  border-color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Modal transitions */
#path-detail-modal {
  transition: opacity 0.3s ease;
}

#path-detail-modal > div {
  transition: transform 0.3s ease;
}

.modal-enter {
  opacity: 0;
}

.modal-enter > div {
  transform: translateY(20px);
}

.modal-enter-active {
  opacity: 1;
}

.modal-enter-active > div {
  transform: translateY(0);
}

/* Chart animations */
.chart-container {
  opacity: 0;
  transform: scale(0.95);
  animation: chartAppear 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes chartAppear {
  to { opacity: 1; transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  #user-info-form {
    padding: 16px;
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
