.image-viewer-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main-dark-grey);
    z-index: 9999;
    cursor: zoom-out;
}

.image-viewer-inner {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-viewer-overlay img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.622);
    cursor: auto;
    border-radius: 4px;
}

.iv-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index:10000;
}

.iv-btn {
    background: rgba(0,0,0,0.45);
    color: var(--main-latte);
    border: 0;
    padding: 8px;
    padding-bottom: 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    user-select: none;
    text-align: center;
    justify-items: center;
}

.iv-btn:focus {
    outline: 2px solid rgba(255,255,255,0.2);
}
