/* Modale formulieren: contact en inruil */
.impofovw-formknop,
button.impofovw-formknop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
button.impofovw-formknop--donker { background: #111; color: #fff; }
button.impofovw-formknop--donker:hover { background: #2e2a27; color: #fff; }
button.impofovw-formknop--licht { background: #fff; color: #201c1a; border-color: #d9d6d3; }
button.impofovw-formknop--licht:hover { background: #f2f0ee; color: #201c1a; }
button.impofovw-formknop--link {
    background: none; color: var(--e-global-color-text, #494441);
    padding: 4px 0; text-decoration: underline; text-underline-offset: 3px;
}
button.impofovw-formknop[disabled] { opacity: 0.6; cursor: wait; }

body.impofovw-modal-actief { overflow: hidden; }
.impofovw-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    background: rgba(15, 13, 12, 0.55);
    overflow-y: auto;
}
.impofovw-modal[hidden] { display: none; }
.impofovw-modal-venster {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}
.impofovw-modal-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #e6e3e0;
}
.impofovw-modal-venster h2.impofovw-modal-titel,
.impofovw-modal-kop h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
    color: var(--e-global-color-primary, #201c1a);
}
button.impofovw-modal-sluiten {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f2f0ee;
    color: #201c1a;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
button.impofovw-modal-sluiten:hover { background: #e6e3e0; }

.impofovw-form {
    padding: 20px 22px 24px;
    font-family: var(--e-global-typography-text-font-family, inherit);
    color: var(--e-global-color-text, #494441);
}
.impofovw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.impofovw-form-voertuig {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #f7f6f5;
    border-radius: 8px;
    font-size: 0.9rem;
}
.impofovw-form h3.impofovw-form-kop {
    margin: 22px 0 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: var(--e-global-color-primary, #201c1a);
}
.impofovw-form h3.impofovw-form-kop:first-of-type { margin-top: 4px; }
.impofovw-form-rij { margin-bottom: 14px; }
.impofovw-form-rij--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.impofovw-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--e-global-color-primary, #201c1a);
}
.impofovw-form label span { color: #b02a2a; }
.impofovw-form input[type=text],
.impofovw-form input[type=email],
.impofovw-form input[type=tel],
.impofovw-form input[type=number],
.impofovw-form input[type=file],
.impofovw-form select,
.impofovw-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid #d9d6d3;
    border-radius: 8px;
    background: #fff;
    color: var(--e-global-color-primary, #201c1a);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.4;
}
.impofovw-form textarea { resize: vertical; }
.impofovw-form input:focus,
.impofovw-form select:focus,
.impofovw-form textarea:focus {
    outline: none;
    border-color: #201c1a;
    box-shadow: 0 0 0 3px rgba(32, 28, 26, 0.08);
}
.impofovw-form-vinkjes {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #e6e3e0;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 18px;
}
.impofovw-form-vinkjes legend {
    padding: 0 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--e-global-color-primary, #201c1a);
}
.impofovw-form label.impofovw-vinkje {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 0.88rem;
    margin: 0;
}
.impofovw-form .impofovw-vinkje input[type=checkbox] {
    width: auto;
    margin: 0;
    padding: 0;
    accent-color: #201c1a;
}
.impofovw-form-hint {
    margin: 6px 0 0;
    font-size: 0.8rem;
    color: var(--e-global-color-accent, #8a8582);
}
.impofovw-form-voet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e6e3e0;
}
.impofovw-form-status { margin: 0; font-size: 0.87rem; }
.impofovw-form-status.is-goed { color: #1c7a4a; }
.impofovw-form-status.is-fout { color: #b02a2a; }
.impofovw-form-status.is-bezig { color: var(--e-global-color-accent, #8a8582); }

@media (max-width: 600px) {
    .impofovw-modal { padding: 16px 10px; }
    .impofovw-form-rij--2,
    .impofovw-form-vinkjes { grid-template-columns: 1fr; }
    .impofovw-form-voet { flex-direction: column-reverse; align-items: stretch; }
    .impofovw-form-voet button { width: 100%; }
}
/* De Elementor kit zet sitebreed border-width:0 op invoervelden en pas 1px bij
   focus. Die selector weegt zwaarder dan een enkele klasse, vandaar deze
   zwaardere variant zodat de rand er altijd zichtbaar is. */
.impofovw-modal .impofovw-form input[type="text"]:not([type="button"]),
.impofovw-modal .impofovw-form input[type="email"]:not([type="button"]),
.impofovw-modal .impofovw-form input[type="tel"]:not([type="button"]),
.impofovw-modal .impofovw-form input[type="number"]:not([type="button"]),
.impofovw-modal .impofovw-form input[type="file"]:not([type="button"]),
.impofovw-modal .impofovw-form select:not([multiple]),
.impofovw-modal .impofovw-form textarea:not([readonly]) {
    border-style: solid;
    border-width: 1px;
    border-color: #c8c4c1;
    border-radius: 8px;
    background-color: #fff;
    padding: 11px 12px;
}
.impofovw-modal .impofovw-form input[type="text"]:not([type="button"]):hover,
.impofovw-modal .impofovw-form input[type="email"]:not([type="button"]):hover,
.impofovw-modal .impofovw-form input[type="tel"]:not([type="button"]):hover,
.impofovw-modal .impofovw-form input[type="number"]:not([type="button"]):hover,
.impofovw-modal .impofovw-form select:not([multiple]):hover,
.impofovw-modal .impofovw-form textarea:not([readonly]):hover {
    border-color: #a8a3a0;
}
.impofovw-modal .impofovw-form input[type="text"]:not([type="button"]):focus,
.impofovw-modal .impofovw-form input[type="email"]:not([type="button"]):focus,
.impofovw-modal .impofovw-form input[type="tel"]:not([type="button"]):focus,
.impofovw-modal .impofovw-form input[type="number"]:not([type="button"]):focus,
.impofovw-modal .impofovw-form select:not([multiple]):focus,
.impofovw-modal .impofovw-form textarea:not([readonly]):focus {
    border-width: 1px;
    border-color: #201c1a;
    box-shadow: 0 0 0 3px rgba(32, 28, 26, 0.08);
    outline: none;
}
.impofovw-modal .impofovw-form .impofovw-vinkje input[type="checkbox"] {
    border: 1px solid #c8c4c1;
    border-radius: 3px;
    padding: 0;
}