.vochtfix-check-button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.vochtfix-check-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    opacity: 0.95;
}

.vochtfix-check-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.vochtfix-check-modal {
    background: #ffffff;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vochtfix-check-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.vochtfix-check-header {
    padding-right: 32px;
}

.vochtfix-check-header h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
}

.vochtfix-check-header p {
    margin: 0 0 12px;
    color: #555;
}

.vochtfix-check-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.vochtfix-check-progress-bar {
    flex: 1;
    height: 6px;
    background: #f1f1f1;
    border-radius: 999px;
    overflow: hidden;
}

.vochtfix-check-progress-fill {
    height: 100%;
    width: 0;
    background: #34d499;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.vochtfix-check-progress-label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

#vochtfix-check-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#vochtfix-check-steps {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.vochtfix-check-step {
    display: none;
    padding: 8px 0 12px;
}

.vochtfix-check-step-active {
    display: block;
}

.vochtfix-check-question-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.vochtfix-check-field-wrapper {
    margin-left: 2px;
}

.vochtfix-check-option {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.vochtfix-check-option input[type="radio"],
.vochtfix-check-option input[type="checkbox"] {
    transform: scale(1.05);
}

.vochtfix-check-option label {
    margin: 0;
    cursor: pointer;
}

.vochtfix-check-step input[type="text"],
.vochtfix-check-step input[type="number"],
.vochtfix-check-step textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.vochtfix-check-step textarea {
    resize: vertical;
}

.vochtfix-check-step-error {
    animation: vochtfix-shake 0.3s;
    border-radius: 10px;
    background: rgba(232,94,23,0.08);
}

@keyframes vochtfix-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

.vochtfix-check-contact {
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-bottom: 10px;
}

.vochtfix-check-contact h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.vochtfix-check-field {
    margin-bottom: 6px;
}

.vochtfix-check-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}

.vochtfix-check-field input[type="text"],
.vochtfix-check-field input[type="email"] {
    width: 100%;
    padding: 7px 9px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.vochtfix-check-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.vochtfix-check-actions button {
    border-radius: 999px;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.vochtfix-check-prev {
    background: #f1f1f1;
    color: #333;
}

.vochtfix-check-next,
.vochtfix-check-submit {
    background: #34d499;
    color: #fff;
}

.vochtfix-check-result {
    padding-top: 10px;
    border-top: 1px solid #eee;
    max-height: 60vh;
    overflow-y: auto;
}

.vochtfix-check-result h3 {
    margin-top: 0;
}

/* Vochtfix resultaat-styling */

.vochtfix-check-result {
    padding-top: 10px;
    border-top: 1px solid #eee;
    max-height: 60vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.5;
}

.vf-result {
    margin-top: 4px;
}

.vf-intro {
    margin-bottom: 10px;
    font-weight: 500;
}

.vf-result-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 14px;
}

.vf-result-card {
    flex: 1 1 240px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid #ececec;
}

.vf-result-card h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.vf-result-card ul {
    margin: 0;
    padding-left: 18px;
}

.vf-result-card li {
    margin-bottom: 4px;
}

.vf-result-card--problem {
    border-left: 4px solid #999;
}

.vf-result-card--solution {
    border-left: 4px solid #1b4d8f;
}

.vf-result-card--costs {
    border-left: 4px solid #34d499;
    background: #fff7f2;
}

.vf-result-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 999px;
    background: #34d499;
    color: #fff;
    margin-bottom: 6px;
}

.vf-disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

.vf-cta {
    margin-top: 8px;
    font-weight: 500;
}

.vochtfix-contact-row {
    display: flex;
    gap: 8px;
}

.vochtfix-check-field--half {
    flex: 1 1 0;
}

.vochtfix-check-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.vochtfix-check-loading-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 320px;
    font-size: 14px;
}

.vochtfix-check-spinner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid rgba(232,94,23,0.2);
    border-top-color: #34d499;
    margin: 0 auto 10px;
    animation: vf-spin 0.8s linear infinite;
}

.vochtfix-contact-row-phone {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.vochtfix-check-field--code {
    flex: 0 0 140px;
}

.vochtfix-check-field--phone {
    flex: 1 1 auto;
}

@media (max-width: 640px) {
    .vochtfix-contact-row-phone {
        flex-direction: column;
    }

    .vochtfix-check-field--code,
    .vochtfix-check-field--phone {
        flex: 1 1 100%;
    }
}


/* Result actions onder AI-advies */
.vochtfix-check-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.vochtfix-check-result-actions .vochtfix-result-appointment,
.vochtfix-check-result-actions .vochtfix-result-whatsapp {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
}

/* Oranjeknop voor afspraak */
.vochtfix-result-appointment {
    background-color: #e85e17;
    color: #fff;
    box-shadow: 0 4px 8px rgba(232,94,23,0.25);
}

/* Groen voor WhatsApp */
.vochtfix-result-whatsapp {
    background-color: #25d366;
    color: #fff;
    box-shadow: 0 4px 8px rgba(37,211,102,0.25);
}

.vochtfix-check-result-actions .vochtfix-result-appointment:hover,
.vochtfix-check-result-actions .vochtfix-result-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    opacity: 0.95;
}

/* Mobiel: knoppen onder elkaar full width */
@media (max-width: 640px) {
    .vochtfix-check-result-actions {
        flex-direction: column;
    }

    .vochtfix-check-result-actions .vochtfix-result-appointment,
    .vochtfix-check-result-actions .vochtfix-result-whatsapp {
        width: 100%;
        text-align: center;
    }
}

/* Afspraak-panel als nette kaart */
.vochtfix-appointment-panel {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background-color: #f7f7f7;
    border: 1px solid #e3e3e3;
}

.vochtfix-appointment-title {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 700;
}

.vochtfix-appointment-info {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
}

.vochtfix-appointment-fields {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.vochtfix-appointment-fields .vochtfix-check-field {
    flex: 1 1 50%;
}

@media (max-width: 640px) {
    .vochtfix-appointment-fields {
        flex-direction: column;
    }
}

.vochtfix-appointment-submit {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    background-color: #e85e17;
    color: #fff;
    box-shadow: 0 4px 8px rgba(232,94,23,0.25);
}

.vochtfix-appointment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.vochtfix-appointment-message {
    margin-top: 12px;
    font-size: 14px;
}

/* Bedankt-melding na afspraak */
.vochtfix-appointment-message {
    display: none; /* standaard verborgen, JS zet hem op display:block */
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #f0f7ee;
    border: 1px solid #b8d9b0;
    color: #2f5c28;
    font-size: 14px;
    line-height: 1.5;
}

/* Zelfde look voor datum + tijd in afspraak-panel */
.vochtfix-appointment-panel input[type="date"],
.vochtfix-appointment-panel input[type="time"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    outline: none;
    appearance: none; /* zoveel mogelijk native styling weg */
}

.vochtfix-appointment-panel input[type="date"]:focus,
.vochtfix-appointment-panel input[type="time"]:focus {
    border-color: #e85e17;
    box-shadow: 0 0 0 2px rgba(232,94,23,0.15);
}

/* Klein icoontje of text-align tweak kan, maar niet verplicht */



@keyframes vf-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


@media (max-width: 640px) {
    .vochtfix-contact-row {
        flex-direction: column;
    }
}


/* Mobiel: cards onder elkaar */
@media (max-width: 640px) {
    .vf-result-grid {
        flex-direction: column;
    }
}


@media (max-width: 640px) {
    .vochtfix-check-modal {
        padding: 18px 14px 14px;
        border-radius: 14px;
    }
}
