.neolif-assist-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(3px);
}

.neolif-assist-overlay.is-open {
    display: flex;
}

.neolif-assist-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .20);
    font-family: "Prompt", sans-serif;
}

.neolif-assist-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f7fa;
    color: #475569;
    font-size: 25px;
    line-height: 34px;
    cursor: pointer;
}

.neolif-assist-progress {
    display: flex;
    gap: 6px;
    margin: 4px 48px 24px 0;
}

.neolif-assist-progress span {
    height: 4px;
    flex: 1;
    border-radius: 99px;
    background: #e5e7eb;
}

.neolif-assist-progress span.is-active {
    background: #0B4F9F;
}

.neolif-assist-step {
    display: none;
}

.neolif-assist-step.is-active {
    display: block;
}

.neolif-assist-modal h2 {
    margin: 0;
    color: #111827;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.35;
}

.neolif-assist-subtitle {
    margin: 7px 0 26px;
    color: #64748b;
    font-size: 14px;
}

.neolif-assist-field {
    margin-bottom: 20px;
}

.neolif-assist-field > label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
}

.neolif-assist-field input[type="text"],
.neolif-assist-field input[type="tel"],
.neolif-assist-field input[type="date"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe1e8;
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}

.neolif-assist-field input:focus {
    border-color: #0B4F9F;
    box-shadow: 0 0 0 3px rgba(11, 79, 159, .10);
}

.neolif-assist-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.neolif-assist-options button {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #dbe1e8;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: .15s ease;
}

.neolif-assist-options button:hover {
    border-color: #9bb8d9;
    background: #f8fbff;
}

.neolif-assist-options button.is-selected {
    border-color: #0B4F9F;
    background: #eef5fc;
    color: #0B4F9F;
    font-weight: 500;
}

.neolif-assist-budget button {
    flex: 1 1 calc(50% - 4px);
}

.neolif-assist-primary {
    width: 100%;
    min-height: 50px;
    margin-top: 5px;
    border: 0;
    border-radius: 11px;
    background: #0B4F9F;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.neolif-assist-primary:hover {
    background: #083F80;
}

.neolif-assist-back,
.neolif-assist-more {
    padding: 0;
    border: 0;
    background: transparent;
    color: #0B4F9F;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.neolif-assist-back {
    margin-bottom: 18px;
}

.neolif-assist-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -2px 0 18px;
    color: #94a3b8;
    font-size: 12px;
}

.neolif-assist-or::before,
.neolif-assist-or::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #edf0f3;
}

.neolif-assist-more {
    margin-bottom: 18px;
}

.neolif-assist-more-fields {
    display: none;
}

.neolif-assist-more-fields.is-open {
    display: block;
}

.neolif-assist-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 16px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.neolif-assist-consent input {
    margin-top: 2px;
}

.neolif-assist-error {
    min-height: 18px;
    margin: -4px 0 8px;
    color: #dc2626;
    font-size: 12px;
}

.neolif-assist-demo-note {
    margin: 10px 0 0;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
}

body.neolif-assist-lock {
    overflow: hidden;
}

@media (max-width: 575px) {
    .neolif-assist-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .neolif-assist-modal {
        max-width: none;
        max-height: 92vh;
        padding: 24px 20px 22px;
        border-radius: 20px 20px 0 0;
    }

    .neolif-assist-modal h2 {
        font-size: 22px;
    }

    .neolif-assist-subtitle {
        margin-bottom: 22px;
    }

    .neolif-assist-field {
        margin-bottom: 17px;
    }

    .neolif-assist-options button {
        flex: 1 1 auto;
    }

    .neolif-assist-budget button {
        flex: 1 1 calc(50% - 4px);
        padding-left: 8px;
        padding-right: 8px;
    }
}
