.jz-action-toggle-orbit {
    position: relative;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.jz-action-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0;
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.jz-action-orbit-label {
    fill: var(--primary, #367da1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jz-action-orbit-ring--in {
    animation: jz-action-orbit-spin-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.jz-action-orbit-ring--out {
    animation: jz-action-orbit-spin-out 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes jz-action-orbit-spin-in {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes jz-action-orbit-spin-out {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .jz-action-orbit-ring--in,
    .jz-action-orbit-ring--out {
        animation: none;
    }

    .jz-action-orbit-ring--in {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .jz-action-orbit-ring--out {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg);
    }
}
