#kudde-agenda-wrap {
    max-width: 720px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Cancel notice */
.kudde-cancel-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 14px;
    line-height: 1.5;
}
.kudde-cancel-success {
    background: #e6f9f0;
    color: #1a6b42;
    border: 1px solid #b0e6cc;
}
.kudde-cancel-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Honeypot spam protection */
.kudde-hp-wrap {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.kudde-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.kudde-tab {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.01em;
}

.kudde-tab:not(.active):hover { background: #f8f8f8; }
.kudde-tab.active { background: #1D9E75; color: #fff; border-color: #1D9E75; font-weight: 600; }

#kudde-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kudde-session-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.kudde-session-card:hover:not(.full):not(.closed) {
    border-color: #ccc;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}
.kudde-session-card.selected { border: 2px solid #1D9E75; box-shadow: 0 2px 12px rgba(29,158,117,0.12); }
.kudde-session-card.full,
.kudde-session-card.closed { opacity: 0.45; cursor: not-allowed; }

.kudde-date-block {
    min-width: 56px;
    text-align: center;
    background: #f5f6f8;
    border-radius: 8px;
    padding: 8px 6px;
    flex-shrink: 0;
}
.kudde-session-card.selected .kudde-date-block { background: rgba(29,158,117,0.08); }
.kudde-date-range .kudde-date-day { font-size: 20px; }
.kudde-date-day   { font-size: 26px; font-weight: 600; color: #1d2327; line-height: 1; }
.kudde-date-month { font-size: 11px; color: #888; margin-top: 3px; text-transform: lowercase; }
.kudde-session-info {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
}
.kudde-session-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 15px;
    font-weight: 600;
    color: #1d2327;
    text-align: right;
}
.kudde-session-time {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    color: #888;
    text-align: right;
}
.kudde-session-meta {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    align-self: center;
    gap: 6px;
    flex-wrap: wrap;
}

.kudde-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.kudde-badge-open   { background: #e1f5ee; color: #0F6E56; }
.kudde-badge-low    { background: #faeeda; color: #854F0B; }
.kudde-badge-full   { background: #fcebeb; color: #A32D2D; }
.kudde-badge-closed { background: #f0f0f0; color: #666; }
.kudde-badge-age    { background: #e8eaf6; color: #3949ab; }
.kudde-badge-price  { background: #f3e5f5; color: #7b1fa2; }
.kudde-badge-min    { background: #fff3cd; color: #856404; }

.kudde-spots-bar {
    grid-column: 1 / -1;
    grid-row: 3;
    height: 3px;
    background: #eee;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.kudde-spots-fill      { height: 100%; border-radius: 3px; background: #1D9E75; transition: width 0.4s ease; }
.kudde-spots-fill.low  { background: #E24B4A; }

/* Waitlist link on full cards */
.kudde-waitlist-link {
    grid-column: 1 / -1;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #2271b1;
    cursor: pointer;
    transition: color 0.15s;
}
.kudde-waitlist-link:hover { color: #135e96; text-decoration: underline; }

#kudde-form-wrap {
    margin-top: 10px;
}

#kudde-form-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#kudde-selected-summary {
    background: #e1f5ee;
    border: 1px solid #b0e6cc;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.kudde-summary-title {
    font-size: 17px;
    font-weight: 700;
    color: #0F6E56;
    text-align: left;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.kudde-summary-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.kudde-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.kudde-summary-item svg {
    flex-shrink: 0;
    color: #1D9E75;
}

/* Extra info dropdown — integrated in summary card */
#kudde-extra-info-wrap {
    margin-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 12px;
}

.kudde-info-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    margin-bottom: 0;
    text-align: left;
    transition: background 0.15s;
}

.kudde-info-toggle:hover {
    background: rgba(0,0,0,0.04);
}

.kudde-info-toggle .kudde-arrow { transition: transform 0.2s; font-size: 18px; }
.kudde-info-toggle.open .kudde-arrow { transform: rotate(180deg); }

#kudde-extra-info-content {
    background: rgba(0,0,0,0.03);
    border: none;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin-top: 6px;
    text-align: left;
}

/* Aanbetaling notice */
#kudde-deposit-notice {
    background: #f9fafb;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 13px;
    color: #4a3f35;
    overflow: visible;
}

.kudde-deposit-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.kudde-deposit-toggle:hover {
    background: rgba(0,0,0,0.02);
}

.kudde-deposit-toggle .kudde-arrow { transition: transform 0.2s; font-size: 18px; color: #999; }
.kudde-deposit-toggle.open .kudde-arrow { transform: rotate(180deg); }

#kudde-deposit-body {
    padding: 0 20px 16px;
}

.kudde-deposit-text {
    font-size: 13px;
    line-height: 1.5;
    color: #5c5245;
    margin: 0 0 12px;
}

.kudde-deposit-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(0,0,0,0.03);
    border-radius: 6px;
    padding: 10px 14px;
}

.kudde-deposit-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
}

.kudde-deposit-label {
    color: #8a7d6b;
    font-weight: 500;
    flex-shrink: 0;
}

.kudde-deposit-value {
    color: #3d3528;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

.kudde-deposit-confirm {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 20px 14px;
    border-top: 1px solid #eee;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
}

.kudde-deposit-confirm input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1D9E75;
}

#kudde-register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kudde-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.kudde-field { display: flex; flex-direction: column; gap: 4px; }
.kudde-field label { font-size: 11px; font-weight: 500; color: #888; text-align: left; }
.kudde-field .req  { color: #E24B4A; }

.kudde-field input,
.kudde-field select,
.kudde-field textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    line-height: 1.4;
    height: auto;
    min-height: 42px;
}

.kudde-field select {
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    padding-right: 32px;
    cursor: pointer;
}

.kudde-field input:focus,
.kudde-field select:focus { outline: none; border-color: #1D9E75; box-shadow: 0 0 0 3px rgba(29,158,117,0.1); }

.kudde-full { grid-column: 1 / -1; }

.kudde-error {
    color: #A32D2D;
    background: #fcebeb;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    margin-bottom: 12px;
}

#kudde-submit-btn {
    width: 100%;
    background: #1D9E75;
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0;
    transition: filter 0.15s;
    letter-spacing: 0.02em;
}

#kudde-submit-btn:hover  { filter: brightness(0.9); }
#kudde-submit-btn:disabled { background: #aaa; cursor: not-allowed; filter: none; }

#kudde-success { margin-top: 2rem; border-top: 1px solid #eee; padding-top: 1.5rem; }

.kudde-success-inner {
    background: #e1f5ee;
    border: 1px solid #5DCAA5;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: #085041;
}

.kudde-check          { font-size: 32px; margin-bottom: 8px; }
.kudde-success-title  { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.kudde-loading        { color: #888; font-size: 14px; }

/* Deelnemers sectie */
#kudde-participants-section {
    background: #f7f6f4;
    border: 1px solid #e0ddd8;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
}

.kudde-section-label {
    font-size: 17px;
    font-weight: 700;
    color: #5a4e3f;
    text-align: left;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kudde-section-hint {
    font-size: 12px;
    font-weight: 400;
    color: #888;
}

#kudde-participants-list { display: flex; flex-direction: column; gap: 10px; }

.kudde-participant-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: end;
}

.kudde-participant-row input {
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    width: 100%;
}

.kudde-participant-row input:focus { outline: none; border-color: #1D9E75; }

.kudde-participant-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
}

.kudde-participant-num {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    margin-bottom: -4px;
}

/* Persoonlijk bericht */
.kudde-message-field {
    margin-top: 0;
}

.kudde-message-field label {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    text-align: left;
}

.kudde-message-field textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.kudde-message-field textarea:focus { outline: none; border-color: #1D9E75; box-shadow: 0 0 0 3px rgba(29,158,117,0.1); }

.kudde-optional { font-size: 12px; font-weight: 400; color: #aaa; }

/* Dietary / Allergie section */
#kudde-dietary-section {
    background: #f9fafb;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: visible;
}

.kudde-dietary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.kudde-dietary-toggle:hover {
    background: rgba(0,0,0,0.02);
}

.kudde-dietary-toggle .kudde-arrow { transition: transform 0.2s; font-size: 18px; color: #999; }
.kudde-dietary-toggle.open .kudde-arrow { transform: rotate(180deg); }

.kudde-dietary-toggle-hint {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

#kudde-dietary-body {
    padding: 0 20px 16px;
}

.kudde-dietary-block {
    padding: 12px 0;
}
.kudde-dietary-block:first-of-type {
    padding-top: 0;
}
.kudde-dietary-block + .kudde-dietary-block {
    border-top: 1px solid #eee;
}

.kudde-dietary-who {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.kudde-dietary-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 8px;
}

.kudde-dietary-cb {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.kudde-dietary-cb svg {
    flex-shrink: 0;
    color: #888;
}

.kudde-dietary-cb input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #1D9E75;
}

.kudde-dietary-other-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.15s;
}
.kudde-dietary-other-input:focus {
    outline: none;
    border-color: #1D9E75;
    box-shadow: 0 0 0 3px rgba(29,158,117,0.1);
}

@media (max-width: 480px) {
    .kudde-form-grid { grid-template-columns: 1fr; }
    .kudde-participant-row { grid-template-columns: 1fr; }
    .kudde-summary-details { grid-template-columns: 1fr; }
}



/* Google Maps link in summary */
.kudde-maps-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.2);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.15s;
}
.kudde-maps-link:hover {
    text-decoration-color: currentColor;
}

/* Price total & deposit remaining */
#kudde-price-total span,
#kudde-deposit-remaining span {
    font-size: 13px;
}

/* Contact info */
.kudde-contact-info {
    font-size: 13px;
    color: #888;
    text-align: center;
    padding: 8px 0;
}
.kudde-contact-info a {
    color: #555;
    text-decoration: underline;
}
.kudde-contact-info a:hover {
    color: #333;
}

/* Calendar buttons in success screen */
.kudde-calendar-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}
.kudde-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
}
.kudde-cal-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

/* Booking reference */
.kudde-booking-ref {
    display: inline-block;
    margin-top: 8px;
    font-family: monospace;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #085041;
}

/* Terms link in deposit */
.kudde-deposit-confirm a {
    color: inherit;
    text-decoration: underline;
}
.kudde-deposit-confirm a:hover {
    color: #1D9E75;
}
