.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(--brandGradientDeep);
    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: 200px;
}
.step_logo_img,
.step_logo img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}
.app_step{
    min-width: fit-content;
    flex-direction: column;
    gap: 8px;
}
.steps_sp{
    color: #D0DBE3;
    font-size: var(--sixteen);
}
.step_radio{
    z-index: 1;
    justify-content: center;
    background-color: #D0DBE3;
    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 #D0DBE3;
}
.where_step_are {
    justify-content: start;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
}

.steps_sp{
    white-space: nowrap;
}

.step_line{
    flex: 0 0 auto;
}
.step_line_done{
    border-color: var(--white);
}
.active_step_blck .active_step{
    display: flex;
}
.active_step_blck .step_radio{
    width: 40px;
    height: 40px;
}
.done_prev_page img.step_tick_icon,
.done_prev .done_prev_page img{
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

/* Step 2 — temporary permit picker (light form column) */
.temp-permit-panel{
    width: 100%;
    margin-bottom: 1.25rem;
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.06) 0%, rgba(20, 184, 166, 0.04) 100%);
    border: 1px solid rgba(13, 148, 136, 0.14);
    box-shadow: 0 4px 24px rgba(15, 118, 110, 0.06);
}
.temp-permit-panel__title{
    font-family: 'Inter-SemiBold', 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #0f172a;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}
.temp-permit-panel__grid{
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.temp-permit-choice{
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}
.temp-permit-choice input{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.temp-permit-choice__box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1.5px solid rgba(13, 148, 136, 0.18);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.temp-permit-choice:hover .temp-permit-choice__box{
    border-color: rgba(20, 184, 166, 0.45);
    box-shadow: 0 2px 12px rgba(20, 184, 166, 0.08);
}
.temp-permit-choice input:focus-visible + .temp-permit-choice__box{
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}
.temp-permit-choice input:checked + .temp-permit-choice__box{
    border-color: #14b8a6;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(13, 148, 136, 0.06) 100%);
    box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.2);
}
.temp-permit-choice__label{
    font-size: 0.9375rem;
    font-family: 'Inter-Medium', 'Inter', system-ui, sans-serif;
    color: #0f172a;
    line-height: 1.35;
}
.temp-permit-choice__price{
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter-SemiBold', 'Inter', system-ui, sans-serif;
    color: #0f766e;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(20, 184, 166, 0.1);
}
.temp-permit-choice--irp .temp-permit-choice__box{
    justify-content: flex-start;
}
.temp-permit-irp-sub{
    margin-top: 0.75rem;
    margin-left: 0;
    padding: 1rem 1rem 0.85rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px dashed rgba(13, 148, 136, 0.22);
}
.temp-permit-irp-sub[hidden]{
    display: none !important;
}
.temp-permit-irp-sub__title{
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    margin: 0 0 0.75rem;
}
.temp-permit-irp-sub .temp-permit-choice__box{
    padding: 0.75rem 0.9rem;
}
.temp-permit-irp-sub .temp-permit-choice + .temp-permit-choice{
    margin-top: 0.5rem;
}

/* Step 3 — temporary permits: compact green note at form foot (above primary CTA) */
.temp-vehicle-pricing-notice{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 10px 9px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.55) 0%, rgba(236, 253, 245, 0.92) 100%);
    border: 1px solid rgba(5, 150, 105, 0.32);
    box-shadow: 0 1px 6px rgba(5, 150, 105, 0.06);
}
.temp-vehicle-pricing-notice--form-foot{
    align-self: stretch;
    margin-top: 4px;
    margin-bottom: 2px;
}
.temp-vehicle-pricing-notice__icon{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(16, 185, 129, 0.16);
    color: #047857;
}
.temp-vehicle-pricing-notice__body{
    min-width: 0;
}
.temp-vehicle-pricing-notice__title{
    display: block;
    font-family: 'Inter-SemiBold', 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    line-height: 1.3;
    color: #065f46;
    margin: 0 0 3px;
    letter-spacing: -0.01em;
}
.temp-vehicle-pricing-notice__text{
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.45;
    color: rgba(6, 78, 59, 0.9);
    font-family: 'Inter-Medium', 'Inter', system-ui, sans-serif;
}
.temp-vehicle-pricing-notice__text strong{
    font-family: 'Inter-SemiBold', 'Inter', system-ui, sans-serif;
    color: #047857;
}

.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;
}
.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: #D0DBE3;
}
.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);
}
.step4-checkout-summary{
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    align-items: stretch;
}
.step_first_block .saved_lic.saved_lic--step4{
    flex-wrap: wrap;
    align-items: center;
    row-gap: 10px;
    max-width: none;
    width: 100%;
}
.step4-tax-inline{
    width: 100%;
    flex-basis: 100%;
    margin: 0;
    padding-top: 4px;
    text-align: right;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Inter-Medium', sans-serif;
}
.step4-tax-inline-total{
    margin-top: 6px;
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 14px;
    color: #fff;
}
.step4-tax-penalty-details{
    width: 100%;
    margin-top: 8px;
    text-align: left;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.15);
    padding: 0 10px;
}
.step4-tax-penalty-details summary{
    cursor: pointer;
    padding: 10px 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    list-style-position: outside;
}
.step4-tax-penalty-steps{
    margin: 0 0 12px 18px;
    padding: 0;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}
.step4-tax-penalty-steps li{
    margin-bottom: 4px;
}
.temp-pay-receipt{
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 12px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: left;
}
.temp-pay-receipt__accent{
    height: 3px;
    background: var(--brandGradientStripe);
    opacity: 0.95;
}
.temp-pay-receipt__kicker{
    margin: 0;
    padding: 13px 18px 10px;
    font-family: 'Inter-Bold', sans-serif;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.temp-pay-receipt__subkicker{
    margin: 0;
    padding: 0 18px 12px;
    font-family: 'Inter-Medium', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.temp-pay-receipt__lines{
    list-style: none;
    margin: 0;
    padding: 2px 0 0;
}
.temp-pay-receipt__line{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.temp-pay-receipt__line:last-of-type{
    border-bottom: none;
}
.temp-pay-receipt__line--meta .temp-pay-receipt__label{
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.temp-pay-receipt__line--meta .temp-pay-receipt__value{
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}
.temp-pay-receipt__label{
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Inter-Medium', sans-serif;
}
.temp-pay-receipt__value{
    flex-shrink: 0;
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 15px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.temp-pay-receipt__total{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 18px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.22) 0%, rgba(15, 118, 110, 0.35) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.temp-pay-receipt__total_label{
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.temp-pay-receipt__total_value{
    font-family: 'Inter-Bold', sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    letter-spacing: -0.02em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.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;
}

/* Step 1 — effective date (native date input): label above, input full width */
.effective-date-field{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
}
.effective-date-field.lab_inps_blck{
    align-items: stretch;
    gap: 8px;
}
.effective-date-field__label{
    display: block;
    width: 100%;
    font-family: 'Inter-Medium', 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.3;
    color: rgba(40, 40, 40, 0.55);
    margin: 0;
}
.effective-date-field__req{
    color: rgba(220, 38, 38, 0.85);
}
.owner_details_form .effective-date-input[type="date"]{
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 58px;
    box-sizing: border-box;
    padding: 16px 18px;
    border-radius: 4px;
    font-family: 'Inter-Medium', 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    color: #0f172a;
    color-scheme: light;
    cursor: pointer;
}
.owner_details_form .effective-date-input[type="date"]::-webkit-calendar-picker-indicator{
    cursor: pointer;
    opacity: 0.75;
}
.owner_details_form .effective-date-input[type="date"]:hover::-webkit-calendar-picker-indicator{
    opacity: 1;
}
.owner_details_form .effective-date-input[type="date"]:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}
.thanks_block{
    margin: 0 auto;
    flex-direction: column;
    max-width: 612px;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.thanks_img{
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
}
.thanks_img__graphic {
    width: 100%;
    height: auto;
    max-width: 200px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 28px rgba(30, 58, 138, 0.22));
}
.thanks_descrip{
    font-size: var(--eighteen);
    color: rgba(40, 40, 40, 0.60);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.thanks_descrip__headline {
    display: block;
    font-family: 'Inter-SemiBold', sans-serif;
    font-weight: 600;
    color: rgba(40, 40, 40, 0.92);
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.thanks_descrip__body {
    display: block;
    line-height: 1.55;
    max-width: 36em;
    font-size: 0.96em;
}
.thanks_receipt {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin-top: 8px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 14px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 12px 40px rgba(15, 118, 110, 0.08);
    overflow: hidden;
    text-align: left;
}
.thanks_receipt__accent {
    height: 3px;
    background: var(--brandGradientStripe);
    opacity: 0.95;
}
.thanks_receipt__kicker {
    margin: 0;
    padding: 14px 18px 10px;
    font-family: 'Inter-Bold', sans-serif;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(40, 40, 40, 0.45);
    text-align: center;
    border-bottom: 1px solid rgba(40, 40, 40, 0.06);
}
.thanks_receipt__subkicker {
    margin: 0;
    padding: 0 18px 12px;
    font-family: 'Inter-Medium', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(40, 40, 40, 0.5);
    text-align: center;
    border-bottom: 1px solid rgba(40, 40, 40, 0.06);
}
.thanks_receipt__lines {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.thanks_receipt__line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(40, 40, 40, 0.06);
}
.thanks_receipt__line:last-of-type {
    border-bottom: none;
}
.thanks_receipt__line--meta .thanks_receipt__label {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(40, 40, 40, 0.42);
}
.thanks_receipt__line--meta .thanks_receipt__value {
    font-size: 14px;
}
.thanks_receipt__label {
    font-size: 14px;
    color: rgba(40, 40, 40, 0.55);
    font-family: 'Inter-Medium', sans-serif;
}
.thanks_receipt__value {
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 15px;
    color: rgba(40, 40, 40, 0.88);
    font-variant-numeric: tabular-nums;
}
.thanks_receipt__penalty-notes {
    padding: 0 14px 10px;
    border-bottom: 1px solid rgba(40, 40, 40, 0.06);
}
.thanks_receipt__penalty-detail {
    margin: 0 0 8px;
    border-radius: 10px;
    border: 1px solid rgba(15, 118, 110, 0.1);
    background: rgba(15, 118, 110, 0.03);
    padding: 0 10px;
    font-size: 12px;
    color: rgba(40, 40, 40, 0.72);
}
.thanks_receipt__penalty-detail summary {
    cursor: pointer;
    padding: 10px 4px;
    font-weight: 600;
    color: rgba(40, 40, 40, 0.78);
}
.thanks_receipt__penalty-detail ol {
    margin: 0 0 12px 18px;
    padding: 0;
    line-height: 1.45;
}
.thanks_receipt__penalty-detail li {
    margin-bottom: 4px;
}
.thanks_receipt__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 18px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-top: 1px solid rgba(15, 118, 110, 0.1);
}
.thanks_receipt__total_label {
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(40, 40, 40, 0.5);
}
.thanks_receipt__total_value {
    font-family: 'Inter-Bold', sans-serif;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--brandGrayBold);
    font-variant-numeric: tabular-nums;
}
.thanks_block .next_step_btn{
    text-transform: none;
}

/* ----- Step 3: KYU Tax Filing (dark panel on white step area) ----- */
.tax_filing_form {
    width: 100%;
    max-width: 640px;
}

.tax_filing_panel {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--brandGradientDeep);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 20px 50px rgba(30, 58, 138, 0.28);
}

.tax_filing_panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brandGradientStripe);
    opacity: 0.98;
}

.tax_filing_panel_head {
    padding: 28px 28px 20px;
    padding-top: 32px;
}

.tax_filing_badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    font-size: 10px;
    font-family: 'Inter-Bold', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.95);
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(20, 184, 166, 0.45);
    border-radius: 999px;
}

.tax_filing_panel_title {
    margin: 0 0 6px;
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #f8fafc;
}

.tax_filing_panel_tagline {
    margin: 0;
    font-size: 13px;
    color: rgba(148, 163, 184, 0.95);
    letter-spacing: 0.02em;
}

.tax_filing_hint_bar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 20px 20px;
    padding: 14px 16px;
    background: rgba(15, 118, 110, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border-left: 3px solid #14b8a6;
}

.tax_filing_hint_icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: rgba(147, 197, 253, 0.95);
}

.tax_filing_hint_icon svg {
    display: block;
}

.tax_filing_panel_hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.82);
}

.tax_filing_panel_hint strong {
    color: #f8fafc;
    font-weight: 600;
}

.tax_filing_periods {
    padding: 0 20px 8px;
}

.tax_filing_rows_header {
    display: none;
    grid-template-columns: 44px minmax(0, 1fr) minmax(132px, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: end;
    padding: 0 14px 10px 0;
    margin-bottom: 2px;
}

.tax_filing_col_head {
    font-size: 10px;
    font-family: 'Inter-Bold', sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.75);
}

.tax_filing_col_head--spacer {
    text-align: center;
    color: rgba(148, 163, 184, 0.45);
}

.tax_filing_rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-height: none;
    padding-bottom: 4px;
}

.tax_filing_row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 40px;
    gap: 12px;
    align-items: stretch;
    padding: 14px 14px 14px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tax_filing_row:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15);
}

.tax_filing_row_idx {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    font-size: 13px;
    font-family: 'Inter-Bold', sans-serif;
    color: #e2e8f0;
    background: var(--brandGradientBadge);
    border: 1px solid rgba(147, 197, 253, 0.35);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(13, 148, 136, 0.35);
}

.tax_filing_row_track {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(128px, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: end;
    min-width: 0;
}

.tax_filing_row_remove_cell {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 0;
}

.tax_filing_row_remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    font-size: 22px;
    line-height: 1;
    font-family: 'Inter-SemiBold', sans-serif;
    color: rgba(248, 250, 252, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tax_filing_row_remove:hover {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(248, 113, 113, 0.45);
}

.tax_filing_row_remove:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline-offset: 2px;
}

.tax_filing_row_remove[hidden] {
    display: none !important;
}

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

.tax_filing_label {
    font-size: 10px;
    font-family: 'Inter-Bold', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.65);
}

.tax_filing_input,
.tax_filing_select {
    width: 100%;
    min-width: 0;
    padding: 14px 14px;
    font-size: 15px;
    font-family: 'Inter-Medium', sans-serif;
    color: #f8fafc;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    outline: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tax_filing_input::placeholder {
    color: rgba(248, 250, 252, 0.32);
}

.tax_filing_input:hover,
.tax_filing_select:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.tax_filing_input:focus,
.tax_filing_select:focus {
    border-color: rgba(20, 184, 166, 0.85);
    background: rgba(0, 0, 0, 0.42);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22);
}

.tax_filing_select {
    cursor: pointer;
    appearance: none;
    background-color: rgba(0, 0, 0, 0.32);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.tax_filing_select option {
    background: var(--brandGrayBold);
    color: #f8fafc;
}

.tax_filing_estimate_wrap {
    margin: 0 24px 0;
    padding: 0 0 16px;
}
.tax_filing_estimate {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    padding: 14px 16px 16px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.9);
}
.tax_filing_estimate--loading {
    opacity: 0.65;
}
.tax_filing_estimate_kicker {
    margin: 0 0 10px;
    font-family: 'Inter-Bold', sans-serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.85);
    text-align: center;
}
.tax_filing_estimate_lines {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tax_filing_estimate_lines li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-variant-numeric: tabular-nums;
}
.tax_filing_estimate_lines li:last-child {
    border-bottom: none;
}
.tax_filing_penalty_calc {
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.12);
    padding: 0 10px;
}
.tax_filing_penalty_calc summary {
    cursor: pointer;
    padding: 10px 4px;
    font-size: 12px;
    color: #e2e8f0;
}
.tax_filing_penalty_steps {
    margin: 0 0 12px 18px;
    padding: 0;
    font-size: 11px;
    color: rgba(226, 232, 240, 0.85);
}
.tax_filing_penalty_steps li {
    margin-bottom: 4px;
}
.tax_filing_estimate_total {
    margin: 14px 0 0;
    text-align: center;
    font-size: 15px;
    color: #fff;
}
.tax_filing_estimate_msg {
    margin: 0;
    font-size: 13px;
    color: rgba(252, 211, 77, 0.95);
    text-align: center;
}
.tax_filing_actions {
    margin-top: 0;
    padding: 22px 24px 26px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.12);
}

.tax_filing_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 15px 24px;
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 14px;
    border-radius: 12px;
    border: none;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tax_filing_btn_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    color: #bfdbfe;
    background: rgba(20, 184, 166, 0.25);
    border-radius: 6px;
}

.tax_filing_btn_chevron {
    font-size: 16px;
    margin-left: 2px;
    opacity: 0.9;
}

.tax_filing_btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.tax_filing_btn--secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
}

.tax_filing_btn--primary {
    background: var(--brandGradient);
    color: #fff;
    box-shadow: 0 4px 18px rgba(13, 148, 136, 0.45);
    margin-left: auto;
}

.tax_filing_btn--primary:hover {
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.5);
    transform: translateY(-1px);
}

@media (min-width: 640px) {
    .tax_filing_rows_header {
        display: grid;
    }
    .tax_filing_label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .tax_filing_cell {
        position: relative;
    }
}

@media (max-width: 639px) {
    .tax_filing_row_track {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: flex-end;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        margin-bottom: -4px;
    }
    .tax_filing_cell--year {
        flex: 1 0 min(42%, 140px);
        min-width: 108px;
    }
    .tax_filing_cell--quarter {
        flex: 0 0 124px;
        min-width: 124px;
    }
    .tax_filing_cell--mileage {
        flex: 1 0 min(42%, 140px);
        min-width: 100px;
    }
    .tax_filing_row {
        grid-template-columns: 40px minmax(0, 1fr) 36px;
    }
    .tax_filing_row_idx {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tax_filing_panel_head {
        padding: 26px 18px 16px;
        padding-top: 30px;
    }
    .tax_filing_hint_bar {
        margin: 0 14px 16px;
        padding: 12px 14px;
    }
    .tax_filing_periods {
        padding: 0 14px 6px;
    }
    .tax_filing_actions {
        padding: 18px 16px 22px;
    }
    .tax_filing_btn--primary {
        margin-left: 0;
        width: 100%;
        order: -1;
    }
    .tax_filing_btn--secondary {
        width: 100%;
    }
}

/* KYU Number — vehicle-count price estimate (step 3 summary) */
.kyu_pricing_estimate {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 20px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.2);
    font-size: 15px;
    line-height: 1.45;
    color: #134e4a;
    text-align: center;
}
.kyu_pricing_estimate a {
    color: #0f766e;
    font-weight: 600;
    text-decoration: underline;
}
.kyu_pricing_estimate__price {
    font-size: 1.15em;
    color: #134e4a;
}
.kyu_pricing_estimate__note,
.kyu_pricing_estimate__muted {
    font-size: 0.92em;
    color: #475569;
    font-weight: 400;
}

/* Step 4 — 31+ vehicles, pay offline */
.kyupay_contact_notice {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 20px;
}
.kyupay_contact_notice__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #e2e8f0;
    text-align: center;
}
.kyupay_contact_notice__text a {
    color: #93c5fd;
    font-weight: 600;
}
.step_three_section .price_.price_contact {
    cursor: default;
    text-decoration: none;
    opacity: 0.95;
}

#payment-request-button {
    margin-bottom: 16px;
}



