.page-editor-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

// Layout for the user profile editor widget
.user-edit-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delete-user-btn {
  width: 20px;
  height: 20px;
  cursor: pointer;
  align-self: flex-end;
  transition: opacity 0.2s;
}

.delete-user-btn:hover {
  opacity: 0.7;
}


.page-editor-widget label,
.user-edit-widget label {
  font-weight: 500;
}



.user-field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.color-choices {
  display: flex;
  gap: 6px;
}

.color-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background: none;
}
.color-circle.active {
  border-color: var(--user-color);
}

.color-circle.add-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px dashed #ccc;
  color: #555;
}

.color-picker-toggle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--user-color);
}

.color-picker.hidden {
  display: none;
}
