.trs-event-submit-wrap {
    --trs-accent: #0f8a43;
    --trs-accent-dark: #0a6d34;
    --trs-border: #dfe5e1;
    --trs-muted: #647068;
    --trs-surface: #ffffff;
    --trs-soft: #f5f8f6;
    color: #18211b;
    width: 100%;
}

.trs-event-submit-form {
    display: grid;
    gap: 24px;
}

.trs-event-section {
    background: var(--trs-surface);
    border: 1px solid var(--trs-border);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 34px);
    box-shadow: 0 8px 28px rgba(20, 45, 29, 0.05);
}

.trs-event-section__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.trs-event-section__head h2 {
    margin: 0 0 4px;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.15;
}

.trs-event-section__head p,
.trs-submit-note,
.trs-field-note,
.trs-privacy {
    margin: 0;
    color: var(--trs-muted);
}

.trs-event-section__number {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--trs-accent);
    color: #fff;
    font-weight: 700;
}

.trs-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.trs-col-2 {
    grid-column: 1 / -1;
}

.trs-field,
.trs-choice-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.trs-field label,
.trs-field legend,
.trs-choice-group legend,
.trs-other-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.35;
}

.trs-field input,
.trs-field select,
.trs-field textarea,
.trs-other-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #bfc9c2;
    border-radius: 9px;
    padding: 10px 12px;
    background: #fff;
    color: inherit;
    font: inherit;
    box-sizing: border-box;
}

.trs-field textarea {
    min-height: 150px;
    resize: vertical;
}

.trs-field input:focus,
.trs-field select:focus,
.trs-field textarea:focus,
.trs-other-field input:focus {
    border-color: var(--trs-accent);
    outline: 3px solid rgba(15, 138, 67, 0.15);
}

.trs-field small {
    display: block;
    margin-top: 7px;
    color: var(--trs-muted);
    line-height: 1.45;
}

.trs-choice-group {
    margin-top: 22px;
}

.trs-choice-group:first-child {
    margin-top: 0;
}

.trs-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.trs-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trs-choice {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    min-height: 44px;
    margin: 0 !important;
    padding: 11px 12px;
    border: 1px solid var(--trs-border);
    border-radius: 9px;
    background: var(--trs-soft);
    cursor: pointer;
    font-weight: 500 !important;
    box-sizing: border-box;
}

.trs-choice:hover {
    border-color: #aebbb2;
}

.trs-choice input {
    flex: 0 0 auto;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    accent-color: var(--trs-accent);
}

.trs-other-field {
    max-width: 520px;
    margin-top: 12px;
}

.trs-benefits .trs-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trs-event-section--submit {
    text-align: center;
}

.trs-consent {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 780px;
    margin: 0 auto 12px;
    text-align: left;
}

.trs-consent input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    accent-color: var(--trs-accent);
}

.trs-event-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 20px;
    padding: 13px 24px;
    border: 0;
    border-radius: 9px;
    background: var(--trs-accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.trs-event-submit-button:hover,
.trs-event-submit-button:focus {
    background: var(--trs-accent-dark);
}

.trs-submit-note {
    margin-top: 10px;
}

.trs-event-notice {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 10px;
}

.trs-event-notice p:last-child,
.trs-event-notice ul:last-child {
    margin-bottom: 0;
}

.trs-event-notice--success {
    border-color: #9bd2ae;
    background: #edf8f1;
}

.trs-event-notice--warning {
    border-color: #e3c96e;
    background: #fff9e8;
}

.trs-event-notice--error {
    border-color: #e0a3a3;
    background: #fff2f2;
}

.trs-event-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .trs-choice-grid,
    .trs-benefits .trs-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .trs-event-grid,
    .trs-choice-grid,
    .trs-benefits .trs-choice-grid {
        grid-template-columns: 1fr;
    }

    .trs-col-2 {
        grid-column: auto;
    }

    .trs-event-section {
        border-radius: 12px;
        padding: 18px;
    }

    .trs-event-section__head {
        gap: 10px;
    }
}

.trs-field[hidden] {
    display: none !important;
}

.trs-turnstile {
    width: 100%;
    margin: 8px 0 4px;
}

.trs-turnstile .cf-turnstile {
    width: 100%;
}
