/* Algemene layout */
form.mx_form .mx_form_row {
    display: table;
    clear: both;
    margin-bottom: 10px;
    width: 100%;
    color: #221e1f;
}

form.mx_form .mx_form_spacer {
    display: table;
    clear: both;
    height: 1em;
}

form.mx_form .mx_form_label {
    display: table;
    clear: both;
    height: 1em;
    font-weight: bold;
    color: #fff;
}
/* Label kleur wit */
.mx_form_input_other label {
    color: #fff;
    font-weight: normal; /* eventueel */
    display: block;
}

form.mx_form label {
    width: 100%;
    float: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff; /* labels altijd wit */
    cursor: pointer;
}

/* Tekstvelden en selects */
form.mx_form .mx_form_input {
    display: table;
    float: left;
    font-size: 20px;
    padding: 10px 0;
    width: 100%;
}

form.mx_form input[type=text],
form.mx_form input[type=email],
form.mx_form input[type=number],
form.mx_form input[type=tel] {
    padding: 10px 15px !important;
    width: 100%;
    border: solid 1px #999;
    border-radius: 5px;
    color: #221e1f;
    text-align: left;
    background: #fff;
}

form.mx_form select {
    padding: 10px 15px;
    width: 100%;
    border: solid 1px #999;
    border-radius: 5px;
    color: #221e1f;
    text-align: left;
    font-weight: normal;
    background: #fff;
}

form.mx_form textarea {
    margin-bottom: 10px;
    width: 100%;
    line-height: 1.5em;
    padding: 10px 15px;
    border: solid 1px #999;
    border-radius: 10px;
    background-color: #f8f8f8;
    font-size: 18px;
    color: #221e1f;
}

/* Submit button */
form.mx_form input[type=submit] {
    background-color: #5ac0cc;
    display: inline-block;
    padding: 12px 35px;
    color: #fff !important;
    font-size: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
 
}

/* Shine animatie */
form.mx_form input[type=submit]::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    transform: skewX(-20deg);
}

/* Hover */
form.mx_form input[type=submit]:hover {
    background-color: #fbbc34;
    box-shadow: 0 0 15px rgba(251,188,52,0.6);
}

form.mx_form input[type=submit]:hover::after {
    animation: shine 0.8s forwards;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 150%; }
}

/* Checkboxes en Radiobuttons */
form.mx_form input[type="checkbox"],
form.mx_form input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #999;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    background: #fff;
    transition: all 0.2s ease;
    display: inline-block;
}

/* Checkbox = vierkant */
form.mx_form input[type="checkbox"] {
    border-radius: 4px;
}

/* Radiobutton = rond */
form.mx_form input[type="radio"] {
    border-radius: 50%;
}

/* Hover borderkleur */
form.mx_form input[type="checkbox"]:hover,
form.mx_form input[type="radio"]:hover {
    border-color: #5ac0cc;
}

/* Checkbox aangevinkt */
form.mx_form input[type="checkbox"]:checked {
    background-color: #5ac0cc;
    border-color: #5ac0cc;
}
form.mx_form input[type="checkbox"]:checked::after {
    content: "✔";
    color: #fff;
    font-size: 16px;
    position: absolute;
    top: -2px;
    left: 3px;
}

/* Radiobutton geselecteerd */
form.mx_form input[type="radio"]:checked {
    border-color: #5ac0cc;
    background-color: #fff;
}
form.mx_form input[type="radio"]:checked::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #5ac0cc;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}

/* Focus ring */
form.mx_form input[type="checkbox"]:focus,
form.mx_form input[type="radio"]:focus {
    outline: 2px solid #5ac0cc;
    outline-offset: 2px;
}

/* Error states */
.mx_error input,
.mx_error textarea {
    border-color: red !important;
}
.mx_error .mx_form_input_option {
    color: red !important;
}

/* Captcha badge fix */
.grecaptcha-badge {
    width: 256px;
    height: 60px;
    transition: right 0.3s ease 0s;
    position: fixed;
    bottom: 64px !important;
    right: -186px;
    box-shadow: grey 0px 0px 5px;
    z-index: 1001 !important;
}
