body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

/* Slider container positioned over canvas */
.slider-container-1 {
    position: absolute;
    bottom: 100px;
    left: 250px;
    transform: translateX(-50%);
    width: 300px;
    text-align: center;
}

.slider-container-2 {
    position: absolute;
    bottom: 200px;
    left: 250px;
    transform: translateX(-50%);
    width: 300px;
    text-align: center;
}

/* The range slider */
.slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    height: 10px;
    border-radius: 3px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    background: #4caf50;
    border-radius: 50%;
    cursor: pointer;
}

/* Tooltip above the slider */
.tooltip {
    position: absolute;
    top: -60px;
    background: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 24pt;
    font-family: Arial, Helvetica, sans-serif;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: 0.1s ease-out;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

th,
td {
    padding: 12px 15px;
    border: 1px solid #ccc;
    text-align: left;
}

thead {
    background-color: #3498db;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.info-container {
    width: 100%;
    /* overflow-x: scroll; */
}

#chartCanvas {
    width: 100%;
    /* height: 400px; */
    margin-top: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

#chartCanvas2 {
    width: 100%;
    /* height: 400px; */
    margin-top: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.overlay-content {
    min-width: 50vw;
    max-width: 100vw;
    display: flex;
    /* right side of screen */
    position: absolute;
    right: 5vw;
    /* display: flex; */
    background: rgba(255, 255, 255, 0.881);
    padding: 40px;
    margin: 10px;
    border-radius: 10px;
    /* width: 300px; */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    /* Allow interactions with overlay content */
    /* text-align: center; */
}

.close-btn {
    background: #db4c32;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
}
.overlay-stat {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
}
.emphasis {
    font-weight: bold;
    color: #3498db;
    font-size: 24px;
}
