.button {
    background-color: #4f39f6;
    border: none;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
}

.button:hover {
    background-color: #615fff;
}

.button svg {
    height: 100%;
    width: 100%;
}

.button.recording {
    animation: pulsate 1s infinite ease-in-out;
}

@keyframes pulsate {
    0% {
        box-shadow: 0 0 0 #4f39f6;
    }
    50% {
        box-shadow: 0 0 0.5rem #4f39f6;
    }
}



#recorder {
    position: absolute;
    z-index: 30;
    padding: 0.25rem;
    display: none;
    cursor: pointer;
}

#recorder.active, #recorder:hover {
    display: block;
}

.progress-circle {
    --progress: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: conic-gradient(
            #4f39f6 calc(var(--progress) * 1%),
            #eef2ff 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1rem;
    font-family: sans-serif;
    color: #4f39f6;
}

.progress-circle::before {
    content: attr(data-progress);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: white;
    border-radius: 50%;
}

.progress-circle:hover::before {
    content: 'X';
    cursor: pointer;
    background-color: #ff637d;
    color: black;
}

.progress-container {
    position: absolute;
    padding: 0.25rem;
}