.table-container {
    flex: 1; 
    overflow-y: auto; 
    width: 390px;
    padding-right: 10px;
    display: flex; /* Use flexbox for alignment */
    justify-content: flex-end; /* Align content to the right */
}

::-webkit-scrollbar {
    height: 36px; 
    background-color: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background-color: #007BFF; 
    border-radius: 18px;
}

::-webkit-scrollbar-track {
    background-color: #f0f0f0; 
}

table {
    margin-top: 5px;
    margin-left: 5px;
    border-collapse: collapse;
    font-size: 20px;
    color: #808080;
    background-color: #f0f0f0;
    border-radius: 1px solid #8A8A8A;
}

#metTable th, #metTable td  {
    width: 80px;
    height: 26px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #8A8A8A;
    line-height: 0.5;
    text-align: center;
}

.toggle-button {
    padding: 2px 2px;
    margin: 2px;
    width: 75px;
    background-color: #007BFF;
    font-size: 18px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, inset 0px 0px 0px 0px rgba(0,0,0,0.3);
}

.toggle-button.up {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
}

.toggle-button.down {
    background-color: #0AF648;
    color: black;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), inset 0px -2px 4px rgba(0, 0, 0, 0.3);
}

    
/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    padding: 5px 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip button { /* Add this style */
    position: relative; 
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}