body {
    background-color: #E6E6E6;
}

#loading-screen {
    display: flex;
    width: 100%;
    padding: 5px 0 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2980B9;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

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

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

#main-content {
    display: none;
}

#figure-output {
    display: grid;
    place-items: center;
}

#figure-output>.figure-layer {
    grid-area: 1 / 1;
    display: grid;
    place-items: center;
}

.figure-layer.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.figure-layer.is-passive {
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

table {
    margin: 0 auto;  /* Center the table */
    border-collapse: collapse;  /* Remove double borders */
    width: auto;  /* Or set a specific width */
    margin-bottom: 20px;
    font-size: large;
    font-family: serif;
}

table td, table th {
    border: 1px solid #ddd;  /* Light gray borders */
    padding: 8px;  /* Add some spacing */
    text-align: center;  /* Center cell content */
    min-width: 70px;
}

table tr {
    border-bottom: 1px solid #ddd;  /* Dividing lines between rows */
}

table tr.ruler-bottom {
    border-bottom: 2px solid #bbb;  /* Thicker darker line for rulers */
}

table td.ruler-left {
    border-left: 2px solid #bbb;  /* Thicker darker line for rulers */
}

.inferred-scales {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: medium;
    font-family: serif;
    text-align: center;
    display: block;
    justify-content: center;
}