    /* === Gravity Forms styled like Directorist "Contact" form === */

    /* Tekstvelden, textarea's en nummers */
    body .gform_wrapper .gfield input[type="text"],
    body .gform_wrapper .gfield input[type="email"],
    body .gform_wrapper .gfield input[type="tel"],
    body .gform_wrapper .gfield input[type="url"],
    body .gform_wrapper .gfield input[type="number"],
    body .gform_wrapper .gfield textarea {
        width: 100%;
        background: transparent;
        border: none;
        border-bottom: 1px solid #ddd !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        padding: 12px 0;
        font-size: 15px;
        color: #222;
        box-shadow: none !important;
        outline: none !important;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        transition: border-color 0.2s ease, color 0.2s ease;
    }
	
	body .gform_wrapper .gfield input[type="text"]:read-only {
		border: none !important;
	}

    /* Autofill fix */
    input:-webkit-autofill {
        box-shadow: 0 0 0px 1000px white inset !important;
        -webkit-text-fill-color: #222 !important;
    }

    /* Placeholderkleur */
    body .gform_wrapper .gfield input::placeholder,
    body .gform_wrapper .gfield textarea::placeholder {
        color: #999;
    }
	
	/* Lichte achtergrondkleur textarea en specifieke class */
	body .gform_wrapper .gfield-background, body .gform_wrapper .gfield textarea {
		background-color: #CABDA812 !important;
	}
	
	/* Labels */
	body .gform_wrapper .gform-field-label, body .gform_wrapper .gform-field-label--type-sub {
		font-size: 15px !important;
		color: #112337 !important;
		font-weight: 500 !important;
	}

    /* Focus: onderlijn donkerder */
    body .gform_wrapper .gfield input:focus,
    body .gform_wrapper .gfield textarea:focus,
    body .gform_wrapper .gfield select:focus {
        border-bottom: 1px solid #222 !important;
        color: #111;
    }

    /* Verbeterde select styling */
    body .gform_wrapper .gfield select {
        width: 100%;
		height: 3em;
        background: transparent;
        border: none;
        border-bottom: 1px solid #ddd !important;
        border-radius: 0 !important;
        padding: 12px 0 8px;
        font-size: 15px;
        color: #222;
        box-shadow: none !important;
        outline: none !important;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        line-height: 2;
        transition: border-color 0.2s ease, color 0.2s ease;
        background-image: linear-gradient(45deg, transparent 50%, #888 50%),
                          linear-gradient(135deg, #888 50%, transparent 50%);
        background-position: calc(100% - 16px) calc(1em + 2px),
                             calc(100% - 11px) calc(1em + 2px);
        background-size: 5px 5px, 5px 5px;
        background-repeat: no-repeat;
    }

    body .gform_wrapper .gfield select:focus {
        border-bottom: 1px solid #222 !important;
        background-image: linear-gradient(45deg, transparent 50%, #222 50%),
                          linear-gradient(135deg, #222 50%, transparent 50%);
    }

    body .gform_wrapper .gfield select::-ms-expand {
        display: none;
    }

    /* Spacing tussen velden */
    body .gform_wrapper .gform_fields .gfield {
        margin-bottom: 0;
    }
										
	body .gform_wrapper  .gfield-no-spacing {
		margin-top: -40px;
	}
										
										

    /* Knopstijl */
    body .gform_wrapper .gform_footer input[type="submit"],
    body .gform_wrapper .gform_page_footer input[type="submit"] {
        background: #b6a48c;
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 14px 38px;
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: background 0.2s ease, transform 0.1s ease;
        cursor: pointer;
    }

    body .gform_wrapper .gform_footer input[type="submit"]:hover,
    body .gform_wrapper .gform_page_footer input[type="submit"]:hover {
        background: #a8947e;
        transform: translateY(-1px);
    }

    /* Error state */
    body .gform_wrapper .gfield_error input,
    body .gform_wrapper .gfield_error textarea,
    body .gform_wrapper .gfield_error select {
        border-bottom: 1px solid #e63946 !important;
    }

    /* Captcha spacing */
    body .gform_wrapper .gfield.gfield--type-captcha {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    /* === Mobiele optimalisatie === */
    @media (max-width: 768px) {
        body .gform_wrapper .gfield input[type="text"],
        body .gform_wrapper .gfield input[type="email"],
        body .gform_wrapper .gfield input[type="tel"],
        body .gform_wrapper .gfield input[type="url"],
        body .gform_wrapper .gfield input[type="number"],
        body .gform_wrapper .gfield textarea,
        body .gform_wrapper .gfield select {
            font-size: 16px;
            padding: 14px 0 10px;
        }

        body .gform_wrapper .gform_fields .gfield {
            margin-bottom: 28px;
        }

        body .gform_wrapper .gform_footer input[type="submit"],
        body .gform_wrapper .gform_page_footer input[type="submit"] {
            width: 100%;
            padding: 16px 0;
            font-size: 16px;
            letter-spacing: 1.2px;
        }
    }
