/* ---- FORM CONTAINER ---- */
form.mx_form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* ---- FORM ROW ---- */
form.mx_form .mx_form_row {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: .2rem;
}

/* ---- LABEL ---- */
form.mx_form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}

/* ---- INPUTS ---- */
form.mx_form input[type="text"],
form.mx_form input[type="email"],
form.mx_form input[type="tel"],
form.mx_form textarea,
form.mx_form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

form.mx_form input:focus,
form.mx_form textarea:focus,
form.mx_form select:focus {
    border-color: #0077ff;
    box-shadow: 0 0 0 3px rgba(0,120,255,0.15);
    outline: none;
}

/* ---- CAPTCHA ---- */
form.mx_form input.mx_captcha {
    width: 80px;
    text-align: center;
}

/* ---- SUBMIT BUTTON ---- */
/* Huidige kleur blijft behouden */
form.mx_form input[type="submit"] {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity 0.25s;
}

form.mx_form input[type="submit"]:hover {
    opacity: 0.85;
}

/* ---- RESPONSIVE: LABEL LINKS – INPUT RECHTS ---- */
@media (min-width: 600px) {
    form.mx_form .mx_form_row {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem; /* kleine ruimte */
    }

    /* Label links */
    form.mx_form label {
        width: 150px;
        margin: 0;
        justify-content: flex-start;
    }

    /* Input rechts, direct naast label */
    form.mx_form .mx_form_input {
        width: 70%;
    }

    /* Input zelf altijd 100% breed binnen zijn vak */
    form.mx_form .mx_form_input > * {
        width: 100%;
    }
}
