// result-step.component.scss
.result-container {
  padding: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.result-header {
  text-align: center;
  margin-bottom: 2rem;
  
  h2 {
    color: #00F0FF;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
  }
  
  p {
    color: #94A3B8;
    margin: 0;
  }
}

.result-summary {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  background: rgba(30, 41, 59, 0.7);
  border-radius: 8px;
  padding: 1.5rem;
  align-items: center;
  
  @media (max-width: 600px) {
    flex-direction: column;
  }
}

.overall-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
  
  &::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed #00F0FF;
    opacity: 0.5;
    animation: rotate 20s linear infinite;
  }
  
  .score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
  }
  
  .score-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
}

.match-score {
  text-align: center;
  
  .match-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00F0FF;
    line-height: 1;
  }
  
  .match-label {
    font-size: 0.875rem;
    color: #94A3B8;
  }
}

.summary-text {
  flex: 1;
  
  p {
    color: #E2E8F0;
    line-height: 1.6;
    margin: 0;
  }
}

.skill-radar {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  
  h3 {
    color: #E2E8F0;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

.radar-container {
  display: flex;
  justify-content: center;
}

.radar-chart {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.grid-circle {
  fill: none;
  stroke: rgba(124, 58, 237, 0.2);
  stroke-width: 1;
}

.axis-line {
  stroke: rgba(124, 58, 237, 0.3);
  stroke-width: 1;
}

.skill-area {
  fill: rgba(37, 99, 235, 0.3);
  stroke: #2563EB;
  stroke-width: 2;
}

.skill-label {
  font-size: 0.75rem;
  fill: #E2E8F0;
  text-anchor: middle;
}

.detailed-feedback {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  
  h3 {
    color: #E2E8F0;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

.skill-ratings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.skill-rating {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 6px;
  padding: 1rem;
  border-left: 3px solid #7C3AED;
}

.skill-info {
  margin-bottom: 0.5rem;
  
  h4 {
    color: #E2E8F0;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
}

.rating-bar {
  height: 10px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 5px;
  position: relative;
  margin-bottom: 0.25rem;
}

.rating-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #7C3AED, #2563EB);
  transition: width 0.5s ease;
}

.rating-value {
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 0.75rem;
  color: #94A3B8;
}

.skill-description {
  color: #94A3B8;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.improvement-suggestions {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  
  h3 {
    color: #E2E8F0;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

.improvement-item {
  margin-bottom: 1.5rem;
  
  &:last-child {
    margin-bottom: 0;
  }
  
  h4 {
    color: #E2E8F0;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
    
    &::before {
      content: '⬥';
      position: absolute;
      left: 0;
      color: #7C3AED;
    }
  }
  
  ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin: 0;
    
    li {
      position: relative;
      padding-left: 1rem;
      margin-bottom: 0.5rem;
      color: #94A3B8;
      font-size: 0.875rem;
      line-height: 1.5;
      
      &::before {
        content: '•';
        position: absolute;
        left: 0;
        color: #7C3AED;
      }
    }
  }
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

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