body {
    font-family: Arial;
}

/* IMPORTANT: remove centering */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
    /* THIS fixes your issue */
}

th,
td {
    padding: 6px 10px;
}

th a {
    text-decoration: none;
}

header {
    background-color: darkslategrey;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

#welcome {
    font-size: x-large;
    color: white;
}

#links {
    font-size: x-large;
    color: white;
}

/* SIDE-BY-SIDE LAYOUT (LEFT ALIGNED) */
.content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
    padding-left: 20px;
}

.table-container {
    width: 50%;
}

.chart-container {
    width: 40%;
}

#myChart {
    width: 50px !important;
}

body {
    font-family: Arial;
    margin: 10px;
}

header {
    background: darkslategrey;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

/* MAIN LAYOUT */
.main-layout {
    display: flex;
    gap: 20px;
}

/* LEFT SIDE */
.left-panel {
    flex: 2;
}

/* RIGHT SIDE */
.right-panel {
    flex: 1;
}

/* TABLE */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
}

th,
td {
    padding: 6px;
    border: 1px solid black;
}

/* CHART */
#myChart {
    width: 100% !important;
}

/* FORM */
.form-panel {
    border: 2px solid #444;
    padding: 15px;
    margin-top: 20px;
}

/* PAGINATION (added) */
.pagination {
    margin-top: 10px;
}

.pages {
    text-decoration:none;
    color:white;
}