:root {
    --bg: #f5f5f5;
    --text: #333333;
    --primary: #007acc;
    --highlight: #ff6f61;
    --accent: #ffffff;
    --table-head: #eaeaea;
    --border: #dddddd;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 2rem;
    line-height: 1.6;
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
}

p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: #444;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--highlight);
    text-decoration: underline;
}

select {
    padding: 0.5em 1em;
    font-size: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    background-color: var(--accent);
    color: var(--text);
}

.guru-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin: 1rem 0;
}

.guru-toggle label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    color: var(--text);
}

#chart-container {
    max-width: 900px;
    margin: 2rem auto;
}

table {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    border-collapse: collapse;
    background: var(--accent);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 0.75rem;
    border: 1px solid var(--border);
    text-align: center;
    font-size: 0.95rem;
}

th {
    background-color: var(--table-head);
    font-weight: 500;
    text-transform: capitalize;
}

footer {
    font-size: 0.85rem;
    margin-top: 4rem;
    color: #888;
}

img {
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

ul li {
    display: inline-block;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    table {
        font-size: 0.85rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
