/* --- 1. Global & Font Styles --- */
body {
    /* Use a modern, clean font */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0; /* Remove default spacing */
    background-color: #f4f7f6; /* Light gray background */
    color: #333; /* Dark text for readability */
}

/* --- 2. Menu / Navigation Bar --- */
nav {
    background-color: #ffffff; /* White background */
    border-bottom: 1px solid #ddd;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav ul {
    list-style-type: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
    display: flex; /* Make links horizontal */
    gap: 2rem; /* Spacing between links */
}

nav ul li a {
    text-decoration: none;
    color: #005fB9; /* A nice blue for links */
    font-weight: 600;
    font-size: 1.1rem;
}

nav ul li a:hover {
    color: #003d7a;
}

/* --- 3. Main Content & Typography --- */
main {
    max-width: 1200px; /* Limit content width */
    margin: 2rem auto; /* Center the content */
    padding: 0 2rem;
}

h1 {
    color: #111;
}

/* --- 4. Better Grafana Iframe Integration --- */
.grafana-iframe-container {
    background-color: #ffffff; /* Give the chart a white background */
    border: 1px solid #ddd;
    border-radius: 8px; /* Soft rounded corners */
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

iframe {
    /* Make the iframe fill its container */
    width: 100%;
    height: 600px; /* Set a default height */
    border: none; /* Remove the ugly default border */
}