#suviet-2step-wrap {
    max-width: 1250px;
    width: 100%;
    margin: 8px auto 10px;
    font-family: 'Segoe UI', sans-serif;
    box-sizing: border-box;
}
#suviet-2step-wrap * {
    box-sizing: border-box;
}

.suviet-box {
    background: #f7f3ec;
    border-radius: 14px;
    padding: 15px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    text-align: center;
    position: relative;
    width: 100%;
}
.suviet-box h2 {
    font-size: 1.12em;
    margin: 0 0 6px;
    color: #19345d;
    font-weight: 500;
    line-height: 1.28;
}
.suviet-box p {
    font-size: .88em;
    margin: 0 0 11px;
    color: #444;
    line-height: 1.45;
}

.suviet-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}
.suviet-row-inline {
    flex-wrap: wrap;
}
.suviet-actions {
    margin-top: 10px;
    flex-wrap: wrap;
}
.suviet-actions-left {
    justify-content: flex-start;
    margin-top: 8px;
}

.input-wrap {
    position: relative;
    width: 230px;
    max-width: 100%;
}
.input-wrap input[type=number],
.input-wrap input[type=text],
.input-wrap input[type=tel] {
    height: 38px;
    padding: 0 11px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: .88em;
    background: #fff;
    outline: none;
    transition: border 0.18s, box-shadow .16s;
    width: 100%;
    color: #1f2937;
}
.input-wrap input:focus,
.input-wrap input:hover {
    border-color: #1b5482;
    box-shadow: 0 2px 7px rgba(211,234,255,.32);
}
.input-wrap label {
    position: absolute;
    left: 11px;
    top: 10px;
    font-size: .8em;
    font-weight: 600;
    color: #1b5482;
    pointer-events: none;
    background: #f7f3ec;
    transition: .2s cubic-bezier(.23,.67,.47,1.43);
    line-height: 1;
    padding: 0 4px;
}
.input-wrap input:focus + label,
.input-wrap input.has-value + label,
.input-wrap input:not(:placeholder-shown) + label {
    top: -7px;
    left: 7px;
    font-size: 0.68em;
    background: #f7f3ec;
    color: #1b5482;
    padding: 0 4px;
}

.suviet-btn {
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: .86em;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    cursor: pointer;
    box-shadow: none;
    min-width: 108px;
}
.suviet-btn:hover {
    transform: translateY(-1px);
}
.suviet-btn-blue {
    background: #1b5482;
    color: #fff;
}
.suviet-btn-blue:hover {
    background: #19345d;
}
.suviet-btn-yellow {
    background: #ffd600;
    color: #222;
}
.suviet-btn-yellow:hover {
    background: #ffc107;
}
.suviet-btn-light {
    background: #fff;
    color: #19345d;
    border: 1px solid #d8d8d8;
}
.suviet-btn-light:hover {
    background: #f2f4f7;
}
.suviet-red {
    color: #e60000;
    font-weight: bold;
}

.suviet-progress {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 0;
}
.suviet-progress span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e3e7;
    display: inline-block;
    transition: background .22s, border .22s;
    border: 1.8px solid #e0e3e7;
    opacity: 0.95;
}
.suviet-progress .active {
    background: #175080;
    border-color: #bed7ee;
    opacity: 1;
}

.suviet-choice-group + .suviet-choice-group {
    margin-top: 10px;
}
.suviet-choice-title {
    text-align: left;
    font-weight: 600;
    color: #19345d;
    margin-bottom: 6px;
    font-size: .88em;
    line-height: 1.3;
}
.suviet-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-start;
}
.suviet-chip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.suviet-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.suviet-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #d8dee7;
    color: #19345d;
    font-weight: 600;
    font-size: .83em;
    line-height: 1.15;
    text-align: center;
    transition: all .18s ease;
}
.suviet-chip span:hover {
    border-color: #1b5482;
    box-shadow: 0 2px 4px rgba(27,84,130,.07);
    transform: translateY(-1px);
}
.suviet-chip input:checked + span {
    background: #1b5482;
    color: #fff;
    border-color: #1b5482;
    box-shadow: 0 2px 6px rgba(27,84,130,.13);
}
.suviet-chip input:checked + span::before {
    content: "✓";
    margin-right: 5px;
    font-weight: 700;
    font-size: .84em;
}

.suviet-inline-error {
    color: #c31c1c;
    font-size: .82em;
    text-align: left;
    margin-top: 7px;
}
.error {
    border-color: #c31c1c !important;
    box-shadow: 0 0 0 3px rgba(195,28,28,.08) !important;
}

.suviet-summary-box {
    background: rgba(255,255,255,.72);
    border: 1px solid #ebe2d1;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 0 auto 12px;
    text-align: left;
    max-width: 620px;
    color: #444;
    font-size: .86em;
    line-height: 1.45;
}
.suviet-summary-box > div + div {
    margin-top: 6px;
}

.suviet-success {
    margin: 16px auto 0;
    max-width: 620px;
    background: #f7f3ec;
    color: #19345d;
    border-radius: 10px;
    padding: 15px 14px;
    font-size: .88em;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    justify-content: center;
    text-align: left;
    position: relative;
    line-height: 1.45;
}
.suviet-success span {
    font-size: 1.4em;
    color: #22c55e;
    margin-right: 4px;
    line-height: 1;
    margin-top: 1px;
}
.suviet-success a {
    color: #1b5482;
    text-decoration: underline;
    font-weight: 500;
    display: inline-block;
    margin-top: 4px;
}
.suviet-success a:hover {
    color: #0d3755;
}

@media (max-width: 991px) {
    #suviet-2step-wrap {
        width: calc(100% - 16px);
        margin: 7px auto 9px;
    }

    .suviet-box {
        padding: 14px 14px;
        border-radius: 13px;
    }

    .suviet-box h2 {
        font-size: 1.02em;
        margin-bottom: 6px;
        line-height: 1.28;
    }

    .suviet-box p {
        font-size: .85em;
        margin-bottom: 10px;
        line-height: 1.42;
    }

    .suviet-row {
        gap: 8px;
    }

    .input-wrap {
        width: 100%;
        max-width: 100%;
    }

    .input-wrap input[type=number],
    .input-wrap input[type=text],
    .input-wrap input[type=tel] {
        height: 37px;
        font-size: .86em;
        padding: 0 10px;
    }

    .input-wrap label {
        left: 10px;
        top: 10px;
        font-size: .78em;
    }

    .input-wrap input:focus + label,
    .input-wrap input.has-value + label,
    .input-wrap input:not(:placeholder-shown) + label {
        top: -7px;
        left: 6px;
        font-size: .66em;
    }

    .suviet-btn {
        height: 35px;
        min-width: 104px;
        padding: 0 13px;
        font-size: .84em;
    }

    .suviet-choice-title {
        font-size: .85em;
        margin-bottom: 6px;
    }

    .suviet-chip-grid {
        gap: 6px;
    }

    .suviet-chip span {
        min-height: 30px;
        padding: 5px 9px;
        font-size: .81em;
    }
}

@media (max-width: 700px) {
    #suviet-2step-wrap {
        max-width: 100vw;
        width: calc(100% - 10px);
        margin: 6px auto 8px;
        padding: 0;
    }

    .suviet-box {
        padding: 12px 10px 12px;
        border-radius: 11px;
        box-shadow: 0 1px 4px rgba(0,0,0,.04);
    }

    .suviet-box h2 {
        font-size: .94em;
        margin-bottom: 5px;
        font-weight: 600;
        line-height: 1.25;
    }

    .suviet-box p {
        font-size: .8em;
        margin-bottom: 9px;
        line-height: 1.38;
    }

    .suviet-row {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .suviet-actions {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 7px;
    }

    .input-wrap {
        width: 100%;
    }

    .input-wrap input[type=number],
    .input-wrap input[type=text],
    .input-wrap input[type=tel] {
        height: 36px;
        font-size: .84em;
        padding: 0 10px;
        border-radius: 8px;
    }

    .input-wrap label {
        left: 10px;
        top: 10px;
        font-size: .76em;
    }

    .input-wrap input:focus + label,
    .input-wrap input.has-value + label,
    .input-wrap input:not(:placeholder-shown) + label {
        top: -6px;
        left: 6px;
        font-size: .64em;
        padding: 0 4px;
    }

    .suviet-btn {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        height: 34px;
        padding: 0 9px;
        font-size: .82em;
        border-radius: 8px;
    }

    .suviet-progress {
        margin-top: 9px;
        gap: 5px;
    }

    .suviet-progress span {
        width: 7px;
        height: 7px;
        border-width: 1.5px;
    }

    .suviet-choice-group + .suviet-choice-group {
        margin-top: 9px;
    }

    .suviet-choice-title {
        font-size: .83em;
        margin-bottom: 5px;
    }

    .suviet-chip-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .suviet-chip {
        width: 100%;
    }

    .suviet-chip span {
        min-height: 31px;
        width: 100%;
        padding: 5px 8px;
        border-radius: 9px;
        justify-content: center;
        text-align: center;
        font-size: .79em;
        line-height: 1.15;
    }

    .suviet-chip input:checked + span::before {
        margin-right: 4px;
    }

    .suviet-inline-error {
        font-size: .8em;
        margin-top: 6px;
    }

    .suviet-summary-box {
        padding: 9px 10px;
        margin-bottom: 10px;
        font-size: .82em;
        border-radius: 9px;
    }

    .suviet-success {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 13px 10px;
        font-size: .84em;
        gap: 6px;
        border-radius: 9px;
    }

    .suviet-success span {
        margin: 0 auto 2px;
        font-size: 1.3em;
    }
}