body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f4f4f4;
    margin: 0;
    overflow-x: auto; /* Ensures content fits on mobile screens */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows the header items to wrap on smaller screens */
}

.header img {
    max-height: 60px; /* Smaller logos for mobile */
    margin: 10px; /* Ensures spacing around logos */
}

.search-container {
    flex-grow: 1; /* Allows the search container to fill available space */
    display: flex;
    justify-content: center;
    padding: 10px;
}

#searchInput, button {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button {
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}

#subPageContainer {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    clear: both;
}

table.report {
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table.report th, table.report td {
    text-align: left;
    padding: 12px;
    border-right: 1px solid #ddd; /* Add border to the right of each cell */
}

table.report th:last-child, table.report td:last-child {
    border-right: 1px solid #000; /* Remove border for the last cell in each row */
}

table.report tr:last-child td {
    border-bottom: 1px solid #000; /* Add border at the bottom of the last row */
}

table.report tr:nth-child(even) {
    background-color: #f2f2f2; /* Light grey for even rows */
}

table.report tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Target even columns */
table.report td:nth-child(even) {
    background-color: #eef7f3; /* Very light and soft green for even columns */
}

table.report th {
    background-color: #04AA6D;
    color: white;
}

table.report td {
    border-bottom: 1px solid #ddd;
}

.footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer img {
    max-height: 50px; /* Adjusted for consistent sizing */
    margin-top: 10px;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }
    
    .header img {
        max-height: 50px; /* Further reduce size for very small screens */
    }

    .search-container {
        flex-direction: column; /* Stack input and button vertically */
    }

    #searchInput, button {
        margin: 4pt;
    }
}