.mediaHeader {
  position: relative;
  height: 240px;
  margin-bottom: 56px;
  overflow: visible;
  background: #f5f7f8;
}

.coverUpload {
  position: relative;
  display: flex;
  width: 100%;
  height: 240px;
  margin: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #f5f7f8;
}

.coverImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverPlaceholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #5f6368;
}

.coverChip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.coverEdit {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #9b22e6;
  box-shadow: 0 2px 8px rgba(20, 20, 30, 0.18);
}

.avatarUpload {
  position: absolute;
  z-index: 2;
  bottom: -48px;
  left: 50%;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  transform: translateX(-50%);
  overflow: visible;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #f0f0f0;
  box-shadow: 0 3px 12px rgba(20, 20, 30, 0.2);
  cursor: pointer;
}

.avatarImage {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
}

.avatarEdit {
  position: absolute;
  right: -4px;
  bottom: -2px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #9b22e6;
}

.fileInput {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.hint {
  color: #70777d;
  font-size: 12px;
  line-height: 1.4;
}

.profileHint {
  line-height: 1.35;
}

.profileDisplayField {
  position: relative;
  width: 100%;
  min-height: 40px;
  padding: 8px 36px 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.profileDisplayField h6,
.profileDisplayField p {
  margin: 0;
  color: #667a8a;
}

.profileEditIcon {
  position: absolute;
  top: 0;
  right: 8px;
  display: flex;
  height: 40px;
  align-items: center;
  color: #111;
}

.emailField {
  border-top: 1px solid #e4e7eb;
}

.emailField .input-group-text {
  border-right: 0;
  background: #f3f3f3;
}

.emailField .input-group-text svg {
  width: 16px;
  height: 16px;
}

.emailSwitchRow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.emailSwitchRow .emailSwitchInput {
  float: none;
  flex: 0 0 auto;
  margin: 0;
}

.emailSwitchText {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
  cursor: default;
}

.priorityEmptyNote {
  padding: 16px 8px;
  font-size: 13.5px;
  opacity: 0.75;
}

.priorityImagePicker {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.priorityImageCaption {
  display: block;
  max-width: 100%;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.priorityImagePicker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
