:root {
    --zdw-bg: #f8f5fa;
    --zdw-pink: #e8407e;
    --zdw-pink-hover: #c92e68;
    --zdw-dark: #0b2b1c;
    --zdw-body: #3f6553;
    --zdw-label: #3c7a52;
    --zdw-muted: #7d8f85;
    --zdw-muted-2: #8b9b92;
    --zdw-border: #e7e0ec;
    --zdw-chip-border: #f6dbe6;
    --zdw-checkbox-border: #ddd5e4;
    --zdw-cta-off-bg: #f0e9f2;
    --zdw-cta-off-fg: #b3a7bb;
    --zdw-fail-bg: #fdeef3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--zdw-bg);
    color: var(--zdw-dark);
    font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--zdw-pink);
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    color: var(--zdw-pink-hover);
    text-decoration: underline;
}

/* Layout */

.zdw-screen {
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: var(--zdw-bg);
}

.zdw-header {
    flex: none;
    background: #fff;
    display: flex;
    align-items: flex-end;
    padding: 28px 22px 14px;
}

.zdw-logo {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--zdw-pink);
}

.zdw-logo span {
    font-weight: 600;
    font-size: 16px;
}

.zdw-hero {
    width: 100%;
    height: 190px;
    flex: none;
    overflow: hidden;
}

.zdw-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}

.zdw-body {
    flex: 1;
    padding: 20px 18px 0;
    display: flex;
    flex-direction: column;
}

.zdw-footnote {
    padding: 20px 16px 32px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: var(--zdw-muted-2);
}

/* Card */

.zdw-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 2px 14px rgba(11, 43, 28, 0.05);
}

.zdw-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zdw-label);
    margin: 0 0 8px;
}

.zdw-heading {
    font-size: 29px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--zdw-dark);
    margin: 0 0 8px;
}

.zdw-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--zdw-body);
    margin: 0 0 18px;
}

.zdw-label-sm {
    font-size: 15px;
    font-weight: 800;
    color: var(--zdw-dark);
    margin: 0 0 11px;
}

/* Chips */

.zdw-chips {
    display: flex;
    gap: 9px;
    margin-bottom: 11px;
}

.zdw-chip {
    flex: 1;
    height: 62px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    background: #fff;
    color: var(--zdw-dark);
    border: 2px solid var(--zdw-chip-border);
    font-family: inherit;
    transition: all 0.15s;
}

.zdw-chip--actief {
    background: var(--zdw-pink);
    color: #fff;
    border-color: var(--zdw-pink);
}

/* Inputs */

.zdw-input {
    width: 100%;
    height: 58px;
    border: 1px solid var(--zdw-border);
    border-radius: 14px;
    background: #fff;
    padding: 0 18px;
    font-size: 17px;
    font-weight: 600;
    color: var(--zdw-dark);
    outline: none;
    font-family: inherit;
    margin-bottom: 10px;
}

.zdw-input--form {
    height: 54px;
    font-size: 16px;
    padding: 0 15px;
}

.zdw-row {
    display: flex;
    gap: 10px;
}

.zdw-row .zdw-input {
    flex: 1;
    min-width: 0;
}

.zdw-row .zdw-input--smal {
    flex: 0 0 34%;
}

.zdw-hint {
    font-size: 13px;
    font-weight: 600;
    color: var(--zdw-muted);
    margin: 0 0 18px;
}

/* Checkboxes */

.zdw-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
}

.zdw-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 28px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

.zdw-box {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 9px;
    border: 2px solid var(--zdw-checkbox-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zdw-box::before {
    content: "\2713";
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
}

.zdw-checkbox input:checked ~ .zdw-box {
    background: var(--zdw-pink);
    border-color: var(--zdw-pink);
}

.zdw-checkbox input:checked ~ .zdw-box::before {
    color: #fff;
}

.zdw-checkbox-text {
    font-size: 15px;
    line-height: 1.35;
    color: #335444;
    padding-top: 3px;
    font-weight: 600;
}

/* Buttons */

.zdw-cta {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    font-family: inherit;
    background: var(--zdw-pink);
    color: #fff;
    box-shadow: 0 6px 18px rgba(232, 64, 126, 0.28);
    transition: all 0.15s;
    text-decoration: none;
}

.zdw-cta:disabled {
    background: var(--zdw-cta-off-bg);
    color: var(--zdw-cta-off-fg);
    box-shadow: none;
    cursor: default;
}

.zdw-link-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--zdw-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 0;
}

.zdw-fout {
    color: var(--zdw-pink);
    font-size: 13px;
    font-weight: 700;
    margin: -8px 0 14px;
}

/* Wachtscherm */

.zdw-wait {
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 0 40px;
    background: var(--zdw-bg);
    text-align: center;
}

.zdw-spinner {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 4px solid #f3dfe8;
    border-top-color: var(--zdw-pink);
    animation: zdwspin 900ms linear infinite;
}

@keyframes zdwspin {
    to {
        transform: rotate(360deg);
    }
}

.zdw-pulse {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--zdw-label);
    animation: zdwpulse 1.8s ease-in-out infinite;
}

@keyframes zdwpulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* Bevestiging (done) */

.zdw-done-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 80px 32px 0;
    text-align: center;
}

.zdw-check {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--zdw-pink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.zdw-tagline {
    font-size: 17px;
    font-weight: 800;
    color: var(--zdw-label);
}

.zdw-photo-placeholder {
    height: 150px;
    flex: none;
    background: repeating-linear-gradient(135deg, #fdeef3 0 14px, #f8e2ea 14px 28px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zdw-photo-placeholder span {
    font: 11px ui-monospace, Menlo, monospace;
    color: #a8748a;
    background: rgba(255, 255, 255, 0.85);
    padding: 5px 9px;
    border-radius: 6px;
}

.zdw-footer {
    flex: none;
    background: var(--zdw-dark);
    padding: 22px 22px 44px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zdw-footer-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.zdw-footer-logo span {
    font-weight: 600;
    font-size: 15px;
}

.zdw-footer-text {
    font-size: 12px;
    line-height: 1.5;
    color: #b9cfc3;
}

/* Mislukt (fail) */

.zdw-fail {
    padding: 76px 22px 46px;
    align-items: center;
    text-align: center;
}

.zdw-fail-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.zdw-fail-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--zdw-fail-bg);
    color: var(--zdw-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.zdw-fail-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
