/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

header nav {
    background-color: #333;
    color: white;
    padding: 1em;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 1em;
}

header nav a {
    color: white;
    text-decoration: none;
}

#theme-toggle {
    margin-left: auto;
    padding: 0.5em 1em;
    cursor: pointer;
}

main {
    padding: 2em;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 1em;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Dark Mode */
body.dark {
    background-color: #121212;
    color: #ffffff;
}

body.dark header nav,
body.dark footer {
    background-color: #1e1e1e;
}

/* Responsive Design */
@media (max-width: 600px) {
    header nav ul {
        flex-direction: column;
    }
    
    footer ul {
        flex-direction: column;
    }
}

/* Generator Styles */
#generator input, #generator select, #generator button {
    margin: 0.5em;
    padding: 0.5em;
}

#results {
    margin-top: 1em;
    text-align: left;
    display: inline-block;
}

#chart-placeholder {
    margin-top: 1em;
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
