body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f0f0d8; /* Vintage paper color */
    color: #333;
    line-height: 1.5;
}

.container {
    max-width: 960px;
    margin: 2rem auto;
    border: 4px solid #333;
    background-color: #fcfcfc;
    box-shadow: 8px 8px 0px #aaa;
    padding: 1rem;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.title {
    font-size: 2rem;
    color: #d11a2a; /* Pokeball red */
    display: inline-block;
    margin: 0;
    text-align: center;
}

.image-container {
    position: absolute; /* Establishes a positioning context */
    right: 0rem; /* Position from the right */
    width: 64px; /* Set the width of the container */
    height: 48px; /* Set the height of the container */
}
.base-image {
    width: 100%; /* Make the base image responsive */
    height: auto; /* Maintain aspect ratio */
}
.overlay-image {
    position: absolute; /* Position the overlay image absolutely */
    top: 0; /* Align to the top of the container */
    left: 0; /* Align to the left of the container */
    width: 100%; /* Make the overlay image responsive */
    height: auto; /* Maintain aspect ratio */
    opacity: 0.5; /* Optional: make the overlay semi-transparent */
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #333;
    margin-bottom: 0rem;
}

.tab-button {
    background-color: #eee;
    border: 2px solid #333;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-right: 0.25rem;
    margin-bottom: -2px;
    transition: all 0.2s;

}

.tab-button.active {
    background-color: #fcfcfc;
    border-color: #333;
    border-bottom: 0;
    font-weight: bold;
}

.report-section {
    display: none;
    padding: 1rem;
}

.report-section.active {
    display: block;
    background-color: #fcfcfc;
    border: 2px solid #333;
    border-top: 0;
}

#upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border: 2px dashed #999;
    margin-bottom: 2rem;
    background-color: #f4f4f4;
    text-align: center;
}

#file-input {
    display: none;
}

#upload-label {
    background-color: #4a90e2; /* Blue button */
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: 2px solid #1c5292;
    box-shadow: 2px 2px 0px #1c5292;
    margin-top: 1rem;
    transition: background-color 0.2s, box-shadow 0.2s;
}

#upload-label:hover {
    background-color: #357bd9;
    box-shadow: 4px 4px 0px #1c5292;
}

#message-box {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    border: 2px solid #333;
    background-color: #fff;
}

.message-success {
    color: #008000;
}

.message-error {
    color: #d11a2a;
}

.chart-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    flex-direction: column;
}

.chart-container canvas {
    background-color: #fff;
    border: 2px solid #ccc;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.metric-card {
    background-color: #f4f4f4;
    border: 2px solid #333;
    padding: 1rem;
    text-align: center;
}

.metric-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.metric-card p {
    font-size: 1.25rem;
}

.stardust-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.stardust-card {
    background-color: #f4f4f4;
    border: 2px solid #333;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.stardust-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stardust-card p {
    margin-bottom: 0.25rem;
}

table {
    width: 100%;
    height: 100%;
}

.fmtm-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.fmtm-card {
    background-color: #f4f4f4;
    border: 2px solid #333;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.fmtm-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.fmtm-card p {
    margin-bottom: 0.25rem;
}


.cmtm-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.cmtm-card {
    background-color: #f4f4f4;
    border: 2px solid #333;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.cmtm-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cmtm-card p {
    margin-bottom: 0.25rem;
}

.error-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.error-card {
    background-color: #f4f4f4;
    border: 2px solid #333;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.error-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.error-card p {
    margin-bottom: 0.25rem;
}
