/* Frontend overrides / additions — do not edit style.css for app changes. */

.part_details_field__title {
    display: block;
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--pd-label, rgba(255, 255, 255, 0.72));
}

.part_details_form__grid .part_details_field__input {
    padding-top: 6px;
}

.hide {
    display: none !important;
}

.part_details_oper_modal__content {
    background: #0f1f3d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.part_details_oper_modal__header,
.part_details_oper_modal__footer {
    border-color: rgba(255, 255, 255, 0.12);
}

.part_details_oper_modal__title {
    font-size: 1.125rem;
    margin: 0;
}

.part_details_oper_modal__body {
    display: grid;
    gap: 1rem;
}

.part_details_oper_modal__field-row {
    display: grid;
    gap: 0.5rem;
}

.part_details_oper_modal__field-label {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.part_details_oper_modal__field-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.part_details_oper_modal__currency {
    font-weight: 600;
}

.part_details_oper_modal__input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.part_details_oper_modal__input:disabled {
    opacity: 0.65;
}

.part_details_oper_modal__input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: none;
    color: #fff;
}

.part_details_oper_modal__markup {
    text-align: center;
}

.part_details_oper_modal__markup-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
}

.part_details_oper_modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}


.estimate_summary_table th, .estimate_summary_table td {
    white-space: nowrap;
}

.estimate_summary_table tr.estimate_incl_note td {
    white-space: normal;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
    padding-top: 0;
    border-top: 0;
}

.estimate_summary_table tr.estimate_incl_note td.estimate_incl_note__text {
    white-space: normal;
}

/* ------------------------------------------------------------------
   Payment page — form, Stripe card, plan cards (dark + light)
------------------------------------------------------------------- */
.gfr_payment_page .gfr_payment_back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--gfr-subtitle-color, #6d7b95);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.gfr_payment_page .gfr_payment_back:hover {
    color: var(--main-color);
}

.gfr_payment_form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gfr_payment_section {
    margin: 22px 0 0;
}

.gfr_payment_label {
    display: block;
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gfr-subtitle-color, #6d7b95);
}

.gfr_payment_card_shell {
    position: relative;
    border: 1px solid var(--gfr-action-border, #dfe6f0);
    border-radius: 12px;
    background: var(--gfr-action-bg, #ffffff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gfr_payment_card_shell:focus-within {
    border-color: rgba(11, 91, 215, .55);
    box-shadow: 0 0 0 3px rgba(11, 91, 215, .16);
}

.gfr_payment_card_element {
    min-height: 52px;
    padding: 16px 16px;
}

.gfr_payment_card_element .StripeElement {
    width: 100%;
}

.gfr_payment_input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid var(--gfr-action-border, #dfe6f0);
    border-radius: 12px;
    background: var(--gfr-action-bg, #ffffff);
    color: var(--gfr-title-color, #162447);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.gfr_payment_input::placeholder {
    color: #9aa5b8;
}

.gfr_payment_input:focus {
    border-color: rgba(11, 91, 215, .55);
    box-shadow: 0 0 0 3px rgba(11, 91, 215, .16);
}

.gfr_payment_error {
    min-height: 1.25rem;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #f87171;
}

.gfr_payment_plans {
    margin-top: 8px;
}

.gfr_payment_divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    color: var(--gfr-subtitle-color, #6d7b95);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gfr_payment_divider::before,
.gfr_payment_divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gfr-action-border, #e4eaf3);
}

.gfr_plan_card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--gfr-action-border, #e4eaf3);
    border-radius: 14px;
    background: var(--gfr-action-bg, #ffffff);
    box-shadow: 0 8px 20px rgba(15, 35, 95, .05);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.gfr_plan_card:hover {
    border-color: rgba(11, 91, 215, .35);
    box-shadow: 0 12px 28px rgba(11, 91, 215, .12);
}

.gfr_plan_card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gfr_plan_card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gfr_plan_card__actions .gfr_action_card__btn {
    min-width: 168px;
}

.gfr_plan_card__actions .gfr_action_card__btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gfr_wallet_button {
    display: none;
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 180px;
}

.gfr_wallet_button.is-visible {
    display: block;
}

.gfr_terms--payment {
    margin-top: 22px;
    margin-bottom: 0;
}

.gfr_payment_form.is-paying {
    pointer-events: none;
    opacity: .92;
}

.gfr_payment_form.is-paying .gfr_payment_card_shell,
.gfr_payment_form.is-paying .gfr_payment_input {
    opacity: .75;
}

.gfr_payment_page #paymentError,
.gfr_payment_page #paymentSuccess {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
}

[data-techwave-skin=dark] .gfr_payment_card_shell,
[data-techwave-skin=dark] .gfr_payment_input {
    background: #141218;
    border-color: #3a3541;
    color: #f3f1f7;
}

[data-techwave-skin=dark] .gfr_payment_input::placeholder {
    color: #8a8496;
}

[data-techwave-skin=dark] .gfr_payment_card_shell:focus-within,
[data-techwave-skin=dark] .gfr_payment_input:focus {
    border-color: rgba(79, 141, 245, .7);
    box-shadow: 0 0 0 3px rgba(79, 141, 245, .18);
}

[data-techwave-skin=dark] .gfr_plan_card {
    background: #17151b;
    border-color: #3a3541;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

[data-techwave-skin=dark] .gfr_plan_card:hover {
    border-color: rgba(79, 141, 245, .45);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}

[data-techwave-skin=dark] .gfr_payment_divider::before,
[data-techwave-skin=dark] .gfr_payment_divider::after {
    background: #3a3541;
}

@media (max-width: 767px) {
    .gfr_plan_card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gfr_plan_card__actions .gfr_action_card__btn,
    .gfr_wallet_button {
        width: 100%;
        min-width: 0;
    }
}

/* Estimate wizard — VIN decode row + decoded vehicle description */
.qs_vin_row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.qs_vin_row .estimate_field__input {
    flex: 1 1 auto;
    min-width: 0;
}

.qs_vin_row .qs_vin_decode {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 18px;
    min-height: 48px;
}

.qs_vin_row .qs_vin_decode.is_loading,
.qs_vin_row .qs_vin_decode:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.qs_vin_identity_field.is_hidden,
.qs_vin_message.is_hidden {
    display: none !important;
}

.qs_vin_identity__input {
    font-weight: 600;
    color: var(--techwave-heading-color);
    background: var(--techwave-some-a-bg-color);
    border-color: var(--main-color);
    cursor: default;
}

.qs_vin_message {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--techwave-body-color);
}

@media (max-width: 575px) {
    .qs_vin_row {
        flex-direction: column;
    }

    .qs_vin_row .qs_vin_decode {
        width: 100%;
    }
}

/* Preliminary estimate — manual entry / stored entries panels */
.qs_is_hidden {
    display: none !important;
}

.qs_prelim_flash {
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(25, 135, 84, .28);
    background: rgba(25, 135, 84, .08);
    color: #146c43;
    font-size: 14px;
    font-weight: 500;
}

.qs_prelim_flash.is_error {
    border-color: rgba(220, 53, 69, .28);
    background: rgba(220, 53, 69, .08);
    color: #b02a37;
}

.qs_prelim_empty {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--techwave-body-color);
}

/* Stored templates are multi-select, so the marker reads as a checkbox. */
.estimate_prelim_stored_radio__marker {
    border-radius: 6px;
}

.estimate_prelim_stored_radio__marker::after {
    border-radius: 2px;
}

.qs_prelim_modal .modal-content {
    background: var(--techwave-site-bg-color);
    border: 1px solid var(--techwave-border-color);
    color: var(--techwave-body-color);
}

.qs_prelim_modal .estimate_field {
    margin-bottom: 16px;
}

.qs_prelim_row_label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--techwave-heading-color);
}

.qs_prelim_note_row {
    margin-bottom: 18px;
}

.qs_prelim_note_btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qs_prelim_note_btn {
    flex: 1 1 auto;
    padding: 9px 14px;
    border: 1px solid var(--techwave-border-color);
    background: var(--techwave-some-a-bg-color);
    color: var(--techwave-heading-color);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.qs_prelim_note_btn:hover {
    border-color: var(--main-color);
}

.qs_prelim_note_btn.is_active {
    border-color: var(--main-color);
    background: var(--main-color);
    color: #fff;
}

.qs_prelim_input_row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qs_prelim_input_row .estimate_field__input {
    flex: 1 1 auto;
    min-width: 0;
}

.qs_prelim_currency {
    font-size: 18px;
    font-weight: 700;
    color: var(--techwave-heading-color);
}

.qs_prelim_markup_row {
    margin-top: 6px;
}

.qs_prelim_markup_label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--techwave-heading-color);
    cursor: pointer;
}

.qs_prelim_markup_label input {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
}

.qs_prelim_modal_error {
    margin: 12px 0 0;
    font-size: 13px;
    color: #b02a37;
}

/* Billing / pricing page */
.qs_billing_page.techwave_fn_pricing_page {
    padding: 0 0 60px;
}

.qs_billing_page .techwave_fn_pagetitle {
    margin-bottom: 8px;
}

.qs_billing_page .techwave_fn_title_holder {
    margin-bottom: 28px;
}

.qs_billing_page .techwave_fn_title_holder .title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
    color: var(--techwave-heading-color);
}

.qs_billing_page .techwave_fn_title_holder .desc {
    margin: 0 auto; 
    line-height: 1.6;
    color: var(--techwave-body-color);
}

.qs_billing_page .techwave_fn_pricing {
    margin-bottom: 0;
}

.qs_billing_page .pricing__toggle .bg {
    background: #0b5bd7;
}

.qs_billing_page .pricing__toggle a {
    color: var(--techwave-heading-color, #162447);
    font-weight: 600;
}

.qs_billing_page .pricing__toggle a.active {
    color: #fff !important;
    background: #0b5bd7;
    border-radius: 30px;
    /* z-index: 1; */
}

.qs_billing_page .pricing__toggle a:hover {
    color: #0b5bd7;
}

.qs_billing_page .pricing__toggle a.active:hover {
    color: #fff !important;
}

.qs_billing_page .qs_billing_check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(11, 91, 215, .12);
    color: var(--main-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.qs_billing_page .qs_billing_x,
.qs_billing_page .qs_billing_dash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(220, 53, 69, .1);
    color: #dc3545;
    opacity: 1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.qs_billing_page .qs_billing_na {
    display: inline-block;
    color: var(--techwave-text-color, #8b93a7);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.qs_billing_page .pricing__item--unavailable .pricing__item_holder,
.qs_billing_page .item_col--unavailable {
    opacity: 0.72;
}

.qs_billing_page .pricing__header .item_col:has(.popular) {
    background: linear-gradient(180deg, rgba(11, 91, 215, .06) 0%, transparent 100%);
}

.qs_billing_page .fn__mobile_pricing .pricing__item_holder:has(.popular) {
    border-color: rgba(11, 91, 215, .35);
    box-shadow: 0 10px 28px rgba(11, 91, 215, .1);
}

.qs_billing_page .billingpage__note {
    margin-top: 32px;
}

@media (max-width: 1040px) {
    .qs_billing_page.techwave_fn_pricing_page {
        padding-bottom: 40px;
    }

    .qs_billing_page .techwave_fn_title_holder .title {
        font-size: 22px;
    }
}

/* Estimate payment page using billing plans layout */
.qs_payment_billing_page .qs_payment_billing_pagetitle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.qs_payment_billing_page .gfr_payment_back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--main-color);
    text-decoration: none;
}

.qs_payment_billing_page .gfr_payment_back:hover {
    opacity: .85;
}

.qs_payment_billing_page .qs_payment_estimate_banner {
    margin: 0 0 24px;
}

.qs_payment_billing_page .qs_payment_billing_form {
    margin-bottom: 8px;
}

.qs_payment_billing_page .qs_payment_billing_form .gfr_payment_section {
    max-width: 640px;
    margin-bottom: 18px;
}

.qs_payment_billing_page .pricing__item_footer .gfr_wallet_button {
    margin-top: 12px;
}

.qs_payment_billing_page .pricing__item_footer .gfr_wallet_button.is-visible {
    display: block;
}

.qs_payment_billing_page .pay-card-btn:disabled,
.qs_payment_billing_page .techwave_fn_button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.qs_payment_billing_page .gfr_payment_form.is-paying .pay-card-btn {
    pointer-events: none;
}

@media (max-width: 1040px) {
    .qs_payment_billing_page .qs_payment_billing_form .gfr_payment_section {
        max-width: none;
    }
}

/* Auto-renew notice (billing + payment) */
.qs_autorenew_notice {
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid rgba(11, 91, 215, .28);
    border-radius: 12px;
    background: rgba(11, 91, 215, .06);
    color: var(--techwave-body-color, #3a4154);
}

.qs_autorenew_notice__title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--techwave-heading-color, #162447);
}

.qs_autorenew_notice__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.qs_autorenew_notice__text--monthly {
    display: none;
}

.qs_autorenew_notice.is-monthly .qs_autorenew_notice__text--monthly {
    display: block;
}

.qs_autorenew_notice.is-monthly .qs_autorenew_notice__text--yearly {
    display: none;
}

.qs_autorenew_notice__ack {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
}

.qs_autorenew_notice__ack_text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--techwave-heading-color, #162447);
}

.qs_autorenew_notice__error {
    margin: 10px 0 0;
    font-size: 13px;
    color: #dc3545;
}

/* Account Settings — Cancel Subscription */
.settings_subscription__text {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--techwave-body-color, #3a4154);
}

.settings_subscription__actions {
    margin-bottom: 8px;
}

.settings_subscription__cancel {
    background: transparent !important;
    border: 1px solid #dc3545 !important;
    color: #dc3545 !important;
}

.settings_subscription__cancel:hover {
    background: rgba(220, 53, 69, .08) !important;
}

.settings_subscription__cancel:disabled,
.settings_subscription__cancel.is_cancelling {
    opacity: 0.75;
    cursor: default;
    pointer-events: none;
}

.settings_subscription__hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--techwave-body-color, #3a4154);
}

.settings_subscription__hint.is-error {
    color: #dc3545;
}

/* Public pages (FAQ, Contact, Terms) — no app sidebar */
.qs_public_page {
    margin: 0;
    min-height: 100vh;
    background: #020817;
    font-family: var(--techwave-body-font-family, 'Heebo', sans-serif);
    color: #e2e8f0;
}

.qs_public_page .qs_public {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.qs_public_page .qs_public__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 8, 23, 0.92);
}

.qs_public_page .qs_public__brand {
    display: inline-flex;
    flex-shrink: 0;
    margin-right: auto;
}

.qs_public_page .qs_public__brand_logo {
    height: 40px;
    width: auto;
}

.qs_public_page .qs_public__header_actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
}

.qs_public_page .qs_public__language {
    flex-shrink: 0;
}

.qs_public_page .qs_public__language .qs_login__select,
.qs_public_page .qs_public__language select {
    width: auto;
    min-width: 160px;
    max-width: 220px;
    height: 44px;
    padding: 0 38px 0 14px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    font-size: 15px;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qs_public_page .qs_public__language select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.qs_public_page .qs_public__link_btn,
.qs_public_page .qs_public__primary_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.qs_public_page .qs_public__link_btn {
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.qs_public_page .qs_public__link_btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.qs_public_page .qs_public__primary_btn {
    color: #020817;
    background: #38bdf8;
    border: 1px solid #38bdf8;
}

.qs_public_page .qs_public__primary_btn:hover {
    background: #7dd3fc;
    border-color: #7dd3fc;
    color: #020817;
}

.qs_public_page .qs_public__main {
    flex: 1;
    /* width: min(1199px, 100%); */
    margin: 0 auto;
    padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 3.5rem;
}

.qs_public_page .techwave_fn_pagetitle {
    margin: 0 0 2rem;
    padding-top: 0.5rem;
}

.qs_public_page .techwave_fn_pagetitle .title {
    color: #f8fafc;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
    line-height: 1.3;
}

.qs_public_page .techwave_fn_faq_page,
.qs_public_page .techwave_fn_contact_page {
    padding: 0;
}

.qs_public_page .faq,
.qs_public_page .contactpage {
    color: #cbd5e1;
}

.qs_public_page .faq .container,
.qs_public_page .contactpage .container {
    padding-left: 0;
    padding-right: 0;
}

.qs_public_page .contactpage__intro {
    margin-bottom: 2rem;
}

.qs_public_page .contactpage__intro p {
    margin-bottom: 1rem;
    line-height: 1.65;
}

.qs_public_page .contactpage__info_grid {
    gap: 1rem;
    margin-bottom: 2rem;
}

.qs_public_page .contactpage__info_card {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.qs_public_page .contactpage__info_value.heading_color,
.qs_public_page .heading_color {
    color: #f8fafc !important;
}

.qs_public_page .fn_contact_form {
    margin-top: 0.5rem;
}

.qs_public_page .fn_contact_form .input_list ul {
    gap: 1rem;
}

.qs_public_page .fn_contact_form input,
.qs_public_page .fn_contact_form textarea {
    margin-bottom: 0;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    border-radius: 10px;
}

.qs_public_page .fn_contact_form textarea {
    min-height: 140px;
    padding-top: 0.875rem;
}

.qs_public_page .fn_contact_form input::placeholder,
.qs_public_page .fn_contact_form textarea::placeholder {
    color: rgba(226, 232, 240, 0.55);
}

.qs_public_page .techwave_fn_accordion {
    display: grid;
    gap: 0.875rem;
}

.qs_public_page .techwave_fn_accordion .acc__item {
    margin-bottom: 0;
}

.qs_public_page .techwave_fn_accordion .acc__header {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.qs_public_page .techwave_fn_accordion .acc__content {
    padding: 1rem 1.25rem 1.25rem;
}

.qs_public_page .techwave_fn_accordion .acc__title {
    color: #f8fafc;
}

.qs_public_page .qs-terms-content {
    color: #cbd5e1;
    line-height: 1.75;
}

.qs_public_page .qs-terms-content p,
.qs_public_page .qs-terms-content li {
    margin-bottom: 1rem;
}

.qs_public_page .qs-terms-content a {
    color: #38bdf8;
}

.qs_public_page .qs_public__footer {
    padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.qs_public_page .qs_login__footer_nav {
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.qs_public_page .qs_login__footer_nav a.is_active {
    color: #38bdf8;
}

.qs_public_page .qs_public__copyright {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(226, 232, 240, 0.55);
}

.qs_user_deletion {
    max-width: 760px;
}

.qs_user_deletion__card {
    padding: 1.5rem 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.qs_user_deletion__field {
    max-width: 420px;
    margin-bottom: 1rem;
}

.qs_user_deletion__field label {
    display: block;
    margin-bottom: 0.4rem;
    color: #e2e8f0;
}

.qs_user_deletion__field input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    color: #0f172a;
    background: #e8eef8;
    border: 1px solid #d5deea;
    border-radius: 6px;
}

.qs_user_deletion__error {
    margin-top: 0.35rem;
    color: #f87171;
    font-size: 0.875rem;
}

.qs_user_deletion__submit {
    margin: 0.25rem 0 1rem;
    padding: 0.45rem 0.95rem;
    color: #fff;
    background: #22a745;
    border: 0;
    border-radius: 6px;
    font-weight: 600;
}

.qs_user_deletion__submit:hover {
    background: #1b8a38;
}

.qs_user_deletion__note {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
}

.qs_user_deletion__alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.qs_user_deletion__alert--success {
    color: #bbf7d0;
    background: rgba(34, 167, 69, 0.18);
    border: 1px solid rgba(34, 167, 69, 0.45);
}

.qs_user_deletion__alert--error {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

@media (max-width: 767px) {
    .qs_public_page .qs_public__header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .qs_public_page .qs_public__brand {
        margin-right: 0;
    }

    .qs_public_page .qs_public__header_actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .qs_public_page .qs_public__language .qs_login__select,
    .qs_public_page .qs_public__language select {
        width: 100%;
        max-width: none;
    }

    .qs_public_page .qs_public__link_btn,
    .qs_public_page .qs_public__primary_btn {
        width: 100%;
    }

    .qs_public_page .qs_public__main {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .qs_public_page .techwave_fn_pagetitle {
        margin-bottom: 1.5rem;
    }
}

/* Blog listing / detail (public) — design uses blog-one from style.css */
.qs_public_page .qs_blogs .blog-one__single,
.qs_public_page .qs_blog_show .blog-one__single {
    background: transparent;
}

.qs_public_page .blog-one__single-content h2 a,
.qs_public_page .qs_blog_show__back a {
    text-decoration: none;
}

.qs_public_page .qs_blog_show .blog-one__single-content h2 {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
    color: #fff;
}

.qs_public_page .qs_blog_show__meta,
.qs_public_page .qs_blog_card__meta {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.qs_public_page .qs_blog_show__meta li p,
.qs_public_page .qs_blog_card__meta li p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.qs_public_page .qs_blog_show__meta li p span {
    color: #38bdf8;
    margin-right: 0.35rem;
}

.qs_public_page .qs_blog_sidebar__author {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.3rem;
}

.qs_public_page .qs_blog_show .blog-one__single-content > p.qs_blog_show__excerpt {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
    margin-bottom: 1.25rem;
    opacity: 0.85;
    line-height: 1.55;
}

.qs_public_page .qs_blog_show__body {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    font-size: 1.05rem;
}

.qs_public_page .qs_blog_show__body p {
    margin: 0 0 1rem;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.qs_public_page .qs_blog_show__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0.75rem 0;
}

.qs_public_page .qs_blog_show__body h2,
.qs_public_page .qs_blog_show__body h3,
.qs_public_page .qs_blog_show__body h4 {
    color: #fff;
    margin: 1.5rem 0 0.75rem;
}

.qs_public_page .qs_blog_show__body ul,
.qs_public_page .qs_blog_show__body ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.qs_public_page .qs_blog_placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 0.7;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.qs_public_page .qs_blogs__empty {
    opacity: 0.75;
}

.qs_public_page .qs_blogs__pagination .pagination {
    justify-content: center;
}

.qs_public_page .blog-page-details .blog-one__single {
    margin-bottom: 0;
    height: auto;
}

.qs_public_page .blog-page-details .blog-one__single-img .inner img {
    border-radius: 16px;
}

.qs_public_page .qs_blog_sidebar {
    position: sticky;
    top: 1.25rem;
}

.qs_public_page .qs_blog_sidebar__card {
    background: rgba(2, 8, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.15rem 1.35rem;
}

.qs_public_page .qs_blog_sidebar__title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.qs_public_page .qs_blog_sidebar__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
}

.qs_public_page .qs_blog_sidebar__item:last-of-type {
    border-bottom: 0;
}

.qs_public_page .qs_blog_sidebar__item:hover h4 {
    color: #38bdf8;
}

.qs_public_page .qs_blog_sidebar__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.qs_public_page .qs_blog_sidebar__thumb img,
.qs_public_page .qs_blog_sidebar__thumb_placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qs_public_page .qs_blog_sidebar__meta {
    min-width: 0;
    flex: 1;
}

.qs_public_page .qs_blog_sidebar__meta time {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.25rem;
}

.qs_public_page .qs_blog_sidebar__meta h4 {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    transition: color 0.2s ease;
}

.qs_public_page .qs_blog_sidebar__empty {
    margin: 0;
    opacity: 0.7;
    font-size: 0.95rem;
}

.qs_public_page .qs_blog_sidebar__all {
    display: inline-block;
    margin-top: 1rem;
    color: #38bdf8;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
}

.qs_public_page .qs_blog_sidebar__all:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .qs_public_page .qs_blog_sidebar {
        position: static;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .qs_public_page .blog-one__single-content {
        padding: 1.25rem 1.1rem 1.35rem;
    }

    .qs_public_page .blog-one__single-content h2 {
        font-size: 1.15rem;
    }
}

/* Dashboard — Autobody News (newest blog preview) */
.qs_dashboard_news__card {
    margin-bottom: 1.25rem;
}

.qs_dashboard_news__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.qs_dashboard_news__media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

.qs_dashboard_news__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
}

.qs_dashboard_news__title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.qs_dashboard_news__title a,
.qs_dashboard_news__link {
    color: inherit;
    text-decoration: none;
}

.qs_dashboard_news__title a:hover,
.qs_dashboard_news__link:hover {
    color: #38bdf8;
}

.qs_dashboard_news__excerpt {
    margin: 0 0 0.75rem;
    opacity: 0.82;
    line-height: 1.45;
    font-size: 0.95rem;
}

.qs_dashboard_news__link {
    display: inline-block;
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.qs_dashboard_news__empty {
    margin: 0;
    opacity: 0.7;
}

.qs_dashboard_news__media img {
    aspect-ratio: 1/0.8;
    object-fit: cover;
    width: 93%;
    object-position: center;
    border-radius: 10px;
}

.qs_dashboard_news__body {
    display: flex;
        flex-direction: row;
}

.qs_dashboard_news__content {
    width: 50%;
}

.qs_dashboard_news__title {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 700;
}

.qs_dashboard_news__excerpt {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

a.qs_dashboard_news__link {
    color: var(--main-color);
    text-decoration: none;
    font-size: 13px;
}

.estimate_field__hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(15, 23, 42, 0.55);
}

.qs_public_page .qs_blog_sidebar__card {
background: rgb(12 22 47);
}

.part_details_group > .part_details_types {
    display: flex;
    align-items: center;
    gap: 8px;
}

.part_details_group > .part_details_types > .estimate_options_group__header {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.part_details_group .js_part_details_download {
    flex: 0 0 auto;
    align-self: center;
    margin-right: 4px;
}

.part_details_group .js_part_details_download.is_unavailable,
.part_details_group .js_part_details_download:disabled {
    background: #4b5563;
    border-color: #4b5563;
    color: #d1d5db;
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    filter: grayscale(0.3);
}

.part_details_group .js_part_details_download.is_unavailable:hover,
.part_details_group .js_part_details_download:disabled:hover {
    transform: none;
    background: #4b5563;
    border-color: #4b5563;
    color: #d1d5db;
}

@media (max-width: 900px) {
    .part_details_group > .part_details_types {
        flex-wrap: wrap;
    }

    .part_details_group > .part_details_types > .estimate_options_group__header {
        flex: 1 1 100%;
    }

    .part_details_group .js_part_details_download {
        margin: 0 12px 12px auto;
    }
}

/* Public pages in Urdu / Arabic */
html[dir="rtl"] .qs_public_page .qs_public__brand {
    margin-right: 0;
    margin-left: auto;
}

html[dir="rtl"] .qs_public_page .qs_public__header_actions {
    justify-content: flex-start;
}

html[dir="rtl"] .qs_public_page .techwave_fn_accordion .acc__title {
    text-align: right;
    padding: 0 0 0 23px;
}

html[dir="rtl"] .qs_public_page .techwave_fn_accordion .acc__content {
    text-align: right;
}

html[dir="rtl"] .qs_public_page .techwave_fn_accordion .acc__icon:after {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .qs_public_page .techwave_fn_accordion .acc__icon:before {
    right: auto;
    left: 38px;
}

.qs-vehicle-entry-tabs.three-row {
    grid-template-columns: repeat(3, 1fr);
}

.gfr_body .alert {
    margin-bottom: 20px;
}

.gfr_body .gfr_estimate_banner {
    margin: 4px 0 24px;
}

.gfr_body .gfr_status_badge {
    margin: 0;
}

.gfr_body > .d-flex.flex-wrap {
    margin-top: 4px;
    margin-bottom: 20px;
    gap: 10px;
}

.techwave_fn_estimates_page .models__filter {
    margin-bottom: 24px;
}

.techwave_fn_estimates_page .estimates_table {
    margin-top: 8px;
}

.techwave_fn_contact_page > .techwave_fn_pagetitle {
    padding: 28px 40px 22px;
}

.techwave_fn_contact_page > .techwave_fn_pagetitle .estimates_card_title {
    line-height: 1.4;
}

.status_badge--locked {
    background-color: rgba(69, 197, 105, .15);
    color: #2ea855;
}

[data-techwave-skin=light] .status_badge--locked {
    background-color: #dcfce7;
    color: #166534;
}

.aai_field__control--select {
    overflow: visible;
}

.aai_field__control--select .aai_field__select {
    appearance: auto;
    -webkit-appearance: auto;
    cursor: pointer;
}

.payment_modal__action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding: 16px 24px 28px;
}

.payment_modal__action .payment_modal__pay_btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.qs_production_date {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 60px;
    padding: 0 20px;
    border: 2px solid var(--techwave-border-color);
    background-color: transparent;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.qs_production_date:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(11, 91, 215, .12);
}

.qs_production_date.is_invalid {
    border-color: #dc3545;
}

.qs_production_date__segment {
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    min-width: 0;
    width: 3.25rem;
    height: 100%;
    padding: 0;
    font-size: 16px;
    letter-spacing: .5px;
    color: var(--techwave-heading-color);
    font-family: var(--techwave-heading-font-family);
}

.qs_production_date__segment--year {
    width: 4.5rem;
    flex: 1 1 auto;
}

.qs_production_date__slash {
    flex: 0 0 auto;
    padding: 0 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: var(--techwave-heading-color);
    user-select: none;
}

.techwave_fn_user_settings .fn__checkbox input[name="approve_changes"] {
    width: 20px;
    height: 20px;
    left: 0;
    top: 50%;
    margin-top: -10px;
    opacity: 0;
    z-index: 2;
}

.techwave_fn_user_settings .js_approve_changes_error {
    display: none;
    color: #dc3545;
    margin: -18px 0 18px;
    font-size: 14px;
    line-height: 1.4;
}

.techwave_fn_user_settings .js_approve_changes_error.is_visible {
    display: block;
}

/* Settings — shop logo box.
   Shop logos are usually wide, so the holder is a rectangle and the image is
   contained (never stretched or cropped) inside it. */
.techwave_fn_user_settings .fn__upload {
    aspect-ratio: 16 / 9;
    padding: 24px;
    cursor: pointer;
}

.techwave_fn_user_settings .js_shop_logo_preview {
    cursor: pointer;
}

.techwave_fn_user_settings .js_shop_logo_input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.techwave_fn_user_settings .fn__upload .upload_preview {
    padding: 12px;
}

.techwave_fn_user_settings .fn__upload .preview_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.techwave_fn_user_settings .fn__upload.has_img .preview_img {
    opacity: 1;
}

.techwave_fn_user_settings .settings_logo_filename {
    margin: 8px 0 0;
    padding: 0 2px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--techwave-heading-color, #e8e8ee);
    word-break: break-all;
}

.techwave_fn_user_settings .settings_logo_option {
    margin-top: 16px;
}

.techwave_fn_user_settings .settings_logo_option .fn__checkbox {
    margin-bottom: 6px;
}

.techwave_fn_user_settings .fn__upload.is_dragover {
    border-color: var(--main-color);
}

.techwave_fn_user_settings .fn__upload .upload_content,
.techwave_fn_user_settings .fn__upload .upload_preview {
    pointer-events: none;
}

.techwave_fn_user_settings .fn__upload .fn__closer {
    pointer-events: auto;
}

.techwave_fn_user_settings .user_avatar {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #1c1c24;
    aspect-ratio: 1 / 1;
}

.techwave_fn_user_settings .user_avatar img,
.techwave_fn_user_profile .user__profile .user_avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.techwave_fn_user_settings .user_avatar__placeholder,
.techwave_fn_user_profile .user__profile .user_avatar__placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    border: 2px dashed #5c5c6a;
    border-radius: 8px;
    color: #c8c8d0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.techwave_fn_user_profile .user__profile .user_avatar__placeholder {
    min-height: 200px;
    aspect-ratio: 1 / 1;
}

.qs_user_avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b5bdb, #38bdf8);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
}

.qs_user_avatar--lg {
    width: 72px;
    height: 72px;
    font-size: 24px;
}

.techwave_fn_user_settings .settings_logo_option .fn__checkbox input:disabled ~ .checkmark,
.techwave_fn_user_settings .settings_logo_option .fn__checkbox input:disabled {
    cursor: not-allowed;
}

.techwave_fn_user_settings .settings_logo_option:has(input:disabled) {
    opacity: .55;
    pointer-events: none;
}

.techwave_fn_user_settings .settings_logo_option__hint {
    margin: 0;
    padding-left: 30px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--techwave-body-color);
}

/* Appraisal report — Alternate Part Search rows.
   The old markup reused .aar_field__action, which is absolutely positioned for
   in-field icons, so the add button was invisible on this stacked field. */
.aar_alt_rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aar_alt_row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aar_alt_row .aar_field__control {
    flex: 1 1 auto;
    min-width: 0;
}

.aar_alt_row__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--aar-input-border, #dfe6f0);
    border-radius: 8px;
    background: var(--aar-input-bg, #ffffff);
    color: #dc3545;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.aar_alt_row__remove:hover {
    border-color: #dc3545;
}

.aar_alt_add {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    min-height: 40px;
    margin-top: 4px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color2) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--techwave-heading-font-family);
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.aar_alt_add:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.aar_alt_hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--aar-subtitle-color, #6d7b95);
}

