.step_wrapper{
    margin: 0 auto;
    padding: 12px 16px;
    width: 100%;
}
.steps_blocks{
    align-items: stretch;
    gap: 20px;
    min-height: 97vh;
}
.step_first_block{
    flex-direction: column;
    gap: 40px;
    background: var(--brandGradient);
    border-radius: 8px;
    width: 48%;
    justify-content: start;
    align-items: start;
    padding: 36px 60px 36px 80px;
}
.back_link{
    gap: 14px;
    color: var(--white);
    font-size: var(--twenty);
    justify-content: start;
}
.step_logo{
    max-width: 125px;
}
.app_step{
    min-width: fit-content;
    flex-direction: column;
    gap: 8px;
}
.steps_sp{
    color: var(--step-on-gradient-muted);
    font-size: var(--sixteen);
}
.step_radio{
    z-index: 1;
    justify-content: center;
    background-color: var(--step-on-gradient-dot);
    min-width: 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.active_step{
    display: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--brandGradient);
}
.done_prev_page{
    display: none;
}
.done_prev .done_prev_page{
    display: flex;
}
.done_prev .step_radio, .active_step_blck .step_radio{
    background-color: var(--white);
}
.done_prev .steps_sp{
    color: var(--white);
}
.step_line{
    width: 136px;
    margin: -30px -10px 0 -15px;
    border-bottom: 4px solid var(--step-on-gradient-line);
}
.where_step_are {
    justify-content: start;
}
.step_line_done{
    border-color: var(--white);
}
.active_step_blck .active_step{
    display: flex;
} 
.active_step_blck .step_radio{
    width: 40px;
    height: 40px;
}
.owner_details_form{
    justify-content: center;
    margin: 0 auto;
    max-width: 612px;
    flex-direction: column;
    gap: 14px;
}
.owner_title{
    margin-bottom: 16px;
    font-size: 30px;
    font-family: 'Inter-SemiBold';
}
.inps_{
    background-color: transparent;
    font-size: var(--forteen);
    border-radius: 4px;
    border: 2px solid rgba(40, 40, 40, 0.20);
    font-family: 'Inter-Medium';
}
.inps_:focus{
    border-color: var(--brandGray);
}
.inps_::placeholder{
    color: rgba(40, 40, 40, 0.20);
}
.owner_details_form .inps_{
    padding: 20px;
}
.owner_details_form select.inps_ {
    width: 100%;
    cursor: pointer;
    color: inherit;
}
.for_mailing_rel{
    position: relative;
}
.mailling_info{
    font-size: var(--forteen);
    color: var(--brandGray);
    font-family: 'Inter-Bold';
    position: absolute;
    right: 20px;
    top: 20px
}
.for_mailing_rel .inps_{
    padding-right: 130px;
}
.next_step_btn{
    cursor: pointer;
    padding: 25px;
    background: var(--brandGradient);
    border-radius: 4px;
    color: var(--white);
    font-size: var(--eighteen);
    margin-top: 16px;
    text-align: center;
    text-transform: uppercase;
}
.next_step_btn:hover{
    color: var(--white);
    background: var(--brandGradient);
}
.next_grey_btn{
    cursor: pointer;
    color: var(--brandGray);
    background-color: var(--surface-muted);
}
.radio_lab{
    align-self: flex-start;
    justify-content: start;
    gap: 10px;
    cursor: pointer;
}
.checko_, .checko_ input, .checkbox_form {
    width: 18px;
    height: 18px;
    aspect-ratio: 1 / 1;
}
.choose_radio{
    font-size: var(--forteen);
    color: rgba(40, 40, 40, 0.20);
}
.checkbox_form {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brandGray);
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    z-index: 0;
}
.checko_svg {
    width: 60%;
    background: var(--brandGradient);
    aspect-ratio: 1 / 1;
    display: none;
    border-radius: 50%;
}
.checko_ input:checked~.checkbox_form .checko_svg {
    display: flex;
}
.checko_ input {
    opacity: 0;
    z-index: 2;
    position: absolute;
    cursor: pointer;
}
.step_three_section .next_step_btn, 
.step_three_section .owner_title{
    margin: 0;
}
.add_new_details_block{
    font-size: var(--eighteen);
    color: var(--brandGray);
    justify-content: start;
    gap: 28px;
}
.plus_svg{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brandGradient);
    justify-content: center;
}
.saved_lic{
    gap: 20px;
    font-family: 'Inter-Bold';
    font-size: var(--twenty);
    color: var(--brandGray);
}
.edit_saved{
    cursor: pointer;
    margin-left: auto;
    font-size: var(--twenty);
    font-family: 'Inter-Bold';
    color: var(--brandGray);
}
.edit_saved:hover, .add_new_details_block:hover{
    text-decoration: underline;
}
.form_start{
    justify-content: start;
}
.step_white_title{
    font-size: 32px;
    color: var(--white);
    font-family: 'Inter-Regular';
    font-weight: 300;
}
.step_first_block .saved_lic{
    max-width: 460px;
    color: var(--white);
}
.price_{
    min-width: fit-content;
    font-size: var(--fontTwentyTwo);
    color: var(--white);
    margin-left: auto;
}
.or_pay_blck{
    gap: 10px;
    margin: 20px 0;
}
.or_pay_sp{
    min-width: fit-content;
    font-size: var(--eighteen);
    color: rgba(40, 40, 40, 0.20);
}
.line_grey{
    border-bottom: 1px solid rgba(40, 40, 40, 0.20);
}
.card_inf_sp{
    color: rgba(40, 40, 40, 0.60);
    align-self: flex-start;
    font-size: var(--eighteen);
}
.inp_rel_cards{
    position: relative;
}
.card_types_ch{
    position: absolute;
    gap: 4px;
    top: 22px;
    right: 20px;
}
.choose_your_card_typ {
    width: 24px;
    height: 15px;
}
.mmyy_inp{
    border-radius: 4px 0 0 4px;
}
.cvc_inp{
    border-radius: 0 4px 4px 0;
    border-left-color: transparent;
}
.cvc_inp:focus{
    border-left-color: var(--brandGray);
}
.title_drps{
    cursor: pointer;
}
.country_drp{
    position: relative;
}
.choose_country_drp{
    position: absolute;
    top: 100%;
    gap: 10px;
    padding: 0 12px;
    height: 0;
    border: 2px solid transparent;
    overflow: hidden;
    border-radius: 4px;
    flex-direction: column;
    background-color: var(--white);
}
.choose_country_drp_active {
    padding: 12px;
    height: auto;
    max-height: 200px;
    overflow: auto;
    border-color:rgba(40, 40, 40, 0.20);
}
.your_country{
    font-size: var(--sixteen);
    cursor: pointer;
}
.your_country:hover{
    color: var(--brandGray);
}
.two_inps_blck{
    align-items: start;
}
.error_message{
    align-self: flex-start;
    color: red;
    font-size: 12px;
}
.lab_inps_blck{
    align-items: start;
    gap: 2px;
    flex-direction: column;
}
.thanks_block{
    margin: 0 auto;
    flex-direction: column;
    max-width: 612px;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.thanks_img{
    max-width: 260px;
    width: 100%;
}
.thanks_img img{
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    aspect-ratio: 1;
}
.thanks_descrip{
    font-size: var(--eighteen);
    color: rgba(40, 40, 40, 0.60);
    text-align: center;
}
.thanks_block .next_step_btn{
    text-transform: none;
}

/* —— NM Tax Filing (step 3) —— */
.owner_details_form.tax-filing-form {
    max-width: 920px;
    width: 100%;
    justify-content: flex-start;
}

.tax-filing-form .tf-actions .next_step_btn {
    flex: 0 0 auto;
    margin-left: auto;
}

@media (max-width: 520px) {
    .tax-filing-form .tf-actions .next_step_btn {
        margin-left: 0;
        width: 100%;
    }

    .tax-filing-form .tf-actions .tf-btn-add {
        width: 100%;
    }
}

.tf-intro {
    width: 100%;
}

.tf-eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(40, 40, 40, 0.48);
    font-family: 'Inter-SemiBold', sans-serif;
}

.tf-title {
    margin: 0 0 18px;
    font-size: clamp(26px, 3.5vw, 34px);
    font-family: 'Inter-SemiBold', sans-serif;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--brandGrayBold, #0d2818);
}

.tf-pricing-card {
    margin: 0 0 26px;
    padding: 20px 22px 22px;
    border-radius: 14px;
    border: 1px solid rgba(var(--brandRgb), 0.2);
    background: linear-gradient(145deg, rgba(var(--brandRgb), 0.09) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(var(--brandRgb), 0.04) 100%);
    box-shadow: 0 10px 40px rgba(13, 40, 24, 0.07);
}

.tf-pricing-lead {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(40, 40, 40, 0.78);
    max-width: 62ch;
}

.tf-fee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.tf-fee-pill {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 12px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(var(--brandRgb), 0.14);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tf-fee-pill span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(40, 40, 40, 0.5);
}

.tf-fee-pill strong {
    font-size: 17px;
    font-family: 'Inter-SemiBold', sans-serif;
    color: var(--brandGray);
    font-weight: 700;
}

.tf-formula {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(var(--brandRgb), 0.12);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(40, 40, 40, 0.62);
}

.tf-formula em {
    font-style: normal;
    font-weight: 600;
    color: var(--brandGray);
}

#tax-filing-rows.tax-filing-rows.d_flex {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
}

.tax-filing-row {
    display: grid;
    grid-template-columns:
        minmax(96px, 1fr)
        minmax(100px, 1fr)
        minmax(160px, 1.6fr)
        110px
        minmax(130px, 1.2fr)
        48px;
    gap: 14px 18px;
    align-items: stretch;
    width: 100%;
    padding: 16px 18px 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(40, 40, 40, 0.1);
    border-left: 4px solid rgba(var(--brandRgb), 0.55);
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.045);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tax-filing-row:focus-within {
    border-color: rgba(var(--brandRgb), 0.28);
    box-shadow: 0 6px 24px rgba(var(--brandRgb), 0.12);
}

.tf-cell {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.tf-cell .error_message {
    min-height: 16px;
    flex-shrink: 0;
}

.tf-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(40, 40, 40, 0.48);
    font-family: 'Inter-SemiBold', sans-serif;
    /* Same vertical slot so inputs line up on one row */
    min-height: 2.85em;
    line-height: 1.25;
    display: block;
}

.tf-remove-spacer {
    visibility: hidden;
    user-select: none;
}

.tf-remove-error-spacer {
    min-height: 16px;
    display: block;
}

.tf-label .tf-opt {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(40, 40, 40, 0.4);
}

.tf-req {
    color: #b83232;
    font-weight: 700;
}

.tax-filing-form .tax-filing-row .inps_ {
    width: 100%;
    padding: 14px 16px !important;
    min-height: 48px;
    box-sizing: border-box;
    line-height: 1.25;
}

.tax-filing-form .tax-filing-row select.inps_ {
    appearance: auto;
    min-height: 48px;
}

.tf-remove-wrap.tf-cell--remove {
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
}

.tf-remove-wrap {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 0;
}

.tax-row-remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    padding: 0 !important;
    border-radius: 10px !important;
    border: 2px solid rgba(40, 40, 40, 0.12) !important;
    background: linear-gradient(180deg, var(--surface-card) 0%, var(--surface) 100%) !important;
    color: rgba(40, 40, 40, 0.4) !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}

.tax-row-remove:hover {
    border-color: rgba(184, 50, 50, 0.45) !important;
    color: #b83232 !important;
    background: #fff8f7 !important;
}

.tax-row-remove:active {
    transform: scale(0.96);
}

.tf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.tf-btn-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 22px;
    border-radius: 10px;
    border: 2px dashed rgba(var(--brandRgb), 0.38);
    background: rgba(var(--brandRgb), 0.05);
    color: var(--brandGray);
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tf-btn-add:hover {
    background: rgba(var(--brandRgb), 0.11);
    border-color: var(--brandGray);
    color: var(--brandGrayBold, #0d2818);
}

.tf-btn-add svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.tax-filing-form .next_step_btn.next_grey_btn {
    margin-top: 0;
}

@media (max-width: 768px) {
    .tax-filing-row {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: stretch;
    }

    .tf-remove-wrap.tf-cell--remove {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    .tf-remove-wrap.tf-cell--remove .tf-remove-spacer {
        display: none;
    }

    .tf-remove-wrap.tf-cell--remove .tf-remove-error-spacer {
        display: none;
    }

    .tf-remove-wrap.tf-cell--remove .tax-row-remove {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .tf-fee-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tf-pricing-card {
        padding: 16px 16px 18px;
    }
}







