.ric-zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 999999;
    outline: none;
}

.ric-zoom-image {
    max-width: min(1200px, 95vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    transition: opacity 120ms ease;
}

.avec-zoom {
    &:hover {
        cursor: zoom-in;
    }
}
.ric-close-button {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 0;
    position: absolute;
    right: calc(env(safe-area-inset-right) + 16px);
    top: calc(env(safe-area-inset-top) + 16px);
    z-index: 5000000;
    background: none;
    border: none;
    fill: #000000;
    &:hover {
        background-color: transparent !important;
    }
}

.ric-zoom-spinner{
    width: 40px;
    height: 40px;
    margin: 24px auto;
    border: 3px solid rgba(0,0,0,.25);
    border-top-color: #000000;
    border-radius: 50%;
    animation: ric-zoom-spin .8s linear infinite;
}

@keyframes ric-zoom-spin{
    to { transform: rotate(360deg); }
}

