.cbtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--on-background-color);
    color: var(--on-text-color);
    padding: 1rem;
    text-align: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.cbtn-primary {
    background: var(--primary-color);
    color: var(--on-text-color);
}

.cbtn-success {
    background: var(--success-color);
    color: var(--on-text-color);
}

.cbtn-danger {
    background: var(--danger-color);
    color: var(--on-text-color);
}

.cbtn:hover {
    opacity: 0.8;
}

.cbtn:disabled {
    background: var(--gray-color);
    cursor: not-allowed;
}

.cbtn:disabled:hover {
    opacity: 1;
}

.cbtn__spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--on-text-color);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

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