body {
    font-family: Arial, sans-serif;
    margin: 20px;
    line-height: 1.6;
    color: #333;
}

a,
span {
    color: #007BFF;
    text-decoration: none;
}

hr {
    border: 1px solid #ddd;
    margin: 20px 0;
}

.reference-table {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-text {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1;
    width: 18vw;
}

.reference-table:hover .tooltip-text {
    display: block;
}

.notice {
    color: red;
    padding: 10px;
    font-weight: bold;
    background-color: #ffebee;
    border: 1px solid #f44336;
    margin-bottom: 20px;
}

.notice span {
    color: #f00 !important;
}

.notice a {
    font-size: 25px;
    display: block;
}

.notice .small {
    font-size: 18px;
}

caption {
    caption-side: bottom;
    padding: 10px;
    font-weight: bold;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

caption {
    caption-side: bottom;
    padding: 10px;
    font-weight: bold;
    background-color: #fff;
}

thead {
    background-color: rgb(228, 240, 245);
    border: 1px solid #c4c4c4;
}

th,
td {
    padding: 5px 10px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #c4c4c4;
}

td.active {
    background: #a5d1ff !important;
}

th {
    background-color: #f1f1f1;
    border: 1px solid #c4c4c4;
}

tbody>tr:nth-of-type(even) {
    background-color: rgb(237, 238, 242);
}

tbody>tr:hover {
    background-color: rgb(220, 230, 235);
    color: #333;
}

tbody>tr {
    transition: all 0.3s ease;
}

tbody>tr {
    border: 1px solid #c4c4c4;
}

td:last-of-type {
    text-align: center;
}

tbody:has(> tr:hover)>tr:not(:hover) {
    opacity: 0.6;
}

table {
    font-family: sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}

.intensity-1 {
    color: white;
    background-color: #003264;
}

.intensity-2 {
    color: white;
    background-color: #0064C8;
}

.intensity-3 {
    color: white;
    background-color: #1E9632;
}

.intensity-4 {
    color: black;
    background-color: #FFC800;
}

.intensity-5 {
    color: black;
    background-color: #FF9600;
}

.intensity-6 {
    color: black;
    background-color: #FF6400;
}

.intensity-7 {
    color: white;
    background-color: #FF0000;
}

.intensity-8 {
    color: white;
    background-color: #C00000;
}

.intensity-9 {
    color: white;
    background-color: #9600C8;
}

.lpgm-1 {
    color: white;
    background-color: #0041ff;
}

.lpgm-2 {
    color: #333333;
    background-color: #ffe600;
}

.lpgm-3 {
    color: white;
    background-color: #ff2800;
}

.lpgm-4 {
    color: white;
    background-color: #a50021;
}

.reference-table {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgb(173, 148, 83);
}

.reference-table a {
    display: block;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3;
}

#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

#loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

.spinner-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}