/* ==================================================
   BASIS
   ================================================== */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 30px 15px;

    background: #f2f4f3;

    color: #222;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* ==================================================
   PAGINA
   ================================================== */

.page {
    width: 100%;
    max-width: 700px;

    margin: 0 auto;
}


/* ==================================================
   FORMULIER
   ================================================== */

#form {
    background: #ffffff;

    padding: 35px;

    border-radius: 12px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08);
}


/* ==================================================
   TITEL
   ================================================== */

h1 {
    margin: 0 0 30px 0;

    font-size: 28px;
    line-height: 1.2;

    color: #245c38;

    text-align: center;
}


/* ==================================================
   FORMULIERGROEPEN
   ================================================== */

.form-group {
    margin-bottom: 20px;
}


/* ==================================================
   LABELS
   ================================================== */

.form-group > label {
    display: block;

    margin-bottom: 7px;

    font-weight: 600;

    color: #333;
}


/* ==================================================
   INPUTS
   ================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;

    height: 46px;

    padding: 10px 12px;

    border: 1px solid #c9cfcc;
    border-radius: 6px;

    background: #fff;

    color: #222;

    font-size: 16px;

    font-family: inherit;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Focus */

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;

    border-color: #3d8154;

    box-shadow:
        0 0 0 3px rgba(61, 129, 84, 0.15);
}


/* ==================================================
   RADIO BUTTONS
   ================================================== */

.radio-group {
    display: flex;

    flex-wrap: wrap;

    gap: 10px 25px;
}


.radio-option {
    display: flex !important;

    align-items: center;

    gap: 8px;

    margin: 0 !important;

    font-weight: 400 !important;

    cursor: pointer;
}


.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;

    margin: 0;

    cursor: pointer;

    accent-color: #3d8154;
}


/* Plaatsen eventueel onder elkaar */

.radio-group-column {
    flex-direction: column;

    gap: 10px;
}


/* ==================================================
   HANDTEKENING
   ================================================== */

.signature-group {
    margin-top: 30px;
}


.signature-wrapper {
    width: 100%;

    margin-bottom: 10px;

    overflow: hidden;

    border: 1px solid #bfc6c2;

    border-radius: 6px;

    background: #fff;
}


#signature {
    display: block;

    width: 100%;

    height: 200px;

    background: #fff;

    cursor: crosshair;

    touch-action: none;
}


/* ==================================================
   BUTTONS
   ================================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 10px 20px;

    border: none;

    border-radius: 6px;

    font-size: 16px;
    font-weight: 600;

    font-family: inherit;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
}


.button:active {
    transform: translateY(1px);
}


/* Primaire knop */

.button-primary {
    width: 100%;

    margin-top: 10px;

    background: #2f7044;

    color: #fff;
}


.button-primary:hover {
    background: #245c38;
}


/* Secundaire knop */

.button-secondary {
    background: #e9ecea;

    color: #333;
}


.button-secondary:hover {
    background: #dce1de;
}


/* ==================================================
   MOBIEL
   ================================================== */

@media (max-width: 600px) {

    body {
        padding: 15px 10px;
    }


    #form {
        padding: 25px 20px;

        border-radius: 8px;
    }


    h1 {
        font-size: 24px;

        margin-bottom: 25px;
    }


    .form-group {
        margin-bottom: 18px;
    }


    .radio-group {
        flex-direction: column;

        gap: 10px;
    }


    #signature {
        height: 180px;
    }

}


/* ==================================================
   KLEINERE TELEFOONS
   ================================================== */

@media (max-width: 400px) {

    body {
        padding: 10px 5px;
    }


    #form {
        padding: 20px 15px;
    }


    h1 {
        font-size: 22px;
    }

}