
.button-card {
    position: relative;
    align-content: center;
    min-width: 80px;
    padding: 6px;
    margin: 4px;
    text-align: center;
    transition: transform 0.1s ease-in-out;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.button-card:active {
    transform: scale(0.95);
}

.icon {
    display: flex;
    justify-content: center;
    padding: 4px 0;
    font-size: 25px;
}


.progress {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid #4d4d4d;
    animation: spin 1s linear infinite;
    display: none;
}

.progress.success {
    animation: none;
    background-color: #5bcd75;
    border: none;
    margin: 2px;
    width: 6px;
    height: 6px;
}

.progress.error {
    animation: none;
    background-color: #f65f6f;
    border: none;
    margin: 2px;
    width: 6px;
    height: 6px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}