/* Button styles */

.button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.button.primary {
    background-color: #4CAF50;
    color: white;
}

.button.secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.button:hover {
    opacity: 0.9;
}

.button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.button.completed {
    background-color: #4CAF50;
    color: white;
}


/* Spinner for loading states */

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}