* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: none;
}

.tank_number h1, .pond_number h1 {
    font-family: 'Bebas Neue';
    font-size: 55px;
    text-align: center;
    letter-spacing: 5px;
    margin-top: 1%;
}

.data_summary {
    position: relative;
    margin-left: 3%;
    margin-top: 2%;
}

.data_summary h1 {
    font-family: 'Bebas Neue';
    font-size: 45px;
    letter-spacing: 2px;
    text-align: left;
    font-weight: 300;
}

.data_summary li {
    margin-top: 1%;
    font-size: 20px;
    margin-left: 10px;
}

@media(max-width: 850px) {
    .pond_number h1, .tank_number h1 {
        font-size: 50px;
        margin-top: 2%;
    }

    .data_summary h1 {
        font-size: 35px;
    }

    .data_summary li {
        font-size: 20px;
    }
}

.chart-title {
    display: flex;
    justify-content: space-around;
    width: 100%;
    /* padding: 10px; */
}

.chart-title h2 {
    flex: 1;
    text-align: center;
}

.chart-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}

canvas {
    flex: 1;
    margin: 20px;
    max-width: 100%;
    height: 400px;
    background-color: #ffffff;
    white-space: pre;
}

/* Container for the combobox and label */
.combobox-container {
    display: flex;
    align-items: center;
    margin-left: 10px; /* Same margin as .data_summary */
    margin-bottom: 5px;
    margin-right: 10px
}

/* Styling the label */
.combobox-container label {
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px; /* Space between label and combobox */
    color: #333;
}

/* Styling the combobox */
.styled-combobox {
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    width: 200px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Add an arrow icon */
.styled-combobox::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Hover and focus states */
.styled-combobox:hover,
.styled-combobox:focus {
    border-color: #888;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Optional: Make it look nicer on mobile */
@media (max-width: 600px) {
    .styled-combobox {
        width: 100%;
    }
}

/* Container for flexboxes */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    padding: 10px;
}

/* Setup initial state for columns */
.column1, .column2 {
    flex: 1; /* Each column takes up equal space */
    box-sizing: border-box; /* Includes padding in the width calculation */
    padding: 10px;
    max-width: 50%;
    text-align: center;
}

.table {
    width: 100%; /* Full width of its container */
    text-align: left;  
}

/* Responsive behaviors */
@media screen and (min-width: 960px) {
    .column1, .column2 {
        flex: 0 0 50%; /* Keeps each column at approximately 45% width above 640px */
    }
}

@media screen and (max-width: 960px) {
    .column1, .column2 {
        flex: 0 0 100%; /* Each column takes up full width below 640px */
        max-width: 100%;
    }
}

/* Styles for the dynamic table */
.data-table-container {
    margin: 10px;
    background-color: #ffffff;
    border-radius: 5px; /* Optional: adds rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow */
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    border: 1px solid #999;
    padding: 4px;
    text-align: center;
    transition: background-color 0.3s ease; /* Smooth transition for hover effects */
}

@media (max-width: 600px) {
    .data-table {
        font-size: 3vw;
    }
}

.data-table th {
    background-color: #b5b7db;
    font-weight: bold;
}

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

.data-table tr:nth-child(odd) {
    background-color: #ffffff; /* Darker color for odd rows */
}

.data-table tr:hover {
    background-color: #e1e1f7; /* Highlight row on hover */
    cursor: pointer; /* Change cursor to pointer */
}

.data-table tr:hover td {
    background-color: inherit; /* Make sure the cells have the same background color as the row */
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.pagination-controls button {
    margin: 0 10px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.pagination-controls button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination-controls span {
    font-size: 16px;
}
