/* Profile page styles */

.profile-page {
  padding: 36px 64px 64px;
  max-width: 700px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.profile-avatar {
  width: 72px; height: 72px;
  font-size: 24px;
}

.profile-header-info h1 { margin-bottom: 2px; }

.profile-card {
  margin-bottom: 20px;
}
.profile-card h3 { margin-bottom: 12px; }

.profile-edit-row {
  display: flex;
  gap: var(--space-3);
}
.profile-edit-row .input { flex: 1; }

.profile-feedback {
  font-size: 13px;
  margin-top: 8px;
}
.profile-feedback.hidden { display: none; }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.profile-stat-val {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
}

.profile-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .profile-page { padding: 24px 28px 48px; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
  .profile-page { padding: 20px 18px 40px; }
  .profile-header { flex-direction: column; text-align: center; }
  .profile-edit-row { flex-direction: column; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .profile-stat-val { font-size: 22px; }
}
