/* Universele basisinstellingen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    min-height: 100vh;
    background: #d2d2d2;
    font-family: Calibri, 'Open Sans', sans-serif;
    display: block; /* Verwijder grid */
    padding-top: 20px; /* Voeg ruimte bovenaan toe */
}

/* Algemene form styling */
form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#form_container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
    padding: 20px;
    border-radius: 10px;
    background: #95a5a6;
    box-shadow: 10px 10px 8px #292929;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}


/* Titel */
#title {
    text-align: center;
    font-family: 'Allura', cursive;
    font-size: 24px;
    color: white;
    text-shadow: 1px 1px 2px #292929;
}

/* Labels */
label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Inputvelden */
input,
select,
textarea {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 1px 1px 1px #b2b2b2, -1px -1px 1px #292929;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border: 1px solid #2980b9;
}

input.isRequired {
    border: 2px solid #e74c3c;
}

/* Textarea */
textarea {
    resize: none;
    height: 60px;
}

.inline-group {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.inline-group input {
    display: inline-block;
    width: auto;
    min-width: 0;
    max-width: max-content;
    padding: 2px 4px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    white-space: nowrap;
}

.scoreveld {
    width: 60px;
    text-align: center;
    padding: 4px;
    font-size: 14px;
}


/* Knoppen */
button {
    width: 100%;
    max-width: 250px;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #34495e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 1px 1px 1px #292929, -1px -1px 1px #b2b2b2;
}

button:hover {
    background-color: #2c3e50;
}

button:focus {
    box-shadow: 1px 1px 1px #b2b2b2, -1px -1px 1px #292929;
}

/* Groepering van knoppen */
.button-group,
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Suggestielijst */
#gebruikerslijst {
    list-style: none;
    padding: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: none;
}

#gebruikerslijst li {
    padding: 5px;
    cursor: pointer;
}

#gebruikerslijst li:hover {
    background: #f0f0f0;
}

/* Mobiele optimalisatie */
@media screen and (max-width: 600px) {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 100vh;
        display: block !important;
    }

    #form_container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        position: relative !important;
        top: 0 !important;
    }
}

    button {
        font-size: 16px;
    }

    #gebruikerslijst {
        max-height: 300px;
        overflow-y: auto;
        font-size: 16px;
    }
}