/* HSWM Custom Cursor */
html.hswm-cursor-active,
html.hswm-cursor-active body,
html.hswm-cursor-active a,
html.hswm-cursor-active button,
html.hswm-cursor-active input,
html.hswm-cursor-active textarea,
html.hswm-cursor-active select,
html.hswm-cursor-active [role="button"],
html.hswm-cursor-active [onclick] {
    cursor: none !important;
}

.hswm-cursor-dot,
.hswm-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    border-radius: 50%;
    transition:
        opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
        height 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
        margin 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.32s ease,
        border-color 0.32s ease;
    will-change: transform;
}

.hswm-cursor-dot {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: #6260d1;
    box-shadow: 0 0 12px rgba(98, 96, 209, 0.85);
}

.hswm-cursor-ring {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(98, 96, 209, 0.45);
    background: rgba(30, 29, 109, 0.1);
}

html.hswm-cursor-active.hswm-cursor-hover .hswm-cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

html.hswm-cursor-active.hswm-cursor-hover .hswm-cursor-ring {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    border-color: #6260d1;
    background: rgba(98, 96, 209, 0.15);
}

@media (pointer: coarse) {
    .hswm-cursor-dot,
    .hswm-cursor-ring {
        display: none;
    }
}
