@charset "UTF-8";
@layer bf-reset, bf-base, bf-auto, bf-tokens, bf-components, bf-utilities, bf-overrides;
@layer bf-components {
  /* Avatar — square or circular monogram / image. Modeled on Radix's
     AvatarRoot/Image/Fallback split. The fallback styling lives directly on
     `.bf-avatar` so consumers don't have to nest an extra element. */
  .bf-avatar {
    --_size: 32px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    width: var(--_size);
    height: var(--_size);
    border-radius: 50%;
    background-color: var(--bf-color-primary-soft);
    color: var(--bf-color-primary-11);
    font-size: calc(var(--_size) * 0.4);
    font-weight: var(--bf-weight-semibold);
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  .bf-avatar img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: inherit;
  }
  /* Sizes */
  .bf-avatar--xs {
    --_size: 20px;
  }
  .bf-avatar--sm {
    --_size: 24px;
  }
  .bf-avatar--md {
    --_size: 32px;
  }
  .bf-avatar--lg {
    --_size: 40px;
  }
  .bf-avatar--xl {
    --_size: 56px;
  }
  .bf-avatar--2xl {
    --_size: 72px;
  }
  /* Square variant — Radix uses radius-2..6 depending on size; we keep one
     token because BAPP avatars are rarely > 72px. */
  .bf-avatar--square {
    border-radius: var(--bf-radius-md);
  }
  /* Solid variant — accent-9 fill with on-color text (Radix `solid`). */
  .bf-avatar--solid {
    background-color: var(--bf-color-primary-9);
    color: var(--bf-color-on-primary);
  }
  /* Status dot */
  .bf-avatar__status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25%;
    height: 25%;
    min-width: 6px;
    min-height: 6px;
    border-radius: 50%;
    border: 2px solid var(--bf-color-bg-base);
    background-color: var(--bf-color-text-subtle);
  }
  .bf-avatar__status--online {
    background-color: var(--bf-color-success-solid);
  }
  .bf-avatar__status--busy {
    background-color: var(--bf-color-danger-solid);
  }
  .bf-avatar__status--away {
    background-color: var(--bf-color-warning-solid);
  }
  .bf-avatar__status--offline {
    background-color: var(--bf-color-text-subtle);
  }
  /* Avatar group — overlapping circles */
  .bf-avatar-group {
    display: inline-flex;
    align-items: center;
  }
  .bf-avatar-group .bf-avatar {
    border: 2px solid var(--bf-color-bg-base);
    margin-left: -8px;
  }
  .bf-avatar-group .bf-avatar:first-child {
    margin-left: 0;
  }
  /* Crown / VIP marker (matches "Marley Herwitz" with the crown in the screenshots) */
  .bf-avatar__badge {
    position: absolute;
    top: -2px;
    left: -2px;
    font-size: 10px;
    color: var(--bf-color-warning-fg);
  }
} /* end @layer */
/*# sourceMappingURL=bf.avatar.css.map */
