
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #ffffff !important;
    color: #333;
    min-height: 100vh;
}

main, .container, #main-content {
    background: white;
}

html {
    background: #ffffff;
}

header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header img {
    height: 60px;
}

h1 {
    font-size: 1.5em;
    margin: 0;
}

#intro {
    margin-top: 1em;
}

#charts, #filters, #download-section {
    margin-top: 2em;
    text-align: center;
}

#benzene-chart, #pid-chart, #naphthalene-chart {
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 20px auto;
}

.chart-with-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    margin: 2em auto;
    flex-wrap: wrap;
    max-width: 1200px;
}

.chart-container {
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
}

.chart {
    flex: 1 1 65%;
    min-width: 300px;
    max-width: 900px;
    height: 400px;
}

.chart-annotation {
    flex: 1 1 30%;
    max-width: 220px;
    font-size: 0.85em;
    color: #000;
    font-style: italic;
    text-align: left;
    border: 1px solid #ccc;
    padding: 0.8em;
    border-radius: 6px;
    background-color: #fdfdfd;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2em;
    background: white;
    table-layout: fixed;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    word-wrap: break-word;
}

th {
    background: #2a4d69;
    color: white;
}

#last-update {
    font-weight: bold;
    margin-top: 1em;
}

.button-container {
  margin: 50px auto 0;
  max-width: 900px;
  padding: 0 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.link-button {
  flex: 1 1 320px;  /* equal width columns */
  display: block;
  text-align: center;
  width: 100%;
  padding: 15px 30px;
  font-size: 1.1em;
  background-color: #2a4d69;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
  box-sizing: border-box;
}

