#pgs-cursor {
    position: fixed;
    z-index: 1046;
    left: 0;
    top: 0;
    pointer-events: none;
}

.cursor-style {
    cursor: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor__circle {
        width: 35px;
        height: 35px;
        margin-top: -50%;
        margin-left: -50%;
        border-radius: 50%;
        border-width: var(--pgs_cursor_border_width);
        border-style: var(--pgs_cursor_border_style);
        border-color: var(--pgs_cursor_border_color);
        transition:
            opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #pgs-cursor.text .cursor__circle,
    #pgs-cursor.arrow .cursor__circle {
        width: var(--pgs_cursor_size, 100px);
        height: var(--pgs_cursor_size, 100px);
        border: none;
        background-color: var(--pgs_cursor_bg_color);
        border-radius: var(--pgs_cursor_border_radius);
    }

    #pgs-cursor.text .cursor__circle i {
        display: none;
    }

    #pgs-cursor.arrow .cursor__circle i {
        color: var(--pgs_cursor_text_color);
        font-size: 22px;
    }

    #pgs-cursor.text::after {
        content: '';
        position: absolute;
        left: -50%;
        top: -50%;
        width: 100%;
        height: 100%;
        color: var(--pgs_cursor_text_color);
        font-size: var(--pgs_cursor_text_size, 18px);
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #pgs-cursor::after {
        content: attr(data-cursor_text) !important;
    }

    #pgs-cursor.arrow::after {
        content: '' !important;
        position: absolute;
        left: -50%;
        top: -50%;
        width: 100%;
        height: 100%;
        color: var(--pgs_cursor_text_color);
        font-size: 18px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: var(--pgs_cursor_url);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
    }

    #pgs-cursor.cursor-link .cursor__circle {
        opacity: 0;
        width: 0;
        height: 0;
    }

    #pgs-cursor.cursor-link::after {
        content: normal;
        opacity: 0;
    }

    #pgs-cursor.overlay .cursor__circle {
        width: 48px;
        height: 48px;
        background-color: rgba(227, 222, 193, 0.08);
        border-color: transparent;
    }

    #pgs-cursor.pgs-cursor-blur.text .cursor__circle,
    #pgs-cursor.pgs-cursor-blur.arrow .cursor__circle {
        backdrop-filter: blur(10px);
    }

    .pgs-cursor-default-arrow {
        width: 32px;
        height: 32px;
        background-image: url('../../images/left-right-arrow.svg');
        background-size: 32px;
        background-repeat: no-repeat;
        background-position: center;
    }
}