/* =========================================================
   MUST PSC — Profile Page Styles
   ========================================================= */

/* ===== PROFILE PAGE ===== */

.profile-page .container {
  max-width: 700px;
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.profile-page .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.profile-page .row {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.profile-page .row:last-of-type {
  border-bottom: none;
}

.profile-page .label {
  font-weight: 600;
  color: var(--gray-500);
  font-size: 13px;
  min-width: 150px;
}

.profile-page .value {
  font-weight: 500;
  color: var(--gray-800);
}

.profile-page .badge {
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--primary-xlight);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
}

.profile-page .actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== PERFORMANCE BARS ===== */

.perf-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.perf-bar-track {
  flex: 1;
  height: 10px;
  background: var(--gray-100);
  border-radius: 99px;
  overflow: hidden;
}

.perf-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.perf-bar-fill.low  { background: var(--bar-low); }
.perf-bar-fill.mid  { background: var(--bar-mid); }
.perf-bar-fill.high { background: var(--bar-high); }

.perf-bar-label {
  font-size: 13px;
  font-weight: 600;
  min-width: 38px;
  text-align: right;
}

.perf-bar-label.low  { color: var(--danger); }
.perf-bar-label.mid  { color: var(--warning); }
.perf-bar-label.high { color: var(--success); }

/* ===== RESPONSIVE ===== */

@media (max-width: 600px) {

  .profile-page .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .profile-page .label {
    min-width: unset;
  }
}