/* ==========================================================
   CONTACTFORMULIER
   ========================================================== */

.cb-form-page {
    padding: 30px 35px 35px;
    box-sizing: border-box;
    background: #f3f3f3;
}


/* INTRO */

.cb-form-intro {
    margin: 0 0 25px;
}

.cb-form-intro h3 {
    margin: 0 0 8px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1.35;
    font-weight: bold;
    color: #333;
}

.cb-form-intro p {
    margin: 0;
    padding: 0;
    max-width: 800px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}


/* FOUTMELDING */

.cb-form-error {
    margin: 0 0 25px;
    padding: 15px 18px;
    background: #fff;
    border-left: 4px solid var(--cb-bordeaux);
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.cb-form-error h4 {
    margin: 0 0 8px;
    padding: 0;
    color: var(--cb-bordeaux);
    font-size: 16px;
}


/* FORMULIER */

.cb-contact-form {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* SECTIE */

.cb-form-section {
    margin: 0 0 25px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #ddd;
}

.cb-form-section-title {
    margin: 0 0 20px;
    padding: 0 0 10px;
    border-bottom: 2px solid var(--cb-groen);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: bold;
    color: #333;
}


/* GRID */

.cb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 25px;
}


/* VELD */

.cb-form-field {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.cb-form-field-full {
    grid-column: 1 / -1;
}


/* LABEL */

.cb-form-field label {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    font-weight: bold;
    color: #555;
}

.cb-form-required-star {
    color: var(--cb-bordeaux);
}


/* INPUTS */

.cb-form-field input,
.cb-form-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 2px;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.cb-form-field input {
    height: 40px;
}

.cb-form-field textarea {
    min-height: 90px;
    resize: vertical;
}

.cb-form-field input:hover,
.cb-form-field textarea:hover {
    background: #fff;
}

.cb-form-field input:focus,
.cb-form-field textarea:focus {
    background: #fff;
    border-color: var(--cb-groen);
    box-shadow: 0 0 0 2px rgba(190,213,74,.15);
}


/* AANVRAAG */

.cb-form-request textarea {
    min-height: 130px;
}


/* VOORWAARDEN */

.cb-form-voorwaarden {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #f3f3f3;
    border-left: 4px solid var(--cb-groen);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
}

.cb-form-voorwaarden input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
}

.cb-form-voorwaarden a {
    color: var(--cb-bordeaux);
    font-weight: bold;
    text-decoration: none;
}

.cb-form-voorwaarden a:hover {
    color: var(--cb-groen);
}


/* RECAPTCHA */

.cb-form-recaptcha {
    margin: 20px 0;
}


/* KNOPPEN */

.cb-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #ddd;
}

.cb-form-actions input {
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


/* VERZENDEN */

.cb-form-submit {
    background: var(--cb-groen);
    color: #555;
}

.cb-form-submit:hover {
    background: var(--cb-bordeaux);
    color: #fff;
    transform: translateY(-1px);
}


/* WISSEN */

.cb-form-reset {
    background: #ddd;
    color: #666;
}

.cb-form-reset:hover {
    background: #ccc;
    color: #444;
}


/* VERPLICHT */

.cb-form-required-info {
    margin: 10px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #888;
}


/* SUCCES */

.cb-form-success {
    padding: 25px;
    background: #fff;
    border-left: 4px solid var(--cb-groen);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.cb-form-success strong {
    color: #333;
}


/* ONDERSTE LINKS */

.cb-form-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.cb-form-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 17px;
    box-sizing: border-box;
    background: #515151;
    border-radius: 19px;
    color: var(--cb-groen);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.cb-form-links a:hover {
    background: var(--cb-bordeaux);
    color: #fff;
    transform: translateY(-1px);
}

.cb-form-links a i {
    color: var(--cb-groen);
}

.cb-form-links a:hover i {
    color: #fff;
}


/* ==========================================================
   MOBIEL
   ========================================================== */

@media screen and (max-width: 700px) {

    .cb-form-page {
        padding: 22px 15px 28px;
    }

    .cb-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cb-form-field-full {
        grid-column: auto;
    }

    .cb-form-section {
        padding: 18px;
    }

    .cb-form-intro h3 {
        font-size: 21px;
    }

    .cb-form-actions {
        flex-wrap: wrap;
    }

    .cb-form-links {
        flex-direction: column;
    }

    .cb-form-links a {
        width: fit-content;
    }

}