/* Wozzy - Avatars & Icons */

/* Icons */
.icon-xs {
    width: 14px;
    height: 14px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.icon-xl {
    width: 32px;
    height: 32px;
}

/* Avatars */
.avatar {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    box-sizing: border-box;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar--xs {
    width: 24px;
    height: 24px;
}

.avatar--sm {
    width: 32px;
    height: 32px;
}

.avatar--md {
    width: 44px;
    height: 44px;
}

.avatar--lg {
    width: 64px;
    height: 64px;
}

.avatar--xl {
    width: 128px;
    height: 128px;
}

.avatar--xxl {
    width: 160px;
    height: 160px;
}

/* Ensure SVG avatars fit within container */
.avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Avatar + Page Badge Group (overlapping, same size) */
.avatar-group {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.avatar-group .avatar-page {
    z-index: 1;
}

/* Per-size overlap: ~25% of the avatar width (cleaner separation) */
.avatar-group--xs .avatar-page {
    margin-inline-start: -6px;
}

.avatar-group--sm .avatar-page {
    margin-inline-start: -8px;
}

.avatar-group--md .avatar-page {
    margin-inline-start: -11px;
}

.avatar-group--lg .avatar-page {
    margin-inline-start: -16px;
}

.avatar-group--xl .avatar-page {
    margin-inline-start: -32px;
}

.avatar-group--xxl .avatar-page {
    margin-inline-start: -40px;
}