body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    /* Zorg dat de inhoud gecentreerd wordt maar wel kan scrollen */
    background-color: #fcf5df;
    /* Lichtgele achtergrond */
}

.input-box {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
    margin-bottom: 15px;
}

.input-box:disabled {
    background-color: #f0f0f0;
    /* Grijze achtergrond voor inactieve invoerbox */
    cursor: not-allowed;
    /* Cursor verandert naar niet-toegestaan */
}

.modern-button {
    background-color: #4CAF50;
    /* Green background */
    color: white;
    /* White text */
    padding: 12px 24px;
    /* Padding */
    font-size: 16px;
    /* Font size */
    border: none;
    /* Remove border */
    border-radius: 8px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Smooth transitions */
}

.modern-button:hover {
    background-color: #45a049;
    /* Darker green on hover */
    transform: scale(1.05);
    /* Slightly enlarge on hover */
}

.modern-button:active {
    background-color: #3e8e41;
    /* Even darker green on click */
    transform: scale(0.95);
    /* Slightly shrink on click */
}

.simulation-button {
    background-color: #682377;
    /* Donkerpaarse achtergrond */
    color: white;
    /* Witte tekst */
    padding: 10px 20px;
    font-size: 16px;
    /* Font size */
    border: none;
    /* Remove border */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: background-color 0.3s ease;
    /* Smooth transitions */
}

.simulation-button:disabled {
    background-color: #cccccc;
    /* Grijze achtergrond voor uitgeschakelde knoppen */
    cursor: not-allowed;
    /* Niet-toegestane cursor */
}

.simulation-button:hover:not(:disabled) {
    background-color: #4e1a5a;
    /* Donkerdere paars op hover */
}

.simulation-button:active:enabled {
    background-color: #3b1244;
    /* Nog donkerdere paars op klik */
    transform: scale(0.95);
    /* Licht verkleinen bij klik */
}

.spinner {
    border: 8px solid #f3f3f3;
    /* Lichtgrijs */
    border-top: 8px solid #682377;
    /* Donkerpaars */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    /* Center the spinner */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading-text {
    margin-top: 10px;
    font-size: 16px;
    color: #682377;
    /* Donkerpaarse tekst */
}

h1 {
    font-weight: 700;
    /* Maak de koptekst vet */
    color: #682377;
    /* Donkerpaarse kleur voor de koptekst */
    margin-bottom: 20px;
    margin: 20px;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    text-align: center;
    background-color: #ffffff;
    /* Witte achtergrond */
    padding: 10px;
    /* Reduced padding to make it smaller */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtiele schaduw */
    
   
}

.form-label {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
    /* Ruimte tussen de knoppen */
}

.evaluation-container {
    background-color: #fcf5df;
    /* Lichtgele achtergrond */
    border: 1px solid #ddd;
    /* Subtiele rand */
    border-radius: 8px;
    /* Afgeronde hoeken */
    padding: 20px;
    /* Ruimte binnen de container */
    margin: 20px auto;
    /* Automatisch centreren */
    width: 80%;
    /* Breedte van de container */
    max-width: 600px;
    /* Maximale breedte */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtiele schaduw */
    font-family: 'Roboto', sans-serif;
    /* Zorg dat het lettertype consistent is */
    color: #682377;
    /* Donkerpaarse tekstkleur */
}

.evaluation-container h2 {
    font-size: 24px;
    /* Grotere tekst voor de titel */
    color: #682377;
    /* Donkerpaarse kleur voor de titel */
    margin-bottom: 10px;
    /* Ruimte onder de titel */
}

.evaluation-container p {
    font-size: 16px;
    /* Standaard tekstgrootte */
    line-height: 1.6;
    /* Betere leesbaarheid */
}

#claritalk-logo {
    position: absolute;
    top: 10px;
    /* Afstand vanaf de bovenkant */
    right: 10px;
    /* Afstand vanaf de rechterkant */
    width: 100px;
    /* Breedte van het logo */
    height: auto;
    /* Houd de verhoudingen van het logo */
    z-index: 1000;
    /* Zorg ervoor dat het logo boven andere elementen staat */
}

#clara-logo {
    display: block;
    width: 220px;
    height: auto;
    margin: 0 auto;
    pointer-events: none;
}

.clara-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    width: 100%;
}

#user-video {
    width: 220px;
    height: 165px;
    background: #f5f5f5;
    border: 2px solid #e0d4eb;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.scenario-group {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 300px;
    /* Zelfde breedte als het invoerveld */
}

.scenario-button {
    flex: 1;
    /* Zorg dat alle knoppen even breed zijn */
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.scenario-button:not(:last-child) {
    margin-right: 5px;
    /* Ruimte tussen de knoppen */
}

.scenario-button.selected {
    background-color: #682377;
    /* Donkerpaars voor geselecteerde knop */
    color: white;
    border-color: #682377;
}

.scenario-button:hover:not(.selected) {
    background-color: #e0d4eb;
    /* Lichtere paars op hover */
}

@keyframes moving-border {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 200%;
    }
}

.form-container.simulation-active {
    border: 2px solid transparent;
    /* Transparent border */
    background-image: linear-gradient(white, white), linear-gradient(45deg, #682377, #fcf5df, #682377, #fcf5df);
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: moving-border 3s linear infinite;
    /* Animation for the moving border */
    background-size: 200% 200%;
    padding: 5px;
}
