/* ========================= */
/* Basisstijl desktop behouden */
/* ========================= */
body {
    font-family: Arial, sans-serif;
    padding: 40px;
    background: #f7f7f7;
    color: #333;
    line-height: 1.5;
}

h1 {
    color: #007ACC;
    margin-bottom: 20px;
}

nav
{
margin-top:30px;
margin-bottom:30px;
}

nav a {
    margin-right: 10px;
    padding: 8px 16px;
    background: #007ACC;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

nav a:hover {
    background: #005A99;
}

.attention, .note {
    background: #fff3cd;
    border-left: 5px solid #ffeeba;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.attention a, .note a {
    color: #856404;
    text-decoration: underline;
    font-weight: bold;
}

.attention a:hover, .note a:hover {
    color: #533f03;
}

#viamet-progress-container {
    width: 300px;
    height: 20px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

#viamet-progress-bar {
    height: 100%;
    width: 0%;
    background: #4caf50;
    transition: width 0.2s;
}

ul {
    margin-top: 15px;
    padding-left: 20px;
}

li {
    margin-bottom: 15px;
}

pre, code {
    background: #eee;
    padding: 3px 5px;
    border-radius: 3px;
    font-family: monospace;
    display: block;
    overflow-x: auto;
}

.check {
    color: green;
    font-weight: bold;
    margin-right: 5px;
}

button#show-popup-btn {
    display: block;
    margin: 10px 0;
    padding: 12px 12px;
    
    text-align: center;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    background: #F17722; /* oranje basis */
    color: #FFFFFF; /* witte tekst */
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

button#show-popup-btn:hover {
    background: #d9651b; /* iets donkerder oranje bij hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

button#show-popup-btn:active {
    background: #b84f14; /* nog donkerder bij indrukken */
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) inset;
}

button#show-popup-btn:disabled {
    background: #f5b991;   /* lichtere/oranje-grijs tint */
    color: #ffffffcc;      /* wit maar iets transparant */
    cursor: not-allowed;
    transform: none;       /* geen hover/active effect */
    box-shadow: none;      /* geen schaduw voor 'platte' look */
    opacity: 0.7;          /* net wat matter */
}



/* ========================= */
/* Mobiel-aanpassingen via media queries */
/* ========================= */
@media (max-width: 1124px) {

    button#show-popup-btn {
    
    width: 100%; }


    body {
        padding: 20px;
    }

    h1 {
        font-size: 1.7em;
        text-align: center;
        margin-top:0px;
        margin-bottom:0px;
    }

    nav a {
        display: block;
        margin: 10px 0;
        padding: 12px 0;
        width: 100%;
        text-align: center;
        font-size: 1em;
        border-radius: 10px;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        transition: background 0.3s, transform 0.2s;
    }

    nav a:hover {
        background: #005A99;
        transform: translateY(-2px);
    }

    .attention, .note {
        font-size: 0.9em;
        padding: 12px 16px;
        border-radius: 10px;
        box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    }

    #viamet-progress-container {
        width: 100%;
        max-width: 320px;
        height: 22px;
        margin: 15px auto;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    }

    pre, code {
        font-size: 0.85em;
    }
}




@media (max-width: 480px) {
    body {
        padding: 15px;
        font-size: 0.95em;
    }

    h1 {
        font-size: 1.5em;
    }

    nav a {
        font-size: 0.95em;
        padding: 10px 0;
    }

    .attention, .note {
        padding: 10px 14px;
    }

    pre, code {
        font-size: 0.8em;
    }
}
