.tm-request-wizard {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 28px;
    align-items: start;
    margin: 28px 0;
    font-family: inherit;
}

.tm-request-left,
.tm-request-right {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.tm-request-left h2,
.tm-request-right h2,
.tm-request-left h3 {
    margin: 0 0 5px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    font-family: 'Caveat Brush';
    font-weight: 600;
}

.tm-request-step-label {
    display: inline-flex;
    align-items: center;
    margin: 0 0 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f5f2ed;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.tm-request-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

.tm-request-services {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.tm-request-services.is-active {
    display: grid;
}

.tm-request-services-placeholder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.tm-request-services-placeholder[hidden] {
    display: none !important;
}

.tm-request-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 50px;
}

/* Stap 1, 2 en 3: alle keuze-knoppen gelijk */
.tm-request-group,
.tm-request-service,
.tm-request-choice {
    appearance: none;
    background-color: transparent;
    font-family: var(--et_global_body_font);
    font-weight: 600;
    color: var(--gcid-secondary-color) !important;
    font-size: 16px !important;
    border-radius: 15px;
    border-width: 1px;
    border-color: hsl(from var(--gcid-secondary-color) calc(h + 0) calc(s + 0) calc(l + 0) / 0.6);
    border-style: solid;
    padding: 12px 25px;
    min-height: 48px;
    cursor: pointer;
    text-align: left;
    line-height: 1.35;
    transition-property: background-color;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
}

.tm-request-group:hover,
.tm-request-service:hover,
.tm-request-choice:hover,
.tm-request-group.is-active,
.tm-request-service.is-active,
.tm-request-choice.is-active {
    background-color: hsl(from var(--gcid-secondary-color) calc(h + 0) calc(s + 0) calc(l + 0) / 0.1);
}

.tm-request-group.is-active,
.tm-request-service.is-active,
.tm-request-choice.is-active {
    border-color: var(--gcid-secondary-color);
}

/* Alleen de knop Aanvraag versturen */
.tm-request-submit {
    appearance: none;
    width: 100%;
    margin-top: 18px;
    background-color: var(--gcid-link-color);
    font-family: var(--et_global_body_font);
    font-weight: 600;
    color: var(--gcid-bsyga0tepx) !important;
    font-size: 16px !important;
    border-radius: 100px;
    border-width: 1px;
    border-color: var(--gcid-link-color);
    border-style: solid;
    padding: 12px 25px;
    min-height: 48px;
    cursor: pointer;
    text-align: center;
    line-height: 1.35;
    transition-property: background-color, border-color;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
}

.tm-request-submit:hover:not(:disabled) {
    background-color: var(--gcid-secondary-color);
    border-color: var(--gcid-secondary-color);
}

.tm-request-placeholder,
.tm-request-muted {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 12px 25px;
    border: 1px solid hsl(from var(--gcid-secondary-color) calc(h + 0) calc(s + 0) calc(l + 0) / 0.35);
    border-radius: 15px;
    background-color: hsl(from var(--gcid-secondary-color) calc(h + 0) calc(s + 0) calc(l + 0) / 0.05);
    color: var(--gcid-secondary-color);
    font-family: var(--et_global_body_font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    opacity: .8;
    cursor: default;
}

.tm-request-summary {
    display: grid;
    gap: 10px;
    margin: 0 0 20px;
}

.tm-request-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 10px 0;
}

.tm-request-summary span {
    color: #666;
}

.tm-request-summary strong {
    text-align: right;
}

.tm-request-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tm-request-fields label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}


.tm-field-optional {
    font-weight: 400;
    opacity: .75;
}

.tm-request-fields input,
.tm-request-fields textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.tm-organization-field,
.tm-school-field,
.tm-address-field,
.tm-birthdate-field,
.tm-child-name-field,
.tm-child-age-field,
.tm-comments-field {
    grid-column: 1 / -1;
}

.tm-organization-field[hidden],
.tm-school-field[hidden],
.tm-address-field[hidden],
.tm-birthdate-field[hidden],
.tm-child-name-field[hidden],
.tm-child-age-field[hidden],
.tm-comments-field[hidden] {
    display: none !important;
}

.tm-terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.tm-terms-agreement input {
    width: auto;
    margin-top: 4px;
    flex: 0 0 auto;
}

.tm-terms-agreement a {
    text-decoration: underline;
}


.tm-request-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.tm-request-notice {
    margin-top: 14px;
    font-weight: 700;
}

.tm-request-notice.is-success {
    color: #166534;
}

.tm-request-notice.is-error {
    color: #b91c1c;
}

.tm-request-form.is-loading .tm-request-submit {
    opacity: .65;
    pointer-events: none;
}

@media (max-width: 900px) {
    .tm-request-wizard {
        grid-template-columns: 1fr;
    }

    .tm-request-right {
        position: static;
    }
}

@media (max-width: 560px) {
    .tm-request-left,
    .tm-request-right {
        padding: 18px;
        border-radius: 14px;
    }

    .tm-request-groups,
    .tm-request-services,
    .tm-request-services-placeholder,
    .tm-request-choices,
    .tm-request-fields {
        grid-template-columns: 1fr;
    }

    .tm-request-summary > div {
        display: grid;
    }

    .tm-request-summary strong {
        text-align: left;
    }
}

