/**
 * NVSP Contact Wizard — Frontend CSS
 * Alle stijlen gescooped onder .nvsp-cw-wrap
 * Font: inherit (erft Roboto Slab van Astroid)
 * Bodytekst: minimaal 16px
 * Primair blauw: #0000CD | Accent groen: #006400
 * WCAG 2.1 AA: kleurcontrast minimaal 4.5:1
 */

/* =========================================================
   Container
   ========================================================= */
.nvsp-cw-wrap {
    font-family: inherit;
    font-size: 1rem;       /* 16px */
    line-height: 1.6;
    color: #2C2E36;
    padding: 1.5rem 1rem;
}

/* =========================================================
   Voortgangsindicator
   ========================================================= */
.nvsp-cw-progress {
    font-family: inherit;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    min-height: 1.5em;
}

/* =========================================================
   Terugknop
   ========================================================= */
.nvsp-cw-back {
    font-family: inherit;
    font-size: 1rem;
    background: none;
    border: none;
    color: #0000CD;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.25rem;
    text-decoration: underline;
    display: inline-block;
}

.nvsp-cw-back:hover,
.nvsp-cw-back:focus {
    color: #1a1adb;
    outline: 2px solid #0000CD;
    outline-offset: 2px;
    text-decoration: none;
}

/* =========================================================
   Stap: titel en subtekst
   ========================================================= */
.nvsp-cw-step-title {
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2C2E36;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.nvsp-cw-step-subtitle {
    font-family: inherit;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* =========================================================
   Keuzekaarten (type: choice)
   ========================================================= */
.nvsp-cw-options {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 0.5rem;
}

.nvsp-cw-option {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: #2C2E36;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    display: block;
}

.nvsp-cw-option:hover,
.nvsp-cw-option:focus {
    border-color: #0000CD;
    box-shadow: 0 4px 12px rgba(0, 0, 205, 0.12);
    background-color: #f5f5ff;
    outline: 2px solid #0000CD;
    outline-offset: 2px;
    color: #2C2E36;
}

.nvsp-cw-option-title {
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.25rem;
}

.nvsp-cw-option-subtitle {
    font-weight: 400;
    font-size: 0.9rem;
    color: #555;
    display: block;
    line-height: 1.4;
}

/* =========================================================
   Info-scherm (type: info)
   ========================================================= */
.nvsp-cw-info {
    background: #f0f4ff;
    border-left: 4px solid #0000CD;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    color: #2C2E36;
}

.nvsp-cw-info p {
    margin: 0 0 1rem;
}

.nvsp-cw-info p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   Primaire knop (CTA, doorgaan-knop)
   ========================================================= */
.nvsp-cw-btn {
    font-family: inherit;
    font-size: 1rem;
    background-color: #0000CD;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    transition: background-color 0.15s ease;
    font-weight: 600;
}

.nvsp-cw-btn:hover,
.nvsp-cw-btn:focus {
    background-color: #1a1adb;
    color: #ffffff;
    text-decoration: none;
    outline: 2px solid #0000CD;
    outline-offset: 2px;
}

/* =========================================================
   Niet beschikbaar (kill switch)
   ========================================================= */
.nvsp-cw-unavailable {
    background: #fff8e1;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    color: #2C2E36;
}

/* =========================================================
   Fade-in animatie bij stap-overgang
   ========================================================= */
@keyframes nvspCwFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nvsp-cw-stage {
    animation: nvspCwFadeIn 0.2s ease both;
}

/* =========================================================
   Responisief — kleinere schermen
   ========================================================= */
@media (max-width: 480px) {
    .nvsp-cw-wrap {
        padding: 1rem 0.5rem;
    }

    .nvsp-cw-option {
        padding: 0.875rem 1rem;
    }

    .nvsp-cw-step-title {
        font-size: 1.2rem;
    }
}
