<style>
/* Normal graph */
.diamond-chart-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.diamond-chart-image:hover {
    transform: scale(1.015);
    opacity: 0.95;
}


/* Full screen popup background */
.diamond-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    background: rgba(5, 12, 28, 0.92);
    backdrop-filter: blur(5px);

    align-items: center;
    justify-content: center;

    padding: 30px;
    box-sizing: border-box;
}


/* Large popup image */
.diamond-lightbox-image {
    max-width: 95vw;
    max-height: 92vh;
    width: auto;
    height: auto;

    object-fit: contain;

    background: #ffffff;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
    
    animation: diamondZoomIn 0.25s ease;
}


/* Close X button */
.diamond-lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;

    background: rgba(0,0,0,0.35);
    color: white;

    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 40px;

    cursor: pointer;
    z-index: 100000;

    transition: all 0.2s ease;
}

.diamond-lightbox-close:hover {
    background: #c6922b;
    border-color: #c6922b;
}


/* Opening animation */
@keyframes diamondZoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Mobile */
@media (max-width: 768px) {

    .diamond-lightbox {
        padding: 15px;
    }

    .diamond-lightbox-image {
        max-width: 98vw;
        max-height: 88vh;
    }

    .diamond-lightbox-close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;
        font-size: 30px;
    }
}
</style>