/* Profile page specific styles */

body {
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(37, 37, 38, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.header h1 {
  color: #4ec9b0;
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-links a:hover {
  background: rgba(78, 201, 176, 0.2);
}

.profile-card {
  background: rgba(37, 37, 38, 0.9);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.career-level {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(78, 201, 176, 0.1);
  border-radius: 8px;
  border-left: 4px solid;
}

.career-level-icon {
  font-size: 64px;
}

.career-level-info h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.career-level-info p {
  color: #858585;
  font-size: 14px;
}

.experience-bar {
  margin-top: 20px;
}

.experience-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.experience-bar-bg {
  height: 24px;
  background: #3c3c3c;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.experience-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ec9b0, #5dd9c0);
  border-radius: 12px;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e1e1e;
  font-weight: 600;
  font-size: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(60, 60, 60, 0.5);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.stat-card-value {
  font-size: 32px;
  font-weight: 700;
  color: #4ec9b0;
  margin-bottom: 8px;
}

.stat-card-label {
  color: #858585;
  font-size: 14px;
}

.career-path {
  margin-top: 30px;
}

.career-path h3 {
  margin-bottom: 20px;
  color: #4ec9b0;
}

.career-path-timeline {
  position: relative;
  padding-left: 40px;
}

.career-path-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #3c3c3c;
}

.career-path-item {
  position: relative;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(60, 60, 60, 0.3);
  border-radius: 8px;
  border-left: 3px solid #3c3c3c;
}

.career-path-item.completed {
  border-left-color: #4ec9b0;
  background: rgba(78, 201, 176, 0.1);
}

.career-path-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3c3c3c;
  border: 3px solid #1e1e1e;
}

.career-path-item.completed::before {
  background: #4ec9b0;
  border-color: #4ec9b0;
}

.career-path-item h4 {
  color: #4ec9b0;
  margin-bottom: 8px;
}

.career-path-item p {
  color: #858585;
  font-size: 14px;
}

.achievements {
  margin-top: 30px;
}

.achievements h3 {
  margin-bottom: 20px;
  color: #4ec9b0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.achievement-card {
  background: rgba(60, 60, 60, 0.5);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.achievement-card.unlocked {
  border-color: #4ec9b0;
  background: rgba(78, 201, 176, 0.1);
}

.achievement-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.achievement-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #e0e0e0;
}

.achievement-desc {
  font-size: 12px;
  color: #858585;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #858585;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 15px;
  }

  .career-level {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
