/* Custom styles for the update group info modal */
.update-group-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.update-group-avatar-preview {
    position: relative;
    width: 96px;
    height: 96px;
    cursor: pointer;
}

.update-group-avatar-preview img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--background-modifier-accent);
}

.update-group-avatar-preview .edit-avatar-button {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background-color: var(--background-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-low);
    transition: background-color 0.2s ease;
}

.update-group-avatar-preview:hover .edit-avatar-button {
    background-color: var(--background-secondary);
}

.update-group-avatar-preview .edit-avatar-button img {
    width: 16px;
    height: 16px;
    border: none;
}

[data-theme="light"] .update-group-avatar-preview .edit-avatar-button img {
    filter: brightness(0.5);
}