.magnet-widget-wrapper-437dbbfc {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 2em; /* Ensure space for particles */
    --particle-color: rgba(100, 100, 255, 0.4);
    --particle-max-size: 6px;
}

.magnet-particles-container-437dbbfc {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}

.magnet-particle-437dbbfc {
    position: absolute;
    width: var(--particle-max-size);
    height: var(--particle-max-size);
    background-color: var(--particle-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    will-change: left, top;
}

.magnet-btn-437dbbfc {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #5a189a;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 1;
    border: 1px solid transparent;
    --hover-bg-set: 0;
}

/* Default hover background darkens original element if custom color isn't provided */
.magnet-btn-437dbbfc:hover {
    color: #fff;
    filter: brightness(0.85); /* Slightly darker fallback */
}

/* Disable the default filter if user explicitly set a hover background color */
.magnet-btn-437dbbfc[style*="--hover-bg-set: 1;"]:hover,
.magnet-widget-wrapper-437dbbfc[style*="--hover-bg-set: 1;"] .magnet-btn-437dbbfc:hover {
    filter: none;
}

.magnet-btn-icon-left {
    margin-inline-end: 8px;
}

.magnet-btn-icon-right {
    margin-inline-start: 8px;
}

.magnet-btn-icon {
    display: inline-flex;
    align-items: center;
}

.magnet-btn-437dbbfc svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    transition: fill 0.3s ease;
}