/* Algemene Stijlen */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header, footer {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    color: #2c3e50;
}

footer {
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

/* Scherm & Navigatie */
.screen {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.hidden {
    display: none;
}

button {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0 auto;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

/* Audio & Vergelijking */
audio {
    width: 100%;
    margin-top: 10px;
}

.comparison-group {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Beoordelingsschaal (Radio Buttons) */
.rating-group p {
    margin-bottom: 10px;
    font-weight: bold;
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.rating-scale label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 0.9em;
}

.rating-scale input[type="radio"] {
    margin-bottom: 5px;
}

/* Formulier Vragen */
#questions-form .question-item {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
}

#questions-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Laad-animatie */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    margin: 30px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Extra Stijlen */
.important-notice {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 5px;
    padding: 15px;
}

/* Mobiele optimalisatie */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .rating-scale {
        justify-content: flex-start;
        gap: 10px;
    }
}
