.user-avatar {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.user-profile-avatar {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.user-stats-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.user-stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.user-stats-table td {
  padding: 0.35rem 0;
  vertical-align: top;
}

.user-stats-table td:first-child {
  width: fit-content;
  white-space: nowrap;
  padding-right: 1rem;
}

.user-stats-table a {
  text-decoration: none;
}

.user-stats-table a:hover {
  text-decoration: underline;
}

.avatar-preview-container {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.avatar-remove-btn {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--fg-secondary);
}

.avatar-remove-btn:hover {
  color: var(--red);
}

.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
