body {
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

main{
    padding:2rem;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 1em;
}

input[type="file"] {
    display: block;
    margin-bottom: 1em;
    padding: 0.5em;
    font-size: 1rem;
}

#svgContainer {
    background-color: white;
    border: 1px solid #ccc;
    padding: 1em;
    border-radius: 0.5em;
    max-width: 100%;
    overflow: auto;
    min-height: 300px;
}
#svgContainer svg {
    width: 100%;
    height: auto;
    max-height: 60vh; /* of 80vh als je meer ruimte wilt */
    display: block;
}


.caption {
    margin-top: 2em;
    font-style: italic;
    color: #666;
}

/* Optionele focusstijl voor tabbable elementen */
[tabindex="0"]:focus, 
[role="button"]:focus, 
a:focus {
    outline: 10px solid #000;
    outline-offset: 2px;
    background-color: #eef;
}

.hotspot-groep:focus circle {
    outline: 10px solid #000;
    outline-offset: 2px;
    background-color: #eef;
    vector-effect: non-scaling-stroke;
}

#subtitle {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 0.75em 1em;
    font-size: 1rem;
    font-family: monospace;
    z-index: 1000;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;   /* ✅ Padding telt mee in breedte */
}

/* Volledig blauwe header */
.header-flex {
    width: 100%;
    background: #004b6f;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.ondertitel a {
    color: white;
    text-decoration: none;
}

.ondertitel a:hover {
    text-decoration: underline;
}

.header-flex h1 {
    margin: 0;
    font-size: 1.5rem;
}

.ondertitel {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #cce5ff;
}

.cta-link {
    background-color: #fff;
    color: #004b6f;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.2s;
    white-space: nowrap;
}

.cta-link:hover {
    background-color: #f0f0f0;
}

