﻿

/* Overlay styles */
.size-overlay {
    position: fixed; /* Stay in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    z-index: 1000; /* Ensure it's on top */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}
.chart-visible{
    display:flex;
}
.chart-hide {
    display: none; /* Hidden by default */
}
/* Overlay content styles */
.overlay-content {

    position: relative;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

    .overlay-content img {
        max-width: 100%;
        max-height: 80vh; /* Constrain the image size */
    }
.size-header button{
    border: none;
    background-color: transparent;
    text-decoration: underline;
    text-underline-offset:0.2rem;
    color:black;

}
.size-header button:hover {
    color:black;
}
/* Close button styles */
.overlay-content button {
    position:absolute;
    background-color: transparent;
    top:5px;
    right:5px;
    border: none;
    
}
.overlay-content button svg {
    stroke-width:2px;
    width:40px;
    height:40px;
}
        .overlay-content button svg:hover {

        }
