.ssi-sticky-side-icon {
    position: fixed;
    top: 50%;
    right: 10px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: #ffffff;
    background: linear-gradient(135deg, #1ab69d 0%, #276ef1 100%);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(17, 18, 18, 0.2);
    text-decoration: none;
    transform: translateY(-50%);
    transition: transform 180ms ease, box-shadow 180ms ease;
    animation: ssi-float 2.8s ease-in-out infinite;
}

.ssi-sticky-side-icon:hover,
.ssi-sticky-side-icon:focus {
    color: #ffffff;
    animation: none;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 16px 36px rgba(17, 18, 18, 0.24);
    outline: none;
}

.ssi-sticky-side-icon:focus-visible {
    outline: 3px solid rgba(26, 182, 157, 0.35);
    outline-offset: 4px;
}

.ssi-sticky-side-icon__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
}

.ssi-sticky-side-icon__label {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    max-width: 220px;
    padding: 8px 14px;
    color: #ffffff;
    background: #181818;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(17, 18, 18, 0.18);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate(8px, -50%);
    transition: opacity 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.ssi-sticky-side-icon__label::after {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #181818;
    content: "";
    transform: translateY(-50%);
}

.ssi-sticky-side-icon:hover .ssi-sticky-side-icon__label,
.ssi-sticky-side-icon:focus .ssi-sticky-side-icon__label {
    opacity: 1;
    transform: translate(0, -50%);
}

.ssi-sticky-side-icon__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ssi-math-icon__halo {
    fill: rgba(255, 255, 255, 0.16);
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 2;
    transform-origin: center;
    animation: ssi-pulse 2.4s ease-in-out infinite;
}

.ssi-math-icon__paper rect {
    fill: #ffffff;
    stroke: rgba(17, 18, 18, 0.14);
    stroke-width: 1.5;
}

.ssi-math-icon__paper path {
    fill: none;
    stroke: #181818;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.ssi-math-icon__check {
    stroke: #ee4a62 !important;
    stroke-dasharray: 18;
    stroke-dashoffset: 18;
    animation: ssi-draw-check 2.8s ease-in-out infinite;
}

.ssi-math-icon__symbols {
    fill: #f8b81f;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
}

.ssi-math-icon__symbols text {
    animation: ssi-symbol-pop 2.8s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.ssi-math-icon__symbols text:nth-child(2) {
    animation-delay: 0.2s;
}

.ssi-math-icon__symbols text:nth-child(3) {
    animation-delay: 0.4s;
}

.ssi-math-icon__pencil {
    fill: #ffcf5a;
    stroke: #181818;
    stroke-linejoin: round;
    stroke-width: 1.4;
    transform-origin: 48px 44px;
    animation: ssi-pencil-mark 2.8s ease-in-out infinite;
}

@keyframes ssi-float {
    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 6px));
    }
}

@keyframes ssi-pulse {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

@keyframes ssi-draw-check {
    0%,
    28% {
        stroke-dashoffset: 18;
    }

    48%,
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes ssi-symbol-pop {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.88;
    }

    45% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@keyframes ssi-pencil-mark {
    0%,
    100% {
        transform: rotate(0deg) translate(0, 0);
    }

    45% {
        transform: rotate(-7deg) translate(-1px, 1px);
    }
}

@media (max-width: 575px) {
    .ssi-sticky-side-icon {
        width: 56px;
        height: 56px;
    }

    .ssi-sticky-side-icon__icon {
        width: 40px;
        height: 40px;
    }

    .ssi-sticky-side-icon__label {
        max-width: 180px;
        min-height: 36px;
        padding: 7px 12px;
        font-size: 13px;
    }
}
