/* Avatar Picker Component */
.avatar-picker {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.avatar-picker__preview {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--card-bg, #23242a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 2px solid var(--primary, #2ec4b6);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.avatar-picker__preview:hover {
  transform: scale(1.03);
}

.avatar-picker__preview:active {
  transform: scale(0.98);
}

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

.avatar-picker__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted-bg, #495057);
  border-radius: 50%;
}

.avatar-picker__initials {
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  text-transform: uppercase;
}

.avatar-picker__hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  font-size: 0.72rem;
  color: #f7f9fb;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.avatar-picker__preview:not(.has-image) .avatar-picker__hint {
  background: rgba(46, 196, 182, 0.22);
  color: #d8f7f2;
}

.avatar-picker__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.avatar-picker__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.avatar-picker__note {
  font-size: 0.85rem;
  color: var(--muted-text, #9aa4b5);
  line-height: 1.4;
}

/* Size variants */
.avatar-picker--small .avatar-picker__preview {
  width: 64px;
  height: 64px;
}

.avatar-picker--small .avatar-picker__initials {
  font-size: 1.4rem;
}

.avatar-picker--small .avatar-picker__hint {
  font-size: 0.65rem;
  padding: 4px 6px;
}

.avatar-picker--large .avatar-picker__preview {
  width: 128px;
  height: 128px;
}

.avatar-picker--large .avatar-picker__initials {
  font-size: 2.8rem;
}

.avatar-picker--large .avatar-picker__hint {
  font-size: 0.8rem;
  padding: 8px 10px;
}
