body {
    margin: 0;
    padding: 0;

	background: linear-gradient(to right, #283e51, #4e79a7);
	font-family: sans-serif;
	font-weight: 100;
	font-size: 12px;
}

.table-container {
    max-width: 1200px;
    margin: 20px auto;
    overflow: auto; /* Enable horizontal scrolling */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 5px;
    text-align: left;
    white-space: nowrap;
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

thead {
		background-color: #49506e;
}

tr:hover {
			background-color: rgba(255,255,255,0.3);
}

caption {
    caption-side: top;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    font-size: 12px;
}

@media (max-width: 768px) {
    th, td {
        font-size: 10px; /* Reduce font size for smaller screens */
        white-space: normal; /* Allow text wrapping on smaller screens */
    }

    table {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    .checkbox-wrapper{
      margin-top: 20px;
      text-align: center;
    }
}

@media (min-width: 768px) {
    .table-container {
        display: flex;
        justify-content: space-between;
    }

    table {
        width: 48%;
    }

    /* Add margin between tables on larger screens */
    table:first-child {
        margin-right: 2%;
    }

    .checkbox-wrapper{
      position: -webkit-sticky; /* Safari */
      position: sticky;
      top: 10px;
      margin-left: 5px;
    }
}



#last_update_time {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}




.checkbox-wrapper input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper label {
    position: relative;
    padding-left: 2em;
    padding-right: 1em;
    line-height: 2;
    cursor: pointer;
    display: inline-flex;
}

.checkbox-wrapper label:before {
    box-sizing: border-box;
    content: " ";
    position: absolute;
    top: 0.3em;
    left: 0;
    display: block;
    width: 1.4em;
    height: 1.4em;
/*    border: 2px solid #9098A9;*/
    border-radius: 6px;
    z-index: -1;
}

.checkbox-wrapper input[type=checkbox]:checked + label {
    padding-left: 1em;
    color: #202221;
}

.checkbox-wrapper input[type=checkbox]:checked + label:before {
    top: 0;
    width: 100%;
    height: 2em;
    background: white;
    opacity: 0.5;
/*    border-color: #2cbc63;*/
}

.checkbox-wrapper label,
.checkbox-wrapper label::before {
    transition: 0.25s all ease;
    color: white;
    font-weight: bold;
}