body {
    margin: 0;
    font-family: sans-serif;
    background: #f4f4f4;
}

.main-header {
    background-color: #1885f1; /* Deep blue */
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 10px;
    position: relative;
}

.logo {
    height: 60px; /* Adjust as needed */
    margin-bottom: 10px;
}

.title {
    margin: 0;
    font-size: 20px;
    color: white;
}

.content {
    padding: 2em;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #004080;
    color: white;
}

.upload-section {
    margin-top: 2em;
    background: #f9f9f9;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-width: 500px;
}

#upload-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#upload-status {
    margin-top: 0.5em;
    font-style: italic;
}

.delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

.delete-btn:hover {
    color: red;
}


.chart-icon {
    height: 60px;
    width: 60px;
    object-fit: contain;
    border-radius: 6px;
    vertical-align: middle;
}

#pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
    flex-wrap: wrap;
}

#left-controls {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.table-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em;
}

#pagination-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
    flex-wrap: wrap;
}

#left-controls {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#pagination-controls-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#add-chart {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.5em 1em;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
}

#add-chart:hover {
    background-color: #218838;
}

.chartmuseum-credit {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 1.0em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chartmuseum-credit a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.chartmuseum-credit img {
    height: 20px; /* Adjusted to look proportional */
    width: auto;
}

.chartmuseum-logo-wrapper {
    background-color: white;
    padding: 2px;
    border-radius: 4px;
    display: inline-block;
}

.chartmuseum-logo-wrapper img {
    height: 20px;
    width: auto;
    display: block;
}

