.tim-funnel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    margin: 32px auto;
    max-width: 760px;
    padding: 28px;
}

.tim-funnel-progress {
    background: #eee;
    border-radius: 999px;
    height: 8px;
    margin-bottom: 24px;
    overflow: hidden;
}

.tim-funnel-progress-bar {
    background: #111;
    height: 100%;
    transition: width 0.25s ease;
}

.tim-funnel-step[hidden],
.tim-funnel-form[hidden],
.tim-funnel-progress[hidden],
.tim-funnel-message[hidden],
.tim-funnel-success[hidden] {
    display: none;
}

.tim-funnel-step h2 {
    font-size: 28px;
    margin: 0 0 22px;
}

.tim-funnel-field {
    margin-bottom: 18px;
}

.tim-funnel-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.tim-funnel input[type="text"],
.tim-funnel input[type="email"],
.tim-funnel input[type="tel"],
.tim-funnel textarea {
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    box-sizing: border-box;
    font: inherit;
    padding: 14px 15px;
    width: 100%;
}

.tim-funnel textarea {
    min-height: 110px;
    resize: vertical;
}

.tim-funnel-options {
    display: grid;
    gap: 12px;
}

.tim-funnel-option {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
    padding: 16px;
    text-align: left;
    width: 100%;
}

.tim-funnel-option:hover,
.tim-funnel-option.is-selected {
    background: #111;
    color: #fff;
}

.tim-funnel-checkbox {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    line-height: 1.45;
    margin-bottom: 10px;
}

.tim-funnel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tim-funnel-back,
.tim-funnel-next,
.tim-funnel-submit {
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    padding: 13px 22px;
}

.tim-funnel-back {
    background: #eaeaea;
}

.tim-funnel-next,
.tim-funnel-submit {
    background: #111;
    color: #fff;
}

.tim-funnel-submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.tim-funnel-message {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 10px;
    color: #664d03;
    margin-top: 16px;
    padding: 12px 14px;
}

.tim-funnel-field.has-error input,
.tim-funnel-field.has-error textarea,
.tim-funnel-field.has-error .tim-funnel-option {
    border-color: #b32d2e;
}

.tim-funnel-field-consent.has-error .tim-funnel-checkbox {
    color: #b32d2e;
    outline: 0;
}

.tim-funnel-field-consent.has-error .tim-funnel-checkbox input {
    outline: 2px solid #b32d2e;
    outline-offset: 2px;
}

.tim-funnel-success {
    font-size: 18px;
}
