body {
    font-family: 'JetBrains Mono', monospace;
    padding: 16px;
    background: linear-gradient(135deg, #c0d6e4 0%, #e8f0f8 100%);
    color: #000080;  /* classic navy blue text */
    font-size: 14px;
    line-height: 1.5;
}

.intro {
    text-align: center;
    margin-bottom: 24px;
}

.content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.left {
    width: 55%;
    background: #f0f0f0;
    border: 3px solid #000080;  /* thick navy border */
    padding: 16px;
    box-sizing: border-box;
    box-shadow:
        inset 2px 2px 0 #ffffff,
        inset -2px -2px 0 #000080;
    border-radius: 0;  /* sharp edges like old ui */
}

.right {
    width: 45%;
    background: #f0f0f0;
    border: 3px solid #000080;  /* thick navy border */
    padding: 16px;
    box-sizing: border-box;
    box-shadow:
        inset 2px 2px 0 #ffffff,
        inset -2px -2px 0 #000080;
    border-radius: 0;  /* sharp edges like old ui */
}

h3 {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #000080;
    border-bottom: 2px dotted #000080;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.centered {
    text-align: center;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
    background: #fefefe;
    border: 2px solid #000080;
    box-shadow:
        2px 2px 0 #ffffff,
        -2px -2px 0 #000080;
    font-size: 13px;
}

th {
    background-color: #000080;
    color: #fff;
    padding: 6px 10px;
    border: 2px solid #000080;
}

td {
    border: 2px solid #000080;
    padding: 6px 10px;
    color: #000080;
}

tbody tr:nth-child(even) {
    background-color: #d0d8e8;
}

tbody tr:nth-child(odd) {
    background-color: #e8f0f8;
}

caption {
    font-size: 20px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 8px;
    text-align: center;
}

a {
    color: #0000cd;
    text-decoration: underline dotted;
}

a:hover {
    color: #ff0000;
    text-decoration: underline;
}

footer {
    border-top: 2px dotted #000080;
    padding: 12px 16px;
    font-size: 12px;
    color: #000080;
    text-align: center;
    margin-top: 48px;
    font-weight: 600;
    background: #f0f0f0;
}

/* responsive layout for small screens */
@media (max-width: 600px) {
    .content {
        flex-direction: column;  /* stack vertically */
        gap: 16px;  /* smaller gap between stacked blocks */
        max-width: 100%;  /* allow full width on mobile */
    }

    .left, .right {
        width: 100%;  /* full width */
        box-shadow: none;  /* optional: simplify shadows on small screens */
        border-radius: 4px;  /* slightly rounded edges for mobile */
    }

    body {
        font-size: 16px;  /* slightly bigger text on small screens */
    }

    table {
        font-size: 14px;  /* increase table font size for readability */
    }
}
