.genai-toolbar-icon {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 25px;
    height: 25px;
    display: block;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.genai-toolbar-icon.calculating {
    animation: spin 1s linear infinite;
    /* use a different spinner image while calculating, specify it here */
    /* background-image: url('path_to_your_spinner_image.png'); */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
}