body {
    background-color: slategrey;
}

#container {
    width: 1100px;
    margin: auto;
    background-color: lightsteelblue;
    padding: 30px;
}

h1 {
    background-color: #1f2843;
    padding: 12px;
    border-radius: 12px;
    font-size: 24pt;
    text-align: center;
    color: white;
    box-shadow: 1px 1px 6px gray;
}

.navigation {
    background-image: linear-gradient(to right, #4b6cb7, #182848);
    border-radius: 12px;
    box-shadow: 1px 1px 6px gray;
    margin-top: 12px;
    margin-bottom: 24px;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    text-align: center;
    font-size: 14pt;
}

nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.intro {
    background-color: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 1px 1px 6px gray;
}

.purpose {
    color: #091743;
    font-weight: 1000;
}

.line {
    width: 100%;
    height: 3px;
    background-image: linear-gradient(to right, #091743, #4b6cb7, #182848);
    margin-bottom: 12px;
}

/* ── DATA TABLE SECTION ── */
.dataset {
    background-color: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 1px 1px 6px gray;
    margin-top: 24px;
}

.section_title {
    color: #091743;
    font-weight: 1000;
}

.table {
    overflow-x: auto;
    border: 0.5px solid #ccc;
    border-radius: 8px;
    margin-top: 24px;
    margin-bottom: 12px;
}

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

th, tr, td {
    border: 0.5px solid #ccc;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #4b6cb7;
    color: white;
}

td {
    background-color: #f2f2f2;
}

td:nth-child(odd) {
    background-color: #e6e6e6;
}

.food_name {
    text-align: left;
    font-weight: 600;
    color: #091743;
    cursor: pointer;
}

.row_hover td {
    background-color: #cce38d !important;
}

tbody tr:hover td {
    background-color: #cce38d !important;
}

/* ── TOOLTIP ON HEADERS ── */
th.tip {
    position: relative;
    cursor: pointer;
}

.tip_definition {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1f2843;
    color: white;
    padding: 8px;
    border-radius: 6px;
    font-size: 11pt;
    font-weight: 400;
    width: 200px;
    z-index: 100;
    box-shadow: 1px 1px 6px gray;
}

/* ── CLICK MESSAGE BOX ── */
.message_box {
    background-color: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 1px 1px 6px gray;
    margin-top: 24px;
}

.message_title {
    color: #091743;
    font-weight: 1000;
}

/* ── VISUALIZATIONS PAGE ── */
.viz_section {
    background-color: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 1px 1px 6px gray;
    margin-top: 24px;
}

.viz_image_box {
    margin-top: 16px;
    text-align: center;
}

.viz_img {
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 1px 1px 6px gray;
}

.caption {
    font-size: 11pt;
    color: #555555;
    margin-top: 8px;
    font-weight: 500;
}

/* ── FOOTER ── */
.footer_web {
    background-color: #1f2843;
    text-align: center;
    font-size: 12pt;
    color: white;
    font-weight: 800;
    padding: 12px;
    box-shadow: 1px 1px 6px gray;
    margin-top: 24px;
    border-radius: 0 0 8px 8px;
}

.footer_link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}