/* De Werven - evenement aanmelden */
.dw-event-form-wrap {
    max-width: 980px;
    margin: 0 auto 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dw-event-form-hero {
    background: #00658C;
    color: #ffffff;
    padding: 34px 36px;
    text-align: center;
}

.dw-event-form-hero h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.dw-event-form-hero p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.5;
}

.dw-event-alert {
    margin: 24px 28px 0;
    padding: 16px 18px;
    background: #ff6422;
    color: #ffffff;
    border-radius: 10px;
}

.dw-event-alert strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.dw-event-form {
    padding: 28px;
}

.dw-event-form h2 {
    margin: 22px 0 18px;
    color: #222222;
    font-size: 24px;
}

.dw-event-form label {
    display: block;
    margin: 0 0 18px;
    font-weight: 700;
    color: #222222;
}

.dw-event-form label span {
    color: #ff6422;
}

.dw-event-form input[type="text"],
.dw-event-form input[type="email"],
.dw-event-form input[type="url"],
.dw-event-form input[type="date"],
.dw-event-form input[type="time"],
.dw-event-form input[type="number"],
.dw-event-form select,
.dw-event-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    border: 1px solid #cbd5dc;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    background: #ffffff;
    color: #222222;
    box-sizing: border-box;
}

.dw-event-form textarea {
    min-height: 180px;
    resize: vertical;
}

.dw-event-form small {
    display: block;
    margin-top: 7px;
    font-weight: 400;
    color: #5d6870;
}

.dw-grid {
    display: grid;
    gap: 18px;
}

.dw-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dw-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600 !important;
}

.dw-checkbox input {
    width: auto !important;
    margin-top: 4px !important;
}

.dw-voorwaarden {
    background: #f3f6f8;
    border-radius: 10px;
    padding: 14px;
}

.dw-captcha {
    max-width: 420px;
}

.dw-event-submit {
    border: 0;
    border-radius: 999px;
    background: #ff6422;
    color: #ffffff;
    padding: 14px 24px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

.dw-event-submit:hover,
.dw-event-submit:focus {
    background: #00658C;
    transform: translateY(-1px);
}

.dw-event-form-message {
    max-width: 980px;
    margin: 0 auto 20px;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.dw-event-form-message--success {
    background: #e8f5ec;
    color: #1c5f2e;
    border: 1px solid #b8e0c4;
}

.dw-event-form-message--error {
    background: #fff1ed;
    color: #9d2f12;
    border: 1px solid #ffc6b5;
}

.dw-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@media (max-width: 760px) {
    .dw-event-form-wrap {
        border-radius: 0;
    }

    .dw-event-form-hero,
    .dw-event-form {
        padding: 22px;
    }

    .dw-event-alert {
        margin: 18px 18px 0;
    }

    .dw-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dw-event-submit {
        width: 100%;
    }
}

/* v1.0.1 - locatie zoeken/autocomplete */
.dw-venue-autocomplete-label {
    position: relative;
}

.dw-venue-suggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 50;
    margin-top: 4px;
    background: #ffffff;
    border: 1px solid #cbd5dc;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.dw-venue-suggestions.is-visible {
    display: block;
}

.dw-venue-suggestion {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid #eef2f4;
    background: #ffffff;
    color: #222222;
    text-align: left;
    cursor: pointer;
}

.dw-venue-suggestion:hover,
.dw-venue-suggestion:focus {
    background: #f3f8fb;
}

.dw-venue-suggestion strong,
.dw-venue-suggestion span {
    display: block;
}

.dw-venue-suggestion span {
    margin-top: 3px;
    color: #5d6870;
    font-size: 14px;
    font-weight: 400;
}

.dw-venue-help {
    margin-top: 7px;
}


/* v1.0.2 - organisatie zoeken/autocomplete */
.dw-organizer-autocomplete-label {
    position: relative;
}

.dw-organizer-suggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 50;
    margin-top: 4px;
    background: #ffffff;
    border: 1px solid #cbd5dc;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.dw-organizer-suggestions.is-visible {
    display: block;
}

.dw-organizer-suggestion {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid #eef2f4;
    background: #ffffff;
    color: #222222;
    text-align: left;
    cursor: pointer;
}

.dw-organizer-suggestion:hover,
.dw-organizer-suggestion:focus {
    background: #f3f8fb;
}

.dw-organizer-suggestion strong,
.dw-organizer-suggestion span {
    display: block;
}

.dw-organizer-suggestion span {
    margin-top: 3px;
    color: #5d6870;
    font-size: 14px;
    font-weight: 400;
}

.dw-organizer-help {
    margin-top: 7px;
}

/* v1.0.3 - herhaling */
.dw-repeat-box {
    margin: 0 0 18px;
    padding: 16px;
    background: #f3f8fb;
    border: 1px solid #d7e5ec;
    border-radius: 12px;
}

.dw-repeat-box .dw-checkbox {
    margin-bottom: 0;
}

.dw-repeat-fields {
    display: none;
    margin-top: 16px;
}

.dw-repeat-fields.is-visible {
    display: block;
}

.dw-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* v1.0.3 - dropzone upload */
.dw-file-dropzone {
    position: relative;
    margin: 0 0 18px;
    padding: 28px 22px;
    border: 2px dashed #cbd5dc;
    border-radius: 14px;
    background: #f8fbfc;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.dw-file-dropzone:hover,
.dw-file-dropzone:focus,
.dw-file-dropzone.is-dragover {
    border-color: #00658C;
    background: #eef7fb;
    outline: none;
    transform: translateY(-1px);
}

.dw-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dw-file-dropzone-inner {
    pointer-events: none;
    text-align: center;
}

.dw-file-dropzone-inner strong {
    display: block;
    color: #00658C;
    font-size: 20px;
    margin-bottom: 4px;
}

.dw-file-dropzone-inner span,
.dw-file-dropzone-inner small,
.dw-file-dropzone-inner em {
    display: block;
}

.dw-file-dropzone-inner em {
    margin-top: 10px;
    font-style: normal;
    font-weight: 700;
    color: #ff6422;
}

.dw-event-form-message--info {
    background: #eef7fb;
    color: #0b5675;
    border: 1px solid #b9dbe8;
}

@media (max-width: 760px) {
    .dw-grid-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* v1.0.4 - herhalen als compacte kalender-keuze */
.dw-repeat-panel {
    max-width: 520px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #cbd5dc;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.dw-repeat-panel label {
    margin-bottom: 0;
}

.dw-repeat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.dw-repeat-row label {
    width: 100%;
}

.dw-repeat-interval-row {
    flex-wrap: wrap;
    font-weight: 700;
}

.dw-repeat-interval-row input[type="number"] {
    width: 74px;
    margin-top: 0;
    text-align: center;
}

.dw-repeat-weekly-options {
    margin: 6px 0 16px;
}

.dw-repeat-weekdays {
    display: inline-flex;
    border: 1px solid #9aa7b0;
    border-right: 0;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
}

.dw-repeat-day {
    margin: 0 !important;
    font-weight: 700 !important;
}

.dw-repeat-day input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dw-repeat-day span {
    display: block;
    min-width: 46px;
    padding: 11px 12px;
    border-right: 1px solid #9aa7b0;
    color: #222222 !important;
    background: #ffffff;
    text-align: center;
    cursor: pointer;
}

.dw-repeat-day input:checked + span {
    background: #00658C;
    color: #ffffff !important;
}

.dw-repeat-day input:focus + span {
    outline: 2px solid #ff6422;
    outline-offset: -2px;
}

.dw-repeat-until {
    margin-top: 10px !important;
}

@media (max-width: 760px) {
    .dw-repeat-panel {
        max-width: none;
    }

    .dw-repeat-weekdays {
        display: flex;
        width: 100%;
    }

    .dw-repeat-day {
        flex: 1;
    }

    .dw-repeat-day span {
        min-width: 0;
        padding-left: 8px;
        padding-right: 8px;
    }
}
