.root {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    justify-content: center;
    position: relative;
    border-radius: var(--border-radius-full);
    overflow: hidden;
}

.root[data-size="xl"] {
    width: 96px;
    height: 96px;

    & .editableIcon {
        width: 24px;
        height: 24px;
        padding: 3px;
    }
}

.root[data-size="lg"] {
    width: 64px;
    height: 64px;

    & .editableIcon {
        width: 16px;
        height: 16px;
        padding: 2px;
    }
}

.root[data-size="md"] {
    width: 48px;
    height: 48px;

    & .editableIcon {
        width: 12px;
        height: 12px;
        padding: 1px;
    }
}

.root[data-size="sm"] {
    width: 32px;
    height: 32px;
}

.root[data-size="xs"] {
    width: 24px;
    height: 24px;
}

.imageContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-full);
    border: var(--border-width-sm) solid #F8F4EE;
    overflow: hidden;
}

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

.textContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    background-color: var(--color-bg-fill-primary);
}

.name {
    color: var(--color-text-primary-inverted);
}

.editableContainer {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 31%;
    background-color: rgba(20, 18, 16, 0.80);
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.root:hover .editableContainer {
    display: flex;
}

.editableIcon {
    color: #FFFEFC;
}
