:root {
    --pp-page-bg: #f5f8fb;
    --pp-left-bg: #ffffff;
    --pp-border: #e8e8e8;
    --brand: #0168fa;
    --brand-tint: #4a9bfd;
    --brand-hover: #0156d1;
    --brand-active: #055fa0;
    --brand-focus: rgba(7,121,197,.45);
    --pp-accent: var(--brand);
    --pp-hpad: 16px;
    --pp-top-chrome: 160px;
    --pp-bottom-gap: 16px;
    --st-delinquent: #d9822b;
    --st-delinquent-bg: #fff7e6;
    --pp-hl-brand: #334155;
    --pp-hl-expired: #b02525;
    --pp-hl-delinquent: #d9822b;
}

html, body {
    height: 100%;
    overflow: auto;
}

body {
    overflow-y: scroll !important;
}

.tx-normal-f {
    font-weight: normal !important;
}

.field-validation-error {
    font-size: 14px;
}

a.tx-primary-f {
    color: var(--brand);
    text-decoration: underline;
    transition: color .2s;
}

    a.tx-primary-f:hover {
        color: var(--brand-hover);
        text-decoration: none;
    }

.default-cursor {
    cursor: default;
}

.eligible-empty-text {
    color: #6c757d;
}

.btn-proceed-wrap {
    display: inline-block;
}

    .btn-proceed-wrap > #btnProceed:disabled {
        pointer-events: none;
    }

#ppNotification {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding: 8px 36px 8px 14px;
}

    #ppNotification .btn-close {
        position: absolute;
        top: 6px;
        right: 8px;
        transform: scale(.95); /* shrinks the X */
        padding: 0;
        width: 18px;
        height: 18px;
        background-size: 10px;
        opacity: 1;
    }

        #ppNotification .btn-close:hover {
            opacity: 1;
        }

.pp-smart-tooltip {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    max-width: 420px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #ffffff;
    background: rgba(20, 60, 120, 0.82);
    backdrop-filter: blur(6px);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.18);
    opacity: 0;
    transition: opacity .15s ease;
    white-space: normal;
}

.smart-hover-tip {
    cursor: default;
}

.pp-header-logo {
    width: 35px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 3px;
}

.pp-body {
    margin: 0;
    background: var(--pp-page-bg);
    min-height: 100vh;
}

.pp-header {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .pp-header nav a {
        padding: .35rem .5rem;
        border-radius: .5rem;
        font-size: 14px;
    }

        .pp-header nav a:hover {
            background: rgba(0,0,0,.05);
        }

        .pp-header nav a.pp-nav-active {
            color: #0779C5 !important;
            font-weight: 600;
        }

            .pp-header nav a.pp-nav-active .pp-header-icon,
            .pp-header nav a.pp-nav-active svg {
                color: #0779C5 !important;
            }

.pp-header-main {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.1;
}

.pp-header-sub {
    font-size: .9rem;
    color: #666;
    line-height: 1.1;
}

.pp-header-icon {
    width: 25px;
    height: 25px;
}

.pp-header-main .tx-aqmd {
    color: #196DB6;
}

.bg-page {
    height: auto;
    padding: 3vh 1.5vw;
    background: var(--pp-page-bg);
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.pp-box {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pp-border);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    overflow: visible;
}

    .pp-box > .row {
        flex: 0 0 auto;
        height: auto;
        margin: 0;
        border-radius: inherit;
    }

.bg-left, .bg-white {
    height: auto;
}

.bg-left {
    background: var(--pp-left-bg) url("../img/invoice_theme.png") no-repeat center/cover;
    background-position: 55% calc(180px - 50px);
    text-align: center;
    padding-top: 40px;
    position: relative;
    color: #1e293b;
    box-shadow: 8px 0 15px -8px rgba(0,0,0,.15);
    z-index: 2;
    border-right: 2px solid #e8e8e8;
}

    /*.voucher-mode .bg-left {
    background-position: 50% calc(180px - 0px) !important;
    background-image: url("/content/assets/img/voucher_theme.png");
}*/

    .bg-left::before {
        content: "";
        position: absolute;
        inset: 0;
        background: transparent;
        z-index: 0;
    }

.pp-left-content {
    position: relative;
    z-index: 1;
    color: #374151;
    font-size: .95rem;
}

.pp-logo {
    width: 70px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    transition: transform .2s,box-shadow .2s;
    margin-bottom: 10px;
}

.pp-right-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.pp-header-wrap {
    flex: 0 0 auto;
    margin-bottom: 5px;
}

    .pp-header-wrap .card-header,
    .pp-right-flex > .card-body {
        padding-left: var(--pp-hpad) !important;
        padding-right: var(--pp-hpad) !important;
    }

.pp-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #dcdcdc;
    padding: 14px 0 10px;
    font-size: 14px;
    color: #1b2e4b;
    position: relative;
    z-index: 3;
}

    .pp-footer a {
        color: var(--brand);
        text-decoration: underline;
    }

        .pp-footer a:hover {
            color: #014ec4;
        }

.pp-footer-inner {
    width: 100%;
    padding: 0 35px 0 30px;
}

.pp-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pp-footer-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.pp-footer-logo {
    width: 45px !important;
    height: auto !important;
    max-width: 50px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0px;
    background: #fff;
    flex: 0 0 auto;
}

.pp-footer-info,
.pp-footer-line1,
.pp-footer-line2,
.pp-footer-bottom {
    text-align: left !important;
}

.pp-footer-line1 {
    display: block;
    line-height: 1.35;
}

.pp-footer-title {
    font-weight: 600;
    font-size: 16px;
}

.pp-footer-address {
    color: #486087;
    margin-top: 2px;
}

.pp-footer-line2 {
    margin-top: 2px;
    color: #1b2e4b;
}

.pp-footer-right {
    color: #5f7087;
    text-align: right;
    white-space: nowrap;
}

.pp-footer-link {
    color: #0168fa;
    text-decoration: underline;
}

    .pp-footer-link:hover {
        color: #014ec4;
    }

.pp-footer-bottom {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #dcdcdc;
    font-size: 12.5px;
    color: #6b7280;
}

.pp-panels-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
}

.pp-progress {
    width: 100%;
}

.pp-progress-wrap {
    padding-bottom: 8px;
}

.pp-progress-container {
    position: relative;
    height: 18px;
    margin: 50px auto 0 auto;
    max-width: 700px;
    width: 100%;
}

    .pp-progress-container::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: #e2e8f0;
        border-radius: 999px;
    }

.pp-progress-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: #1e293b;
    border-radius: inherit;
    transition: width .35s ease;
    box-shadow: none;
}

.pp-progress-tick {
    position: absolute;
    bottom: -9px;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
    box-shadow: none;
    z-index: 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pp-progress-tick::after {
        content: "➤";
        font-size: 10px;
        color: #9ca3af;
        position: absolute;
        left: 52%;
        top: 50%;
        transform: translate(-50%,-50%);
        opacity: .6;
        z-index: 1;
        transition: color .3s ease,opacity .3s ease;
    }

    .pp-progress-tick.is-past,
    .pp-progress-tick.is-active {
        border-color: #1e293b;
    }

        .pp-progress-tick.is-past::before,
        .pp-progress-tick.is-active::before {
            content: "";
            position: absolute;
            inset: 1px;
            border-radius: 50%;
            background: #1e293b;
            opacity: 1;
            z-index: 0;
            box-shadow: none;
            animation: none;
        }

        .pp-progress-tick.is-past::after,
        .pp-progress-tick.is-active::after {
            color: #fff;
            opacity: 1;
        }

    .pp-progress-tick.is-last::after {
        content: none;
    }

    .pp-progress-tick .pp-tick-svg {
        width: 12px;
        height: 12px;
        color: #9ca3af;
        position: relative;
        z-index: 2;
    }

    .pp-progress-tick.is-past .pp-tick-svg,
    .pp-progress-tick.is-active .pp-tick-svg {
        color: #fff;
    }

.pp-step-label {
    position: absolute;
    top: -40px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    font-size: 11px;
    pointer-events: none;
    text-transform: uppercase;
    color: #bbb;
}

    .pp-step-label svg {
        width: 20px;
        height: 20px;
        fill: #bbb;
        transition: fill .3s ease,color .3s ease;
        background: transparent;
        box-shadow: none;
    }

    .pp-step-label.is-past,
    .pp-step-label.is-active {
        color: #1e293b;
    }

        .pp-step-label.is-past svg,
        .pp-step-label.is-active svg {
            fill: #1e293b;
            background: transparent;
            box-shadow: none;
        }

        .pp-step-label.is-active .pp-step-pulse {
            display: block;
        }

.pp-progress-box,
.pp-progress-container,
.pp-progress-bar,
.pp-progress-tick,
.pp-step-label {
    z-index: 1 !important;
}

.pp-progress-box {
    margin-top: 60px;
    padding: 0 10px 30px 0;
    border-radius: 0px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    border: 1px solid #e5e7eb;
}

.pp-progress-tick.is-active {
    animation: pp-active-ring 1.35s ease-out infinite !important;
}

.pp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 12px 10px;
    margin: 0;
    border-radius: 12px;
    background: #fff;
    position: relative;
    font-size: 16px;
    font-weight: 700;
}

    .pp-section-header::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 4px;
        border-radius: 4px;
    }

.pp-section-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .pp-section-left > svg {
        width: 22px;
        height: 22px;
    }

.pp-section-icon.unpaid {
    width: 30px;
    height: 30px;
}

.pp-section-title-text {
    letter-spacing: .2px;
}

.pp-section-count {
    font-size: 14px;
    font-weight: normal !important;
    padding: 1px 8px 0;
    background: #f3f4f6;
    color: #333;
    margin-left: 5px;
}
.expired-header {
    padding-top: 12px;
    padding-bottom: 12px;
}

    .expired-header .pp-section-header {
        margin-bottom: 0;
    }

.expired-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

.expired-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
}

.expired-header .pp-section-header {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 12px 16px 12px 10px;
    background: #fff;
    border-radius: 12px;
    white-space: nowrap;
}

.expired-header .pp-section-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    white-space: nowrap;
}

.expired-header .pp-section-title-text {
    white-space: nowrap;
}

.expired-header .pp-section-count {
    flex: 0 0 auto;
    margin-left: 8px;
}

.expired-summary-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: auto;
}

.expired-summary-chip {
    display: inline-flex;
    align-items: stretch;
    flex-wrap: nowrap;
    white-space: nowrap;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: 13px;
    border-bottom: 0;
}

.expired-summary-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fbff;
    flex: 0 0 auto;
    white-space: nowrap;
}

.expired-summary-check {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9f7ef;
    color: #2f855a;
    flex: 0 0 auto;
}

.expired-summary-selected {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.expired-summary-selected-count {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #b02525;
}

.expired-summary-selected-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    white-space: nowrap;
}

.expired-summary-divider {
    width: 1px;
    background: #dbe5f0;
    flex: 0 0 1px;
}

.expired-summary-total {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 5px 14px 5px;
    min-width: 135px;
    background: #ffffff;
    flex: 0 0 auto;
    white-space: nowrap;
    background: #e4e7eb;
    border: 1px solid #d1d5db;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.expired-summary-total-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
}

.expired-summary-total-amount {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.05;
    color: #b02525;
    white-space: nowrap;
}

.pp-section-header--expired {
    color: #b02525;
}

    .pp-section-header--expired::before {
        background: #b02525;
    }

    .pp-section-header--expired .pp-section-icon {
        color: #b02525;
    }

    .pp-section-header--expired .pp-section-count {
        background: #fff1f1;
        color: #b02525;
        border: 1px solid #f2cdcd;
    }

.pp-section-header--unpaid {
    color: #0f1c2e;
}

    .pp-section-header--unpaid::before {
        background: #0f1c2e;
    }

    .pp-section-header--unpaid .pp-section-icon {
        color: #0f1c2e;
    }

    .pp-section-header--unpaid .pp-section-count {
        background: #eef5ff;
        color: #0f1c2e;
        border: 1px solid #d6e6ff;
    }

.pp-start-pair {
    position: relative;
    margin-top: 8px;
}

.pp-start-card {
    position: relative;
    z-index: 1;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 16px 16px 0;
    min-height: 260px;
    text-decoration: none;
    transition: background-color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .18s ease;
}

    .pp-start-card.is-primary {
        border-color: var(--brand);
        background: #f0f7fd;
        box-shadow: 0 0 0 1px rgba(7,121,197,.18);
    }

    .pp-start-card.is-hovered {
        background: #f2f8ff;
        box-shadow: 0 6px 20px rgba(7,121,197,.18);
    }

        .pp-start-card.is-hovered .pp-start-arrow {
            transform: translateX(4px);
            color: var(--brand);
        }

.pp-flow-inline {
    position: relative;
    padding-top: 8px;
}

.pp-flow-inline-header {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    margin-bottom: 15px;
    gap: 6px;
    font-weight: 600;
}

.pp-flow-rail {
    position: absolute;
    top: 32px;
    left: 22px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(#e5e7eb,#cbd5f5);
    opacity: .9;
}

.pp-flow-step {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
}

.pp-flow-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--brand);
    border: 1px solid rgba(7,121,197,.35);
    box-shadow: 0 1px 2px rgba(15,23,42,.08);
    transition: background-color .2s ease,color .2s ease,box-shadow .2s ease;
}

.pp-flow-text span {
    line-height: 1.45;
}

.pp-start-card.is-hovered .pp-flow-rail {
    background: linear-gradient(var(--brand),var(--brand));
}

.pp-start-card.is-hovered .pp-flow-dot {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 1px 4px rgba(15,23,42,.25);
}

.pp-flow-compare .pp-flow-rail {
    position: absolute;
    top: 35px;
    left: 10px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(#e5e7eb,#cbd5f5);
    opacity: .9;
}

.pp-flow-compare .pp-flow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-left: 12px;
}

.pp-flow-compare .pp-flow-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background: #fff;
    color: var(--brand);
    border: 1px solid rgba(7,121,197,.35);
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(15,23,42,.08);
}

.pp-flow-compare .pp-flow-text span {
    line-height: 1.4;
}

.pp-start-card--invoice {
    position: relative;
    overflow: hidden;
}

.pp-tabbar {
    display: inline-flex;
    gap: 10px;
    position: relative;
    height: 32px;
    align-items: flex-end;
    padding-bottom: 2px;
}

    .pp-tabbar > span {
        display: inline-block;
        transform: translateY(-3px);
    }

.pp-tab {
    all: unset;
    cursor: pointer;
    line-height: 1;
    padding: 6px 2px;
    font-size: 14px;
    font-weight: normal;
    color: #3b4654;
    position: relative;
}

    .pp-tab:hover {
        color: #111;
    }

    .pp-tab.is-active {
        color: var(--brand);
    }

        .pp-tab.is-active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 2px;
            height: 2px;
            background: var(--brand);
            border-radius: 2px;
        }

    .pp-tab:focus-visible {
        outline: 2px solid rgba(7,121,197,.35);
        outline-offset: 2px;
        border-radius: 3px;
    }

.pp-empty {
    display: none;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 100px;
    background: #f9fafb;
    color: #374151;
    text-align: center;
    border: none;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .2px;
}

    .pp-empty.is-visible {
        display: flex;
    }

.pp-side-note .tx-color-02 {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    color: #24303f;
    margin-bottom: 2px;
    opacity: .9;
}

.pp-hero {
    border-bottom: 1px solid rgba(15,23,42,.08);
    padding: 28px 16px 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

    .pp-hero::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -120px;
        width: 260px;
        height: 260px;
        filter: blur(2px);
    }

.pp-hero-title {
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.pp-hero-sub {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(15,23,42,.70);
    font-size: 15px;
}

.pp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

    .pp-table thead th {
        background: #f7faff;
        color: #24303f;
        font-weight: 700;
        font-size: 14px;
        padding: 10px var(--pp-hpad);
        border-bottom: 2px solid #e2eaf4;
        border-top: 2px solid #e2eaf4;
    }

    .pp-table tbody td {
        padding: 6px var(--pp-hpad);
        border-bottom: 1px solid #eef2f7;
        vertical-align: top;
        color: #24303f;
        font-size: 14px;
    }

    .pp-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .pp-table .td-amt {
        text-align: right;
    }

    .pp-table.unpaid {
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

        .pp-table.unpaid thead th {
            background: #f7faff;
            background-clip: padding-box;
            border-top: 2px solid #e5e7eb !important;
            border-bottom: 2px solid #e5e7eb !important;
        }

        .pp-table.unpaid tbody tr {
            cursor: pointer;
            transition: background-color .15s,box-shadow .15s;
        }

            .pp-table.unpaid tbody tr:hover {
                background: #f2f4f6 !important;
            }

            .pp-table.unpaid tbody tr.is-selected td {
                background: rgba(32,146,89,.06);
            }

            .pp-table.unpaid tbody tr.is-locked {
                cursor: default;
            }

        .pp-table.unpaid .pp-select-col input[disabled] {
            cursor: not-allowed;
            opacity: .5;
        }

    .pp-table.pp-compact thead th {
        padding: 8px var(--pp-hpad);
        font-size: .88rem;
        line-height: 1.2;
    }

    .pp-table.pp-compact tbody td {
        font-size: .92rem;
        line-height: 1.25;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pp-table.pp-compact .invoice-amount-chip {
        display: inline-block;
        border-radius: 4px;
        padding: 4px 10px 3px;
        font-weight: 600;
        line-height: 1.25;
        font-size: 14px;
        position: relative;
        top: -3px;
    }

    .pp-table.pp-compact .pp-select-col {
        width: 40px;
    }

        .pp-table.pp-compact .pp-select-col input[type="checkbox"] {
            width: 15px;
            height: 15px;
        }

    .pp-table.pp-compact td .st-badge {
        font-size: .9rem;
    }

    .pp-table td .st-badge {
        all: unset;
        font-size: 14px;
        color: inherit;
        line-height: normal;
    }

    .pp-table td .st-expired {
        color: #c33 !important;
    }

    .pp-table td .st-delinquent {
        color: #d9822b !important;
    }

    .pp-table td .st-pay {
        display: inline-block;
        padding: 3px 10px 1px;
        border-radius: 5px;
        font-size: .8rem;
        white-space: nowrap;
        text-decoration: none;
        background: rgba(27,123,74,.12);
        color: #1b7b4a;
        border: 1px solid #cfd7e3;
        position: relative;
        top: -3px;
    }

    .pp-table td a.st-pay:hover,
    .pp-table td a.st-pay:focus {
        background: rgba(27,123,74,.18);
        color: #145f39;
        text-decoration: none;
        outline: none;
    }

    .pp-table td .st-view {
        background: #fff;
        border: 1px solid #cfd7e3;
        color: #24303f;
        position: relative;
        top: -3px;
    }

    .pp-table td a.st-view:hover,
    .pp-table td a.st-view:focus {
        background: #cfd7e3;
        text-decoration: none;
        outline: none;
    }

.pp-section-badge {
    margin-left: 10px;
    padding: 2px 10px;
    font-size: 13px;
    font-weight: normal !important;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
}

.pp-section-badge--pastdue {
    background: #fff7e6;
    color: #d9822b;
    border: 1px solid #f2dccb;
}

#cardEligible .metrics-ribbon,
#cardReview .metrics-ribbon,
#cardEligible .pp-table.unpaid thead th,
#cardReview .pp-table.unpaid thead th,
#cardEligible .table-wrap .pp-table.unpaid thead th,
#cardReview .table-wrap .pp-table.unpaid thead th {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

.pp-step {
    margin-top: 14px;
}

.pp-step-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #111;
}

.pp-mp-host {
    position: relative;
    flex: 1 1 auto;
    min-height: 0px;
    padding: 16px;
    height: 100%;
    min-height: 0;
    background: #f5f9fd;
}

.pp-mp-loader {
    position: absolute;
    inset: 0;
    display: none;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(1px);
    z-index: 50;
    pointer-events: all;
}

.pp-mp-loader-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    text-align: center;
    padding: 18px;
}

.pp-mp-loader-text {
    font-size: 14px;
    font-weight: 600;
    color: #3b3f45;
}

.pp-mp-spinner {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(0,0,0,.15);
    border-top-color: rgba(0,0,0,.45);
    border-radius: 50%;
    animation: ppSpin .8s linear infinite;
}

.pp-review-grid {
    display: grid;
    grid-template-columns: minmax(520px, 1fr) minmax(420px, 520px);
    gap: 15px;
    align-items: stretch;
    padding: 24px 0;
}

.pp-review-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
}

.pp-review-right {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pp-review-selected-card {
    display: flex;
    flex-direction: column;
    min-height: 570px;
}

.pp-review-selected-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 12px;
}

    .pp-review-selected-body #rvCart {
        flex: 1 1 auto;
        min-height: 0;
    }

    .pp-review-selected-body .pp-cart-table-wrap {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

.pp-review-selected-summary {
    margin-top: auto;
    padding-top: 0px;
    border-top: 1px solid #e5e7eb;
}

    .pp-review-selected-summary .pp-order-summary {
        background: #ffffff;
        padding-top: 2px;
    }

    .pp-review-selected-summary .pp-os-row:last-child {
        padding-bottom: 10px;
        padding-top: 5px;
    }

#osRemaining {
    color: #b02525;
}

.pp-mp-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.pp-card {
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.pp-card-hd {
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
}

.pp-card-bd {
    padding: 8px 14px;
}

.pp-card-ft {
    padding: 12px 14px;
    border-top: 1px solid #eef2f7;
}

.pp-review-title {
    margin-bottom: 0px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    padding: 18px 0 10px;
    text-align: center;
}

.pp-facility-line {
    font-size: 13px;
    color: #486087;
    padding-left: 10px;
    padding-right: 10px;
}

.pp-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6c757d;
}

.pp-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f28c28;
}

.pp-legend-text {
    font-weight: normal;
    font-size: 13px;
    margin-top: -1px;
}

#cardEligible .pp-table.unpaid thead th,
#cardReview .pp-table.unpaid thead th,
#cardEligible .table-wrap .pp-table.unpaid thead th,
#cardReview .table-wrap .pp-table.unpaid thead th {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

.pp-payment-note .muted {
    color: #64748b;
}

.pp-cart-inv {
    color: #0f172a;
    white-space: nowrap;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.pp-cart-amt {
    padding-top: 2px;
    font-size: 14px;
    font-weight: normal;
    display: inline-block;
    white-space: nowrap;
}

#rvCart .pp-empty {
    border: none;
    background: #f9fafb;
    min-height: 120px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-cart-table-wrap {
    width: 100%;
}

.pp-cart-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}

.pp-cart-th {
    text-align: left;
    padding: 10px 0px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.pp-cart-td {
    padding: 8px 0px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
    color: #0f172a;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-cart-col-inv {
    width: 22%;
}

.pp-cart-col-type {
    width: 34%;
}

.pp-cart-col-date {
    width: 22%;
}

.pp-cart-col-amt {
    width: 22%;
    text-align: right;
}

.pp-cart-tr:hover > .pp-cart-td {
    background: color-mix(in srgb, var(--brand-hover) 7%, #ffffff);
}

.pp-cart-tr.is-delinquent:hover > .pp-cart-td {
    background: color-mix(in srgb, var(--brand-hover) 7%, #ffffff);
}

.pp-cart-type,
.pp-cart-date {
    color: #334155;
}

.pp-cart-table tbody tr:last-child > .pp-cart-td {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.pp-order-summary {
    background: #f9fafb;
}

.pp-os-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
}

#osRemaining.pp-os-value {
    color: #b02525;
}

.pp-os-label {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b !important;
    background: #f9fafb;
}

.pp-os-value {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.pp-os-muted .pp-os-label {
    color: #64748b;
    font-weight: 600;
}

.pp-os-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0 6px;
}

.pp-os-total .pp-os-label,
.pp-os-total .pp-os-value {
    font-weight: normal !important;
}

.pp-mp-top {
    padding: 22px 18px 18px;
    text-align: center;
    background: #f5f9fd;
}

.pp-mp-amount {
    margin-bottom: 12px;
}

.pp-mp-label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 10px;
}

.pp-mp-value {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.05;
    color: #0f172a;
    margin-top: 6px;
    margin-bottom: 25px;
}

.pp-mp-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

    .pp-mp-actions button svg {
        width: 18px;
        height: 18px;
        position: relative;
        top: 0px;
    }

    .pp-mp-actions button.btn-pay .btn-pay-tx {
        position: relative;
        top: -1px;
    }

.pp-mp-note {
    padding: 14px 18px 16px;
    border-top: 1px solid #eef2f7;
    background: #f5f9fd;
}

.pp-mp-note-hd {
    display: flex;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 8px;
    margin-left: 5px;
}

.pp-mp-wp {
    height: 18px;
    width: auto;
}

.pp-mp-note-item {
    position: relative;
    padding-left: 14px;
}

    .pp-mp-note-item::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #0f172a;
        font-weight: 700;
    }

.pp-mp-note-txt {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    max-width: 460px;
    margin: 0 auto;
    text-align: left;
}

.pp-pay-note {
    margin: 5px 18px 16px;
    margin-bottom: 0px;
    padding: 14px 8px 14px 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    position: relative;
    top: 5px;
    margin-top: 15px;
    margin-bottom: 25px;
    border-radius: 10px;
}

    .pp-pay-note .pp-mp-note-hd {
        margin-left: 0;
        margin-bottom: 10px;
        color: #0f172a;
    }

        .pp-pay-note .pp-mp-note-hd svg {
            fill: #0f172a;
            color: #d9822b;
            flex: 0 0 auto;
            height: 18px;
            width: 18px;
            margin-top: 1px;
        }

    .pp-pay-note .pp-pay-note-txt {
        max-width: none;
        color: #5b6472;
    }

.pp-pay-note-item + .pp-pay-note-item {
    margin-top: 10px;
}

.pp-pay-note-list {
    margin: 0;
    padding-left: 18px;
}

.pp-pay-note-item {
    color: #5b6472;
}

    .pp-pay-note-item + .pp-pay-note-item {
        margin-top: 10px;
    }

.pp-cart-head-title {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

.pp-review-actions {
    display: flex;
    justify-content: space-between;
    padding: 14px 0 6px;
}

.pp-summary-card, .pp-mp-card {
    border: 1px solid #e5e7eb;
    background: #f5f9fd;
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.pp-summary-title, .pp-mp-title {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0f172a;
}

.pp-mp-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.75);
    color: #374151;
    font-size: 14px;
    border: 1px dashed #e5e7eb;
    font-weight: 600;
}

.pp-summary-title {
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

#mpLoader .pp-mp-loader-inner {
    width: 100%;
    text-align: center;
}

.pos-relative {
    position: relative !important;
}

.bd-t {
    border-top: 1px solid #cfd7e3;
}

.invoice-scroll .card-body {
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
    padding-left: var(--pp-hpad) !important;
    padding-right: var(--pp-hpad) !important;
}

.floating-label {
    position: relative;
}

    .floating-label label {
        position: absolute;
        top: 12px;
        left: 25px;
        font-size: .9rem;
        color: #6b7a90;
        pointer-events: none;
        transition: all .2s;
        background: transparent;
    }

.header-gradient {
    color: var(--pp-accent);
    letter-spacing: .3px;
    font-weight: normal !important;
}

.header-border {
    border-left: 4px solid var(--pp-accent);
    padding-left: 12px;
    line-height: 1.3;
    display: inline-block;
}

.list-dots {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .list-dots li {
        position: relative;
        padding-left: 18px;
        margin-bottom: 4px;
        line-height: 1.45;
    }

        .list-dots li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .95em !important;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--pp-accent);
            transform: translateY(-50%);
            opacity: .95;
        }

.px-3.text-start p.tx-15,
.px-3.text-start li.tx-15 {
    line-height: 1.95 !important;
}

.tx-delinquent {
    color: var(--st-delinquent) !important;
}

.st-badge.st-delinquent {
    color: var(--st-delinquent);
    background: var(--st-delinquent-bg);
}

#invoicePage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
}

.invoice-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 9999;
}

.invoice-modal-content {
    display: flex;
    flex-direction: column;
    height: 96vh;
    width: min(calc(98vh * 8.5 / 11),93vw);
    margin: 2vh auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.invoice-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

.invoice-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.invoice-close {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    top: 2px;
}

.invoice-iframe-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
}

.invoice-modal iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.invoice-loader {
    position: absolute;
    inset: 0;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

    .invoice-loader.is-visible {
        display: flex;
    }

    .invoice-loader .spinner {
        width: 42px;
        height: 42px;
        border: 4px solid #ddd;
        border-top-color: #0779c5;
        border-radius: 50%;
        animation: spin .9s linear infinite;
    }

    .invoice-loader .loader-text {
        font-size: 14px;
        color: #444;
    }

.invoice-status-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 0px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 1px solid;
    transform: translateY(-2px);
}

.invoice-status-unpaid {
    background: #cfd7e3;
    color: #0f1c2e;
    border-color: #0f1c2e;
}

.invoice-status-delinquent {
    background: #fff3e0;
    color: #c77700;
    border-color: #c77700;
}

.invoice-status-expired {
    background: #ffe8e8;
    color: #c40000;
    border-color: #c40000;
}


.metrics-ribbon {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    background: #e4e7eb;
    border: 1px solid #e6eef7;
    border-radius: 10px;
    padding: 12px 14px 6px;
    box-shadow: 0 2px 8px rgba(7,121,197,.06);
    margin-bottom: 10px;
}

    .metrics-ribbon .mr-item {
        display: grid;
        grid-template-rows: auto 1fr;
        align-content: start;
        min-width: 170px;
        white-space: nowrap;
    }

    .metrics-ribbon .mr-label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #6e7e91;
        line-height: 1.1;
        margin: 0 0 2px;
    }

    .metrics-ribbon .mr-value {
        font-size: 16px;
        font-weight: 700;
        color: #0f1c2e;
    }

        .metrics-ribbon .mr-value.mr-ok {
            color: #117a36;
        }

        .metrics-ribbon .mr-value.mr-bad {
            color: #0f1c2e;
        }

    .metrics-ribbon .mr-sep {
        height: 28px;
        border-left: 1px dashed #d7e3f1;
        margin: 0 2px;
    }

    .metrics-ribbon .mr-item.mr-progress {
        flex: 1 1 360px;
        min-width: 320px;
    }

    .metrics-ribbon .mr-topline {
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin: 0;
    }

    .metrics-ribbon .mr-pct-inline {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.1;
        padding: 2px 8px;
        border-radius: 999px;
        background: #fff;
        color: #333;
        position: relative;
        top: -2px;
    }

    .metrics-ribbon .mr-bar-wrap {
        grid-row: 2;
        width: 100%;
    }

    .metrics-ribbon .mr-bar {
        height: 10px;
        background: #fff;
        border-radius: 999px;
        overflow: hidden;
        border: 1px solid #ccc;
    }

    .metrics-ribbon .mr-fill {
        height: 100%;
        width: 0%;
        transition: width .25s ease-in-out;
        background: linear-gradient(90deg,#5faee3,#0779c5);
    }

/*#eligibleMetrics {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 2fr !important;
    align-items: center !important;
    gap: 12px !important;
}

    #eligibleMetrics .mr-item,
    #eligibleMetrics .mr-label,
    #eligibleMetrics .mr-topline {
        min-width: 0 !important;
    }

    #eligibleMetrics .mr-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #eligibleMetrics .mr-item {
        min-width: 0 !important;
        white-space: nowrap !important;
        align-self: stretch;
        display: grid;
        grid-template-rows: auto 1fr;
    }

        #eligibleMetrics .mr-item.mr-progress {
            width: auto !important;
            min-width: 0 !important;
            position: static !important;
        }

    #eligibleMetrics .mr-topline {
        gap: 6px;
        font-size: 11px;
        line-height: 1.1;
        margin-bottom: 2px;
    }

    #eligibleMetrics .mr-bar-wrap {
        height: 4px;
    }

    #eligibleMetrics .mr-sep {
        display: none !important;
    }

    #eligibleMetrics .mr-caption {
        font-size: 13px;
        color: #6e7e91;
        margin-top: 10px;
        line-height: 1.3;
    }

    #eligibleMetrics.has-pastdue-gauge {
        grid-template-columns: .9fr .9fr .9fr 1.2fr 1.2fr !important;
        column-gap: 3.2rem !important;
    }

    #eligibleMetrics:not(.has-pastdue-gauge) .mr-item.mr-progress {
        width: 100% !important;
        min-width: 0 !important;
        padding-right: 12px;
    }*/

#eligibleMetrics {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: stretch !important;
    gap: 0 !important;
}

    #eligibleMetrics .mr-item {
        min-width: 0 !important;
        white-space: nowrap !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        padding: 0 0px;
    }

        #eligibleMetrics .mr-item:nth-child(1) {
            text-align: left;
            align-items: flex-start;
        }

        #eligibleMetrics .mr-item:nth-child(2) {
            text-align: center;
            align-items: center;
        }

        #eligibleMetrics .mr-item:nth-child(3) {
            text-align: right;
            align-items: flex-end;
        }

        #eligibleMetrics .mr-item + .mr-item {
            border-left: 1px solid rgba(15, 28, 46, 0.08);
        }


#mrPctPaid {
    margin-left: .25rem;
}

#mrPastDue .mr-pct-inline {
    background-color: color-mix(in srgb,var(--st-delinquent) 10%,white);
    color: var(--st-delinquent);
}

#mrPastDue .mr-bar .mr-fill {
    background-image: linear-gradient(90deg, color-mix(in srgb,var(--st-delinquent) 65%,white) 0%, var(--st-delinquent) 100%);
}

#cardExpired, #cardEligible {
    border: none;
    box-shadow: none;
}

#cardExpired {
    background: linear-gradient(180deg,#fff 0%,#fff8f8 100%);
    border-radius: 18px;
    margin-bottom: 10px;
}

    #cardExpired .card-header,
    #cardEligible .card-header {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border-bottom: none !important;
        padding-left: 0 !important;
    }

        #cardExpired .card-header h6 {
            color: #b02525;
            font-weight: normal;
        }

    #cardExpired .card-body {
        overflow: hidden;
        padding: 8px 0 0;
    }

#cardEligible {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
    margin-top: 30px;
}

    #cardEligible > .card-body {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: visible;
        padding: 8px 0;
        padding-bottom: 0;
        flex: 1 1 auto;
    }

    #cardExpired .card-footer,
    #cardEligible .card-footer {
        padding: 8px 12px;
        background: #fff;
        border-top: none;
        padding-right: 0;
    }

.expired-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 15px !important;
    border-top: 1px solid #cfd7e3 !important;
    border-bottom: 1px solid #cfd7e3 !important;
    background: #f2f2f2 !important;
}

#cardEligible .card-footer.eligible-footer {
    position: static;
    box-shadow: none;
    padding: 15px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding-right: 0;
}

.footer-pd-gauge .mr-topline {
    margin-bottom: 2px;
}

.footer-pd-gauge .mr-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6e7e91;
}

.footer-pd-gauge .mr-bar {
    height: 8px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #ccc;
    overflow: hidden;
}

.footer-pd-gauge .mr-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#5faee3,#0779c5);
    transition: width .25s ease-in-out;
}

#cardEligible .eligible-footer #footerPastDueNote {
    margin-right: auto;
    font-size: 14px;
    color: #333;
}

    #cardEligible .eligible-footer #footerPastDueNote strong {
        font-weight: 700;
    }

        #cardEligible .eligible-footer #footerPastDueNote strong:last-of-type {
            color: var(--st-delinquent);
        }

#cardEligible .metrics-ribbon {
    flex: 0 0 auto;
    box-shadow: 0 2px 0 rgba(0,0,0,.03);
    margin-bottom: 20px;
    border: 1px solid #d1d5db;
}

#tblExpired thead th, #tblEligible thead th {
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.15;
}

#tblExpired tbody td {
    padding-top: 10px;
    padding-bottom: 8px;
}

#tblEligible tbody td {
    padding-top: 8px;
    padding-bottom: 5px;
}

#tblExpired tbody tr, #tblEligible tbody tr {
    height: auto;
}

#rvTable tbody tr {
    cursor: default;
}

#tblExpired thead th {
    border-top: 2px solid #e2eaf4;
}

#tblExpired .invoice-amount,
#tblEligible .invoice-amount,
#rvTable .invoice-amount {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #0f1c2e;
    font-size: 14px;
    font-weight: normal !important;
}

#tblEligible tbody tr[data-status="delinquent"] .invoice-amount,
#rvTable tbody tr[data-status="delinquent"] .invoice-amount {
    color: var(--st-delinquent) !important;
}

#tblExpired .invoice-amount {
    color: #b02525 !important;
}

#tblEligible tbody tr.is-selected .invoice-amount,
#rvTable tbody tr.is-selected .invoice-amount {
    background: transparent !important;
    color: #0f1c2e;
}

#tblExpired tbody td,
#tblEligible tbody td {
    vertical-align: middle;
}

#tblEligible .invoice-check {
    transform: translateY(1px);
}

#expiredPager {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

    #expiredPager .pager-numbers {
        display: flex;
        gap: 6px;
    }

    #expiredPager .page-btn {
        min-width: 30px;
        height: 23px;
        padding: 0 5px;
        border: 1px solid #d0d5dd;
        background: #fff;
        border-radius: 1px;
        font-size: 14px;
        font-weight: 400;
        color: #344054;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all .15s ease;
        text-decoration: none;
    }

        #expiredPager .page-btn:hover {
            background: #f2f4f7;
        }

        #expiredPager .page-btn.active {
            background: #0d6efd;
            border-color: #0d6efd;
            color: #fff;
            cursor: default;
        }

    #expiredPager .pager-btn {
        background: #fff;
        border: 1px solid #d0d5dd;
        border-radius: 1px;
        height: 23px;
        padding: 0 8px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all .15s ease;
    }

        #expiredPager .pager-btn:hover {
            background: #f2f4f7;
        }

        #expiredPager .pager-btn:disabled {
            opacity: .35;
            cursor: default;
        }

        #expiredPager .pager-btn svg {
            width: 16px;
            height: 16px;
            vertical-align: middle;
        }

.expired-page-info {
    font-size: 14px;
    color: #6c757d;
    margin: 0 8px;
    white-space: nowrap;
}

.delinquent-invoice-number-col {
    color: #d9822b !important;
}

.expired-invoice-number-col {
    color: #b02525 !important;
}

#cardReview {
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
}

    #cardReview .card-header {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border-bottom: none !important;
        padding-left: 0 !important;
    }

    #cardReview .card-body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 8px 0;
        overflow: visible;
        padding-bottom: 0;
    }

    #cardReview .card-footer.review-footer,
    #cardReview .card-footer.eligible-footer {
        position: static;
        box-shadow: none;
        padding: 15px 0 10px 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        padding-right: 0;
    }

#rvTable thead th {
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.15;
}

.muted {
    color: #777;
}

.paysingleinvoice .preview-layout {
    margin-left: -8px;
    margin-right: -20px;
    margin-top: 0;
    margin-bottom: 10px;
}

    .paysingleinvoice .preview-layout > [class*="col-"] {
        padding-left: 0px;
        padding-right: 0px;
    }

.paysingleinvoice .preview-shell {
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 340px);
    margin-top: 20px;
    margin-bottom: 5px;
    margin-right: 25px;
    margin-left: 15px;
}

.paysingleinvoice .preview-toolbar {
    padding: 8px 12px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #e5e7eb;
}

    .paysingleinvoice .preview-toolbar .preview-title span {
        font-weight: 600;
        color: #0f172a;
        font-size: 16px;
    }

.paysingleinvoice .preview-viewport {
    position: relative;
    flex: 1 1 auto;
    min-height: 95vh !important;
    background: #fafafa;
    padding: 10px;
    overflow: auto;
}

.paysingleinvoice #pdfImg {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
}

.paysingleinvoice #pdfLoader.invoice-loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.85);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

    .paysingleinvoice #pdfLoader.invoice-loader.is-visible {
        display: flex;
    }

.paysingleinvoice #pdfLoader .spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #ddd;
    border-top-color: #0779c5;
    border-radius: 50%;
    animation: spin .9s linear infinite;
}

.paysingleinvoice #pdfLoader .loader-text {
    font-size: 14px;
    color: #444;
}

.paysingleinvoice .mini-card {
    border: 1px solid #e6e6e6;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    margin-top: 15px !important;
}

.paysingleinvoice .mini-card-hd {
    padding: 10px 12px;
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #64748b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.paysingleinvoice .mini-card-bd {
    padding: 12px;
}

.paysingleinvoice .facility-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.paysingleinvoice .facility-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 5px;
}

    .paysingleinvoice .facility-field:not(:last-child) {
        border-bottom: 1px dashed #e5e7eb;
    }

.paysingleinvoice .facility-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    color: #6b7280;
}

.paysingleinvoice .facility-value {
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}

.paysingleinvoice .facility-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    letter-spacing: .02em;
}

.paysingleinvoice .facility-address {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.paysingleinvoice .kv {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0 0px 0;
    border-bottom: 1px dashed #eee;
}

    .paysingleinvoice .kv:first-child {
        padding-top: 0;
    }

    .paysingleinvoice .kv:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.paysingleinvoice .k {
    color: #64748b;
    text-align: left;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #f9fafb;
}

.paysingleinvoice .v {
    text-align: right;
    font-size: 14px;
}

.paysingleinvoice .ps-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.paysingleinvoice .ps-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

    .paysingleinvoice .ps-actions .btn svg {
        position: relative;
        top: -1px;
    }

.paysingleinvoice .amount {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 2px;
}

.paysingleinvoice .payment-note {
    padding: 14px 16px 0 15px;
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.paysingleinvoice .payment-note__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    margin-left: -6px;
}

.paysingleinvoice .payment-note__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}

    .paysingleinvoice .payment-note__icon svg {
        display: block;
        fill: currentColor;
    }

.paysingleinvoice .payment-note__title {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    position: relative;
    left: -5px;
}

.paysingleinvoice .payment-note__logo {
    height: 18px;
    width: auto;
    display: inline-block;
    margin-left: -10px;
    margin-top: 1px;
}

.paysingleinvoice .payment-note__text {
    margin: 0;
    color: #888;
    text-align: justify;
    font-size: 13px;
}

.expired-invoice-alert {
    border: 1px solid #f5c2c7;
    background: #fff3f3;
    border-left: 5px solid #dc3545;
    border-radius: 6px;
    margin-bottom: 16px;
}

.expired-invoice-alert-hd {
    font-weight: 600;
    font-size: 14px;
    color: #842029;
    padding: 10px 14px;
    border-bottom: 1px solid #f1c7c9;
    background: #fde2e4;
}

#payNowBtn svg {
    position: relative;
    top: 1px;
}

.expired-invoice-alert-bd {
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #4a1c1f;
}

    .expired-invoice-alert-bd p {
        margin-bottom: 10px;
    }

.confirm-hero-pro {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
    border-radius: 5px;
    background: linear-gradient(135deg, #444 0%, #2A8CCF 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.confirm-icon svg {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    border: 2px solid #0a5ea8;
}

.confirm-label,
.meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    opacity: .85;
    white-space: nowrap;
    line-height: 1.05;
    margin-bottom: 5px;
}

.confirm-number,
.meta-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.confirm-meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .confirm-meta-item.center {
        justify-content: center;
    }

.confirm-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    text-align: right;
}

#confirmPage .btn svg {
    position: relative;
    top: 1px;
    margin-right: 0px;
}

#confirmPage .confirm-content {
    display: grid;
    gap: 18px;
}

#confirmPage .confirm-card {
    border: 1px solid #e6e9ef;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

#confirmPage .confirm-card-hd {
    padding: 16px 18px 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #eef2f7;
}

#confirmPage .confirm-card-title {
    font-size: 13px;
    color: #111827;
    letter-spacing: .2px;
    text-transform: uppercase;
}

#confirmPage .confirm-card-sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 3px;
}

#confirmPage .confirm-card-bd {
    padding: 16px 18px 18px;
}

#confirmPage .confirm-receipt .confirm-total {
    text-align: right;
    min-width: 170px;
    color: #334155;
}

#confirmPage .confirm-total-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b7280;
}

#confirmPage .confirm-total-value {
    font-size: 24px;
    font-weight: 900;
    color: #334155;
    margin-top: 4px;
}

#confirmPage .confirm-kv {
    display: grid;
    gap: 10px;
}

#confirmPage .confirm-kv-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

#confirmPage .confirm-k {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b !important;
}

#confirmPage .confirm-v {
    font-weight: 700;
    color: #334155;
    font-size: 14px;
}

#confirmPage .confirm-paid-today .label {
    font-size: 14px;
    text-transform: uppercase;
    padding-right: 43px;
}

#confirmPage .confirm-paid-today .value {
    font-size: 20px;
}

#confirmPage .confirm-unified-card {
    border: 1px solid #dfe5ee;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

    #confirmPage .confirm-unified-card > .confirm-card-bd {
        padding: 0 !important;
    }

#confirmPage .confirm-ledger-wrap,
#confirmPage .confirm-ledger-wrap-unified {
    border: 0 !important;
    border-radius: 0 !important;
    overflow-x: auto;
    background: #fff;
    margin: 0 !important;
    box-shadow: none !important;
}

#confirmPage .confirm-ledger {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
    margin: 0;
    border: 0;
}

    #confirmPage .confirm-ledger thead th {
        background: #f4f8fb;
        color: #1e293b;
        font-weight: 900;
        font-size: 14px;
        padding: 10px 12px;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

        #confirmPage .confirm-ledger thead th.th-invoice {
            width: 170px;
            background: #f4f8fb;
        }

    #confirmPage .confirm-ledger tbody td {
        padding: 10px 12px;
        border-bottom: 1px solid #eef2f7;
        font-size: 13.5px;
        color: #334155;
        vertical-align: top;
    }

        #confirmPage .confirm-ledger tbody td.grand-total-label {
            padding-top: 18px;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
        }

        #confirmPage .confirm-ledger tbody td.grand-total-value {
            font-size: 20px;
            font-weight: 700;
            text-transform: uppercase;
        }

    #confirmPage .confirm-ledger tbody tr:hover td {
        background: #f9fbfd;
    }

    #confirmPage .confirm-ledger td.td-invoice {
        background: #fbfdff;
        vertical-align: top;
    }

    #confirmPage .confirm-ledger .inv-no {
        font-weight: 900;
        color: #334155;
        font-size: 14px;
        letter-spacing: .2px;
    }

    #confirmPage .confirm-ledger .td-desc {
        max-width: 420px;
    }

    #confirmPage .confirm-ledger .td-nowrap {
        white-space: nowrap;
    }

    #confirmPage .confirm-ledger tbody tr.row-reinstate td {
        background: rgba(7,121,197,.06);
    }

    #confirmPage .confirm-ledger tbody tr.row-late td {
        color: #b02525;
    }

    #confirmPage .confirm-ledger .invoice-subtotal-row td {
        background: #e2e8f0;
        border-bottom: 2px solid #e2e8f0;
        border-top: 2px solid #e2e8f0;
        font-weight: 900;
    }

    #confirmPage .confirm-ledger .subtotal-label {
        color: #475569;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    #confirmPage .confirm-ledger .subtotal-value {
        color: #334155;
        font-size: 14px;
    }

    #confirmPage .confirm-ledger .subtotal-stack-label {
        font-weight: normal !important;
        text-transform: uppercase;
        font-size: 11px;
    }

    #confirmPage .confirm-ledger thead th:first-child,
    #confirmPage .confirm-ledger tbody td:first-child {
        border-left: 0 !important;
    }

    #confirmPage .confirm-ledger thead th:last-child,
    #confirmPage .confirm-ledger tbody td:last-child {
        border-right: 0 !important;
    }

    #confirmPage .confirm-ledger tbody tr:last-child td {
        border-bottom: 0 !important;
    }

#confirmPage .confirm-receipt,
#confirmPage .confirm-receipt-unified {
    border: 0 !important;
    border-top: 1px solid #dfe5ee !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff;
    margin: 0 !important;
}

    #confirmPage .confirm-receipt .confirm-card-bd,
    #confirmPage .confirm-receipt-unified .confirm-card-bd {
        padding: 16px 18px 18px !important;
    }

#confirmPage .confirm-unified-card .confirm-receipt .confirm-card-bd,
#confirmPage .confirm-unified-card .confirm-receipt-unified .confirm-card-bd {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}


#cardExpired,
#cardEligible {
    border: none;
    box-shadow: none;
}

    #cardEligible .card-header h6 {
        font-weight: normal;
    }

#tblExpired thead th,
#tblEligible thead th {
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.15;
}

#tblExpired tbody tr,
#tblEligible tbody tr {
    height: auto;
}

    #tblEligible tbody tr[data-status="delinquent"] .invoice-amount, #rvTable tbody tr[data-status="delinquent"] .invoice-amount {
        color: var(--st-delinquent) !important;
    }

    #tblEligible tbody tr.is-selected .invoice-amount, #rvTable tbody tr.is-selected .invoice-amount {
        background: transparent !important;
        color: #0f1c2e;
    }

#cardEligible .metrics-ribbon,
#cardReview .metrics-ribbon {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

.paysingleinvoice .mini-card.payment-summary {
    background: #f5f9fd !important;
}

.invoice-header-left,
.invoice-header-right {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

#cardReview #eligibleMetrics {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    border-radius: 0;
    padding: 10px 12px 6px;
}

    #cardReview #eligibleMetrics .mr-label {
        color: #64748b;
    }

    #cardReview #eligibleMetrics .mr-value {
        font-size: 15px;
    }

    #cardReview #eligibleMetrics .mr-bar {
        border-color: #e5e7eb;
        background: #fff;
    }

    #cardReview #eligibleMetrics .mr-caption {
        color: #64748b;
    }

.input-required {
    font-size: 20px;
    position: absolute !important;
    top: -2px;
    background: #fff;
    padding-left: 5px;
    height: 10px;
    width: 18px;
}

.form-control-underline {
    border: 0;
    border-bottom: 1px solid #cfd7e3;
    border-radius: 0;
    height: 46px;
    font-size: 1rem;
    padding-left: 0;
}

    .form-control-underline:focus {
        outline: none !important;
        box-shadow: none !important;
        border-bottom: 2px solid #999;
        color: #001737;
    }

.floating-label .form-control-underline {
    width: 100%;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
    font-size: 1rem;
    padding: 12px 15px 6px;
    background: transparent;
    transition: border-color .2s,box-shadow .2s;
}

    .floating-label .form-control-underline:focus {
        border-color: var(--pp-accent);
        box-shadow: 0 0 0 3px rgba(7,121,197,.15);
    }

        .floating-label .form-control-underline:focus + label,
        .floating-label .form-control-underline:not(:placeholder-shown) + label {
            top: -7px;
            left: 26px;
            font-size: .8rem;
            color: var(--pp-accent);
            background: #fff;
            padding: 0 4px;
        }

.paysingleinvoice .form-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.btn-brand {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

    .btn-brand:hover, .btn-brand:focus {
        color: #fff;
        background: var(--brand-hover);
        border-color: var(--brand-hover);
    }

    .btn-brand:focus, .btn-brand.focus {
        box-shadow: 0 0 0 .2rem var(--brand-focus);
    }

    .btn-brand:disabled {
        color: #fff;
        background: var(--brand);
        border-color: var(--brand);
    }

    .btn-brand:not(:disabled):active,
    .btn-brand:not(:disabled).active,
    .show > .btn-brand.dropdown-toggle {
        color: #fff;
        background: var(--brand-active);
        border-color: var(--brand-active);
    }

        .btn-brand:not(:disabled):active:focus,
        .btn-brand:not(:disabled).active:focus,
        .show > .btn-brand.dropdown-toggle:focus {
            box-shadow: 0 0 0 .2rem var(--brand-focus);
        }

.btn-pay {
    color: #fff;
    background: #1b7b4a;
    border-color: #1b7b4a;
}

    .btn-pay:hover, .btn-pay:focus {
        color: #fff;
        background: #17683f;
        border-color: #17683f;
    }

    .btn-pay:focus {
        box-shadow: 0 0 0 .2rem rgba(27,123,74,.25);
    }

    .btn-pay:disabled {
        color: #fff;
        background: #9fb7ab;
        border-color: #9fb7ab;
    }

.btn-brand-light {
    border: 1px solid rgba(7,121,197,.3);
    font-size: 14px;
    background: #fff;
    color: var(--brand);
    transition: background-color .18s ease,color .18s ease,border-color .18s ease;
    position: absolute;
    bottom: 30px;
    right: 35px;
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

    .btn-brand-light:hover {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
    }

    .btn-brand-light:active {
        background: var(--brand-hover);
        border-color: var(--brand-hover);
        color: #fff;
    }

.paysingleinvoice .btn-pay {
    background: #1b7b4a;
    color: #fff !important;
    border-color: #1b7b4a;
}

    .paysingleinvoice .btn-pay:hover {
        background: #157532;
        border-color: #157532;
    }

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    background: var(--brand-hover);
    border-color: var(--brand-hover);
}

.btn-brand:focus,
.btn-brand.focus {
    box-shadow: 0 0 0 .2rem var(--brand-focus);
}

.btn-pay:hover,
.btn-pay:focus {
    color: #fff;
    background: #17683f;
    border-color: #17683f;
}

.paysingleinvoice .btn-pay svg {
    width: 18px;
    height: 18px;
}

.paysingleinvoice .pp-preview-body {
    overflow: hidden;
    max-height: 1400px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height .35s ease, opacity .25s ease, transform .35s ease;
}

.paysingleinvoice .pp-pay-right {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(10px);
    margin-top: 14px;
    transition: max-height .45s ease, opacity .3s ease, transform .45s ease;
}

.paysingleinvoice .pp-pay-right-inner {
    border: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    padding: 14px;
    height: auto;
    min-height: 520px;
    overflow: auto;
}

.paysingleinvoice.is-paying #previewBody {
    display: none !important;
}

.paysingleinvoice.is-paying .preview-layout {
    align-items: flex-start !important;
}

.paysingleinvoice.is-paying .right-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-left: 12px;
    padding-right: 12px;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    margin-left: 0;
}

.paysingleinvoice.is-paying .preview-shell,
.paysingleinvoice.is-paying #rightShell {
    width: 100% !important;
    max-width: 97.5% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    margin-left: 3px;
}

    .paysingleinvoice.is-paying #rightShell .muted {
        position: relative;
    }

.paysingleinvoice.is-paying .preview-toolbar {
    width: 100% !important;
    border-bottom: 0;
}

.paysingleinvoice.is-paying #payRight {
    width: 100% !important;
    max-width: none !important;
    margin-top: 20px !important;
    flex: 1 1 auto !important;
    max-height: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

    .paysingleinvoice.is-paying #payRight[aria-hidden="true"] {
        display: block !important;
    }

.paysingleinvoice.is-paying .pp-pay-right {
    width: 100% !important;
    max-width: none !important;
    margin-top: 10px !important;
    flex: 1 1 auto !important;
    max-height: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.paysingleinvoice.is-paying .pp-pay-right-inner {
    height: 100% !important;
    min-height: 80vh;
    margin-left: 3px;
    width: 97.5%;
    padding: 0
}

#cardEligible .table-wrap {
    overflow: visible;
    min-height: 0;
    flex: 0 0 auto;
    position: relative;
    background: #fff;
    border-bottom: 2px solid #e5e7eb !important;
}

#cardReview .table-wrap {
    flex: 0 0 auto;
    position: relative;
    background: #fff;
    border-bottom: 2px solid #e5e7eb !important;
    overflow: visible;
    min-height: 0;
}

.pp-view-link-col {
    min-width: calc(var(--pp-action-w,0px) + 12px);
}

    .pp-view-link-col a.st-pay {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: var(--pp-action-gap,0px);
        width: var(--pp-action-w,auto);
        height: var(--pp-action-h,auto);
        line-height: 0;
        font-size: var(--pp-action-fs,14px);
        border-radius: var(--pp-action-radius,8px);
        padding: 0;
        white-space: nowrap;
        box-sizing: border-box;
        text-decoration: none;
        position: relative;
        top: -4px;
    }

    .pp-view-link-col a.st-view,
    .pp-view-link-col a.st-pay {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: var(--pp-action-gap,0px);
        width: var(--pp-action-w,auto);
        height: var(--pp-action-h,auto);
        line-height: 0;
        font-size: var(--pp-action-fs,14px);
        border-radius: var(--pp-action-radius,8px);
        padding: 0;
        white-space: nowrap;
        box-sizing: border-box;
        text-decoration: none;
        position: relative;
        top: -4px;
    }

@keyframes pp-active-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 95, 160, .65), 0 2px 8px rgba(0,0,0,.20);
    }

    65% {
        box-shadow: 0 0 0 12px rgba(5, 95, 160, 0), 0 2px 8px rgba(0,0,0,.20);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(5, 95, 160, 0), 0 2px 8px rgba(0,0,0,.20);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ppSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-progress-tick.is-active {
        animation: none;
    }
}

@media (prefers-reduced-motion:reduce) {
    tr[class^="invoice-highlight-"] > td {
        animation: none;
    }
}

@media (max-width: 768px) {
    #confirmPage .confirm-card-hd {
        flex-direction: column;
        align-items: flex-start;
    }

    #confirmPage .confirm-receipt .confirm-total {
        text-align: left;
        min-width: 0;
    }

    .confirm-hero-pro {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .confirm-meta-item.center {
        justify-content: flex-start;
    }

    .confirm-right {
        justify-content: flex-start;
        text-align: left;
    }
}

@media print {
    #confirmPage .confirm-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    #confirmPage .confirm-ledger-wrap {
        overflow: visible !important;
        border: 1px solid #ccc !important;
    }

    #confirmPage .confirm-ledger {
        min-width: 0 !important;
    }
}

@media (max-width:992px) {
    .bg-page {
        padding: 3vh 3vw;
        height: auto;
    }

    .pp-box {
        height: auto;
    }

    .bg-left {
        min-height: 250px;
    }
}

@media (max-width:576px) {
    .sticky-summary .btn.btn-sm {
        width: 100%;
    }
}

@media (max-width:520px) {
    .pp-tabbar {
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .pp-tabbar::-webkit-scrollbar {
            display: none;
        }
}

@media (max-width:1399.98px) {
    .pp-box, .pp-box > .row, .bg-left, .bg-white {
        height: auto !important;
        padding-left: 20px !important;
        padding-right: 20px;
    }

    .bg-left {
        background: #fff !important;
        background-position: initial !important;
        border-right: none !important;
        border-bottom: 2px solid #e8e8e8 !important;
        box-shadow: none !important;
        text-align: left !important;
        padding: 18px 20px !important;
    }

    .pp-logo {
        width: 52px !important;
        margin-bottom: 8px !important;
    }

    .bg-left h3 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }

    .pp-left-content {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-top: 6px !important;
    }

        .pp-left-content .mg-t-70 {
            margin-top: 0 !important;
        }

    .pp-start-card {
        min-height: auto;
    }

    .pp-flow-step {
        margin-bottom: 12px;
    }

    .pp-flow-rail {
        bottom: 2px;
    }

    .pp-box,
    .pp-box > .row,
    .bg-left,
    .bg-white {
        height: auto !important;
        padding-left: 20px !important;
        padding-right: 20px;
    }
}

@media (min-width:1400px) {
    .bg-white {
        padding-left: 30px !important;
        padding-right: 20px;
    }

    .bg-left {
        background: var(--pp-left-bg) url("../img/invoice_theme.png") no-repeat center/cover !important;
        background-position: 70% calc(180px - 50px) !important;
        text-align: center !important;
        padding-top: 40px !important;
        box-shadow: 8px 0 15px -8px rgba(0,0,0,.15) !important;
        border-right: 2px solid #e8e8e8 !important;
        border-bottom: 0 !important;
        min-height: 94vh;
    }

    /*.voucher-mode .bg-left {
            background-image: url("/content/assets/img/voucher_theme.png") !important;
        }*/

    .pp-logo {
        width: 70px !important;
        margin-bottom: 10px !important;
    }

    .bg-left h3 {
        font-size: 24px !important;
    }

    .pp-left-content {
        font-size: .95rem !important;
        line-height: 1.6 !important;
    }

        .pp-left-content .mg-t-70 {
            margin-top: 70px !important;
        }
}

@media (max-width:980px) {
    #eligibleMetrics {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        row-gap: 12px !important;
        column-gap: 12px !important;
    }

        #eligibleMetrics .mr-item.mr-progress, #eligibleMetrics #mrPastDue {
            grid-column: 1 / -1 !important;
        }

        #eligibleMetrics .mr-caption {
            margin-top: 6px !important;
        }

        #eligibleMetrics .mr-item.mr-progress,
        #eligibleMetrics #mrPastDue {
            grid-column: 1 / -1 !important;
        }
}

@media (max-width:560px) {
    #eligibleMetrics {
        grid-template-columns: 1fr !important;
    }

        #eligibleMetrics .mr-label {
            white-space: normal;
        }

        #eligibleMetrics .mr-bar-wrap {
            height: auto !important;
        }
}

@media (max-width:900px) {
    .pp-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .pp-footer-right {
        white-space: normal;
        text-align: left;
        margin-top: 6px;
    }
}

@media (max-width: 575px) {
    .paysingleinvoice .ps-top {
        flex-direction: column;
        align-items: stretch;
    }

    .paysingleinvoice .ps-actions {
        justify-content: stretch;
    }

        .paysingleinvoice .ps-actions .btn {
            flex: 1 1 0;
        }
}

@media (max-width: 991px) {
    .paysingleinvoice .preview-shell {
        min-height: auto;
    }

    .paysingleinvoice .preview-viewport {
        max-height: 65vh;
    }

    .paysingleinvoice .mini-card
    .paysingleinvoice .preview-shell {
        min-height: auto;
    }
}

@media (min-width: 1400px) {
    .paysingleinvoice .right-col {
        background: #fff;
        position: relative;
        z-index: 2;
        border-left: none;
        box-shadow: none;
        padding: 0px;
        min-height: 94vh;
    }

        .paysingleinvoice .right-col .mini-card {
            margin-bottom: 14px;
            background: #f5f9fd;
        }

            .paysingleinvoice .right-col .mini-card:last-child {
                margin-bottom: 0;
            }

    .paysingleinvoice .preview-layout {
        align-items: stretch;
        min-height: 94vh;
    }

        .paysingleinvoice .preview-layout > .left-col,
        .paysingleinvoice .preview-layout > .right-col {
            display: flex;
            flex-direction: column;
            height: auto;
        }
}

@media (max-width: 1200px) {
    .pp-review-grid {
        grid-template-columns: 1fr;
    }

    .pp-mp-host {
        min-height: 720px;
        background: #f5f9fd !important;
    }
}

@media (max-width: 560px) {
    .pp-cart-table {
        table-layout: auto;
    }

    .pp-cart-td {
        white-space: normal;
    }
}

.pp-step-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    margin-left: 55px;
    margin-top: -43px;
    border-radius: 50%;
    background: var(--brand);
    display: none;
}

.pp-step-pulse {
    display: block;
}

    .pp-step-pulse::after {
        content: "";
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        border: 2px solid var(--brand);
        opacity: 0;
        animation: pp-step-pulse 1.3s ease-out infinite;
    }

.pp-progress-caption {
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #7d8aa3;
    margin-bottom: 25px;
}

.pp-progress-meta {
    line-height: 1;
}

.pp-flow-tag {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(7,121,197,.08);
    color: var(--brand);
    white-space: nowrap;
}

.pp-start-card-link {
    text-decoration: none;
}

.pp-start-chip-muted {
    background: #e5e7eb;
    color: #4b5563;
}

.pp-flow-tag-muted {
    background: #e5e7eb;
    color: #4b5563;
}

.pp-start-chip-primary-outline {
    border: 1px solid rgba(7,121,197,.35);
    color: var(--brand);
    background: #fff;
}

.pp-ribbon span {
    position: absolute;
    display: block;
    width: 190px;
    padding: 7px 0;
    background: var(--brand);
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    transform: rotate(45deg);
    top: 20px;
    right: -55px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.pp-flow-column-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 8px;
}

.pp-start-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.pp-ribbon {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 135px;
    height: 135px;
    overflow: hidden;
    pointer-events: none;
    z-index: 20;
}

.pp-start-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 17px;
    color: #4b5563;
}

.pp-start-arrow {
    font-size: 22px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    transition: transform .18s ease,color .18s ease;
}

.pp-start-arrow {
    transform: translateX(4px);
    color: var(--brand);
}

.pp-start-options {
    margin-top: 8px;
}

.pp-flow-column {
    position: relative;
    padding-top: 8px;
    padding-bottom: 4px;
}

.pp-start-chip-primary {
    background: rgba(7,121,197,.12);
    color: var(--brand);
}

.pp-start-lock {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pp-flow-compare {
    margin-top: 20px;
    padding: 16px 16px 12px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.pp-side-note {
    position: absolute;
    left: 50%;
    bottom: 45px;
    transform: translateX(-50%);
    text-align: center;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    max-width: 680px;
    padding: 0 20px;
    background: #fff;
    opacity: .85;
    margin: 0;
    width: auto;
}

.pp-arrow-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    overflow: visible;
}

.invoice-arrow-indicator {
    position: absolute;
    opacity: 0;
    transform: translate(-22px, -50%);
    transition: opacity .15s ease;
    will-change: transform, opacity;
}

.invoice-arrow-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.invoice-arrow-indicator.arrow-unpaid {
    color: var(--pp-hl-brand);
}

.invoice-arrow-indicator.arrow-delinquent {
    color: var(--st-delinquent);
}

.invoice-arrow-indicator.arrow-expired {
    color: #b02525;
}

tr.invoice-highlight-brand {
    --pulse-color: rgba(51,65,85,.18);
}

tr.invoice-highlight-expired {
    --pulse-color: rgba(176,37,37,.18);
}

tr.invoice-highlight-delinquent {
    --pulse-color: rgba(217,130,43,.18);
}

@keyframes ppRowPulse {
    0% {
        box-shadow: 0 0 0 0 var(--pulse-color, rgba(0,0,0,0));
        opacity: .9;
    }

    60% {
        box-shadow: 0 0 0 6px var(--pulse-color, rgba(0,0,0,.08));
        opacity: .6;
    }

    100% {
        box-shadow: 0 0 0 0 var(--pulse-color, rgba(0,0,0,0));
        opacity: 0;
    }
}

tr.invoice-highlight-brand::after,
tr.invoice-highlight-expired::after,
tr.invoice-highlight-delinquent::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 6px;
    outline: 2px dashed var(--pp-hl-brand);
    outline-offset: -2px;
    animation: ppRowPulse 1.05s ease-in-out 0s 3;
}

tr.invoice-highlight-expired::after {
    outline-color: var(--pp-hl-expired);
}

tr.invoice-highlight-delinquent::after {
    outline-color: var(--pp-hl-delinquent);
}

tr.invoice-highlight-brand,
tr.invoice-highlight-expired,
tr.invoice-highlight-delinquent {
    position: relative;
}

    tr.invoice-highlight-brand::after,
    tr.invoice-highlight-expired::after,
    tr.invoice-highlight-delinquent::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: 6px;
        outline: 2px dashed var(--pp-hl-brand);
        outline-offset: -2px;
        animation: ppRowPulse 1s ease-in-out 0s 3;
    }

    tr.invoice-highlight-expired::after {
        outline-color: var(--pp-hl-expired);
    }

    tr.invoice-highlight-delinquent::after {
        outline-color: var(--pp-hl-delinquent);
    }

td.pp-check-cell {
    position: relative;
    overflow: visible;
}

.pp-count-sub--pastdue {
    color: #d9822b;
}

.pp-count-sub {
    margin-left: 6px;
    font-size: .95em;
    font-weight: 600;
}

.pp-order-summary-title {
    display: none !important;
}

.pp-row-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #f28c28;
    margin-right: 6px;
    vertical-align: middle;
}

.pp-card-gap {
    margin-top: 14px;
}

.pp-checkout-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 18px;
    align-items: start;
}

.pp-checkout-grid {
    grid-template-columns: 1fr;
}

.pp-cart-dot {
    opacity: .7;
}

.pp-cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pp-payment-sub {
    margin-top: 6px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.pp-cart-meta {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.pp-checkout-right {
    position: sticky;
    top: 16px;
    align-self: start;
}

.pp-checkout-right {
    position: static;
}

.pp-cart {
    background: #fff;
    overflow: hidden;
}

.pp-cart-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.pp-cart-left {
    min-width: 0;
}

.pp-payment-title {
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0f172a;
}

.pp-cart-badge {
    position: relative;
    top: -1px;
}

.pp-payment-card {
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.pp-checkout-left {
    min-width: 0;
}

.pp-cart-row:first-child {
    border-top: none;
}

.pp-os-caption {
    margin-top: 6px;
    font-size: 12.5px;
    color: #64748b;
}

.pp-checkout-3col {
    display: grid;
    grid-template-columns: 1.4fr .7fr .9fr;
    gap: 16px;
    align-items: start;
}

.pp-cart-badge--unpaid {
    background: #e8f3ff;
    color: #0779c5;
}

.pp-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.pp-cart-head-count {
    margin-left: 8px;
    font-weight: 800;
    padding: 1px 8px;
    background: #eef5ff;
    border: 1px solid #d6e6ff;
}

.pp-col {
    min-width: 0;
}

.pp-cart-row[data-status="delinquent"] .pp-cart-badge {
    background: #fff7e6;
    color: #d9822b;
    border-color: #f2dccb;
}

.pp-voucher-desc {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 18px;
}

.pp-voucher-link-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 12px;
}

.pp-voucher-link {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: top;
}

.pp-summary-sub {
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
}

.pp-os-note #osPct {
    font-weight: 600;
}

.pp-os-note {
    font-size: 13px;
    color: #6c757d;
    margin-top: 6px;
    margin-bottom: 0;
}

:root {
    --main-line: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paying-today: #0168fa;
    --remaining: #6b7280;
    --past-due: #d9822b;
}

.balviz {
    color: var(--main-line);
    margin: auto;
    box-sizing: border-box;
    padding: 10px 120px 0 80px;
}

    .balviz .title {
        font-weight: 600;
        font-size: 15px;
        margin: 0 0 14px 0;
    }

    .balviz .scale {
        position: relative;
        height: 165px;
        --base-y: 78px;
        --tick-h: 16px;
    }

    .balviz .baseline {
        position: absolute;
        left: 0;
        right: 0;
        top: var(--base-y);
        height: 3px;
        background: var(--line);
        border-radius: 999px;
        overflow: hidden;
    }

        .balviz .baseline .paid {
            height: 100%;
            width: var(--pay-pct);
            background: var(--main-line);
        }

    .balviz .tick {
        position: absolute;
        top: calc(var(--base-y) + 1.5px - (var(--tick-h) / 2));
        width: 2px;
        height: var(--tick-h);
        background: #0f172a;
    }

        .balviz .tick.left {
            left: 0;
        }

        .balviz .tick.pay {
            left: var(--pay-pct);
            transform: translateX(-1px);
        }

        .balviz .tick.right {
            right: 0;
        }

    .balviz .end-label {
        position: absolute;
        top: calc(var(--base-y) + 1.5px);
        transform: translateY(-50%);
        font-size: 13px;
        color: var(--main-line);
        white-space: nowrap;
        font-weight: 600;
    }

        .balviz .end-label.left {
            left: 0;
            transform: translate(calc(-100% - 10px), -50%);
        }

        .balviz .end-label.right {
            right: 0;
            transform: translate(calc(100% + 10px), -50%);
            text-align: right;
            bottom: 30px;
        }

    .balviz .measure {
        position: absolute;
        left: 0;
        right: 0;
        pointer-events: none;
    }

        .balviz .measure .h {
            position: absolute;
            left: var(--start);
            width: calc(var(--end) - var(--start));
        }

        .balviz .measure .v {
            position: absolute;
            width: 0;
        }

        .balviz .measure .arrow {
            position: absolute;
            left: calc((var(--start) + var(--end)) / 2);
            transform: translateX(-50%);
            width: 0;
        }

    .balviz .label {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 13px;
        white-space: nowrap;
        text-align: center;
        font-weight: 600;
    }

        .balviz .label strong {
            font-weight: 600;
        }

    .balviz .measure.top {
        top: 45px;
        --cap: 18px;
    }

        .balviz .measure.top .h {
            top: 0;
            border-top: 1px dashed var(--paying-today);
        }

        .balviz .measure.top .v {
            top: 0;
            height: var(--cap);
            border-left: 1px dashed var(--paying-today);
        }

            .balviz .measure.top .v.start {
                left: var(--start);
            }

            .balviz .measure.top .v.end {
                left: var(--end);
            }

        .balviz .measure.top .arrow {
            top: 0;
        }

            .balviz .measure.top .arrow .head {
                position: absolute;
                top: -8px;
                left: -6px;
                width: 0;
                height: 0;
                border-left: 6px solid transparent;
                border-right: 6px solid transparent;
                border-top: 8px solid var(--remaining);
            }

            .balviz .measure.top .arrow .stem {
                position: absolute;
                top: -13px;
                left: -1px;
                width: 2px;
                height: 5px;
                background: var(--remaining);
            }

        .balviz .measure.top .label {
            top: -50px;
            color: var(--paying-today);
        }

    .balviz .measure.bottom {
        bottom: 55px;
        --cap: 18px;
    }

        .balviz .measure.bottom .h {
            bottom: 0;
            border-top: 1px dashed var(--remaining);
        }

        .balviz .measure.bottom .v {
            bottom: 0;
            height: var(--cap);
            border-left: 1px dashed var(--remaining);
        }

            .balviz .measure.bottom .v.start {
                left: var(--start);
            }

            .balviz .measure.bottom .v.end {
                left: var(--end);
            }

        .balviz .measure.bottom .arrow {
            bottom: 0;
        }

            .balviz .measure.bottom .arrow .head {
                position: absolute;
                bottom: -8px;
                left: -6px;
                width: 0;
                height: 0;
                border-left: 6px solid transparent;
                border-right: 6px solid transparent;
                border-bottom: 8px solid var(--remaining);
            }

            .balviz .measure.bottom .arrow .stem {
                position: absolute;
                bottom: -13px;
                left: -1px;
                width: 2px;
                height: 5px;
                background: var(--remaining);
            }

        .balviz .measure.bottom .label {
            top: 10px;
            color: var(--remaining);
        }

    .balviz[data-remaining="0"] .measure.bottom {
        display: none;
    }

    .balviz .label .sub {
        display: block;
        margin-top: 2px;
        font-weight: 600;
        font-size: 12px;
    }

        .balviz .label .sub.pastdue {
            color: var(--past-due);
        }

    .balviz .pastdue {
        color: var(--past-due);
        font-weight: normal !important;
        margin-left: 4px;
    }

.paying {
    color: var(--paying-today);
    font-weight: 600;
}

.pastdue {
    color: var(--past-due);
    font-weight: 600;
    font-size: 13px;
    margin-top: 2px;
}

.end-label.right {
    text-align: center;
}

.total-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 2px;
}

.total-amount {
    display: block;
    font-weight: 600;
    color: var(--main-line);
    font-size: 13px;
}



.pp-modal-shell {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.pp-modal-header {
    position: relative;
    border-bottom: 1px solid #edf2f7;
    padding: 14px 20px;
    background: #fff;
}

.pp-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
}

.pp-modal-body {
    background: #fff;
    padding: 18px 20px 12px;
}

.pp-modal-footer {
    border-top: none;
    background: #fff;
    padding: 12px 20px 16px;
}

#formAddVoucherModal .form-label {
    margin-bottom: 6px;
}

#formAddVoucherModal .form-control-underline {
    padding-top: 6px;
    padding-bottom: 0;
}

#formAddVoucherModal .row.g-3 {
    --bs-gutter-y: 8px;
}

.pp-modal-note {
    color: #1f2937;
}

    .pp-modal-note .list-dots li::marker {
        color: #0779C5;
    }

    .pp-modal-note li {
        margin-bottom: 4px;
    }

.pp-modal-validation {
    background: #fff5f5;
    border: 1px solid #f5c2c7;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.pp-modal-validation-line {
    color: #dc3545;
    font-size: 13px;
    line-height: 1.5;
}

    .pp-modal-validation-line + .pp-modal-validation-line {
        margin-top: 3px;
    }

.voucher-remove-btn {
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
    color: #dc3545;
    cursor: pointer;
}

    .voucher-remove-btn svg {
        opacity: 1;
        transition: .15s ease-in-out;
        transform: translateY(-2px);
    }

    .voucher-remove-btn:hover svg {
        opacity: 1;
        transform: translateY(-4px) scale(1.08);
    }

    .voucher-remove-btn:focus {
        outline: none;
        box-shadow: none;
    }

.voucher-remove-col {
    width: 44px;
}

.voucher-summary-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.voucher-summary-check {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(16,185,129,.10);
    color: #15803d;
    border: 1px solid rgba(21,128,61,.18);
    flex-shrink: 0;
}

.voucher-summary-selected {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.voucher-summary-selected-count {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.voucher-summary-selected-text {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    position: relative;
    top: -2px;
    text-transform: uppercase;
}

.voucher-summary-divider {
    width: 1px;
    height: 38px;
    background: #dbe4ee;
}

.voucher-summary-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.05;
    min-width: 120px;
}

.voucher-summary-total-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 3px;
}

.voucher-summary-total-amount {
    font-size: 18px;
    font-weight: 800;
    color: #0168fa;
    line-height: 1;
}

    .voucher-summary-total-amount.bump,
    .voucher-summary-selected-count.bump {
        animation: totalBump .25s ease;
    }

@keyframes totalBump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

#tblEligible tbody tr {
    cursor: pointer;
}

    #tblEligible tbody tr:hover {
        background: #f8fafc;
    }

.voucher-summary-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 auto;
}

.voucher-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 10px 18px 5px;
    border: 1px solid #d7e2ee;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border-radius: 8px 8px 0 0;
    position: relative;
    top: 10px;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
}

.voucher-summary-total-amount.is-zero {
    color: #dc3545;
    opacity: .7;
}

.voucher-summary-left.is-zero {
    opacity: .55;
}

    .voucher-summary-left.is-zero .voucher-summary-check {
        background: #e9ecef;
        border-color: #dee2e6;
    }

        .voucher-summary-left.is-zero .voucher-summary-check svg {
            stroke: #adb5bd;
        }

    .voucher-summary-left.is-zero .voucher-summary-selected-count {
        color: #6c757d;
    }

.voucher-summary-total.is-zero .voucher-summary-total-label {
    color: #6c757d;
    opacity: .7;
}

.voucher-summary-total.is-zero {
    opacity: .75;
}

.voucher-summary-total-amount.is-zero {
    color: #dc3545;
    opacity: 1;
}

#btnProceed.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.invoice-note-wrap {
    position: relative;
}

.invoice-note-badge {
    position: absolute;
    top: -26px;
    right: 15px;
    z-index: 3;
    background: #eef5ff;
    color: #1d4f91;
    border: 1px solid #cfe0f7;
    border-bottom: 0;
    padding: 5px 12px 6px;
    font-size: 12px;
    line-height: 1;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    white-space: nowrap;
}

.invoice-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    background: #fff;
    cursor: pointer;
    pointer-events: auto;
    vertical-align: middle;
}

.pp-turnstile-shell {
    width: 302px;
    height: 67px;
    margin-bottom: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    background: #f8f8f8;
}

    .pp-turnstile-shell.is-loading {
    }

    .pp-turnstile-shell.is-ready {
        border: none;
    }

    .pp-turnstile-shell .cf-turnstile {
        display: block;
        width: 300px;
    }

.pp-lookup-rules {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pp-lookup-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #6c757d;
    transition: color 0.2s ease, transform 0.2s ease;
}

.pp-lookup-rule-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    font-size: 14px;
    line-height: 1;
    color: #adb5bd;
}

.pp-lookup-rule.is-valid {
    color: #198754;
}

    .pp-lookup-rule.is-valid .pp-lookup-rule-icon {
        color: #198754;
        font-weight: 700;
    }

        .pp-lookup-rule.is-valid .pp-lookup-rule-icon::before {
            content: "✓";
        }

    .pp-lookup-rule.is-valid .pp-lookup-rule-icon {
        font-size: 14px;
    }

.pp-lookup-rule:not(.is-valid) .pp-lookup-rule-icon::before {
    content: "•";
}


.pp-review-grid {
    align-items: stretch;
}

.pp-review-left.pp-review-left-voucher {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    min-height: 0;
}

.pp-voucher-list-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 572px;
}

.pp-voucher-list-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

    .pp-voucher-list-body #rvCart {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .pp-voucher-list-body .pp-cart-table {
        margin-bottom: 0;
    }

    .pp-voucher-list-body .pp-empty {
        margin-top: auto;
    }


.paysinglevoucher .preview-layout {
    margin-left: -8px;
    margin-right: -20px;
    margin-top: 0;
    margin-bottom: 10px;
}

    .paysinglevoucher .preview-layout > [class*="col-"] {
        padding-left: 0px;
        padding-right: 0px;
    }

.paysinglevoucher .preview-shell {
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 340px);
    margin-top: 20px;
    margin-bottom: 5px;
    margin-right: 25px;
    margin-left: 15px;
}

.paysinglevoucher .preview-toolbar {
    padding: 8px 12px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #e5e7eb;
}

    .paysinglevoucher .preview-toolbar .preview-title span {
        font-weight: 600;
        color: #0f172a;
        font-size: 16px;
    }

.paysinglevoucher .preview-viewport {
    position: relative;
    flex: 1 1 auto;
    min-height: 95vh !important;
    background: #fafafa;
    padding: 10px;
    overflow: auto;
}

.paysinglevoucher #pdfImg {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
}

.paysinglevoucher #pdfLoader.invoice-loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.85);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

    .paysinglevoucher #pdfLoader.invoice-loader.is-visible {
        display: flex;
    }

.paysinglevoucher #pdfLoader .spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #ddd;
    border-top-color: #0779c5;
    border-radius: 50%;
    animation: spin .9s linear infinite;
}

.paysinglevoucher #pdfLoader .loader-text {
    font-size: 14px;
    color: #444;
}

.paysinglevoucher .mini-card {
    border: 1px solid #e6e6e6;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    margin-top: 15px !important;
}

.paysinglevoucher .mini-card-hd {
    padding: 10px 12px;
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #64748b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.paysinglevoucher .mini-card-bd {
    padding: 12px;
}

.paysinglevoucher .facility-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.paysinglevoucher .facility-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 5px;
}

    .paysinglevoucher .facility-field:not(:last-child) {
        border-bottom: 1px dashed #e5e7eb;
    }

.paysinglevoucher .facility-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    color: #6b7280;
}

.paysinglevoucher .facility-value {
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}

.paysinglevoucher .facility-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    letter-spacing: .02em;
}

.paysinglevoucher .facility-address {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.paysinglevoucher .kv {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0 5px 0;
    border-bottom: 1px dashed #eee;
}

    .paysinglevoucher .kv:first-child {
        padding-top: 0;
    }

    .paysinglevoucher .kv:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.paysinglevoucher .k {
    color: #64748b;
    text-align: left;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.paysinglevoucher .v {
    text-align: right;
    font-size: 14px;
}

.paysinglevoucher .ps-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.paysinglevoucher .ps-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

    .paysinglevoucher .ps-actions .btn svg {
        position: relative;
        top: -1px;
    }

.paysinglevoucher .amount {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 2px;
}

.paysinglevoucher .ps-amount .form-label {
    display: block;
    margin-bottom: 4px;
}

.paysinglevoucher .payment-note {
    padding: 14px 16px 0 0;
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.paysinglevoucher .payment-note__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    margin-left: -6px;
}

.paysinglevoucher .payment-note__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}

    .paysinglevoucher .payment-note__icon svg {
        display: block;
        fill: currentColor;
    }

.paysinglevoucher .payment-note__title {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    position: relative;
    left: -5px;
}

.paysinglevoucher .payment-note__logo {
    height: 18px;
    width: auto;
    display: inline-block;
    margin-left: -10px;
    margin-top: 1px;
}

.paysinglevoucher .payment-note__text {
    margin: 0;
    color: #888;
    text-align: justify;
    font-size: 13px;
}

.paysinglevoucher .mini-card.payment-summary {
    margin-top: 20px !important;
    background: #f5f9fd !important;
}

.paysinglevoucher .form-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: inline-block;
    margin-bottom: 0;
}

.paysinglevoucher .pp-preview-body {
    display: block;
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto;
    background: #fafafa;
}

.paysinglevoucher .pp-pay-right {
    display: none;
    min-height: calc(100vh - 340px);
    background: #fff;
}

.paysinglevoucher .pp-pay-right-inner {
    display: flex;
    flex-direction: column;
    min-height: inherit;
}

.paysinglevoucher.is-paying #previewBody {
    display: none !important;
}

.paysinglevoucher.is-paying .preview-layout {
    display: flex;
    align-items: stretch;
}

.paysinglevoucher.is-paying .right-col {
    display: flex;
    flex-direction: column;
}

.paysinglevoucher.is-paying .preview-shell,
.paysinglevoucher.is-paying #rightShell {
    display: none !important;
}

    .paysinglevoucher.is-paying #rightShell .muted {
        display: none !important;
    }

.paysinglevoucher.is-paying .preview-toolbar {
    display: none !important;
}

.paysinglevoucher.is-paying #payRight {
    display: block !important;
    flex: 1 1 auto;
    min-height: calc(100vh - 340px);
}

    .paysinglevoucher.is-paying #payRight[aria-hidden="true"] {
        display: block !important;
    }

.paysinglevoucher.is-paying .pp-pay-right {
    display: block !important;
    flex: 1 1 auto;
    min-height: calc(100vh - 340px);
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    margin: 20px 25px 5px 15px;
}

.paysinglevoucher.is-paying .pp-pay-right-inner {
    display: flex;
    flex-direction: column;
    min-height: inherit;
}

@media (max-width: 575px) {
    .paysinglevoucher .ps-top {
        flex-direction: column;
        align-items: stretch;
    }

    .paysinglevoucher .ps-actions {
        justify-content: stretch;
    }

        .paysinglevoucher .ps-actions .btn {
            flex: 1 1 0;
        }
}

@media (max-width: 991px) {
    .paysinglevoucher .preview-shell {
        min-height: auto;
    }

    .paysinglevoucher .preview-viewport {
        max-height: 65vh;
    }

    .paysinglevoucher .mini-card,
    .paysinglevoucher .preview-shell {
        min-height: auto;
    }
}

@media (min-width: 1400px) {
    .paysinglevoucher .right-col {
        background: #fff;
        position: relative;
        z-index: 2;
        border-left: none;
        box-shadow: none;
        padding: 0px;
        min-height: 94vh;
    }

        .paysinglevoucher .right-col .mini-card {
            margin-bottom: 14px;
            background: #f5f9fd;
        }

            .paysinglevoucher .right-col .mini-card:last-child {
                margin-bottom: 0;
            }

    .paysinglevoucher .preview-layout {
        align-items: stretch;
        min-height: 94vh;
    }

        .paysinglevoucher .preview-layout > .left-col,
        .paysinglevoucher .preview-layout > .right-col {
            display: flex;
            flex-direction: column;
            height: auto;
        }
}

@keyframes pp-redirecting-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pp-redirecting-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.45);
}

    .pp-redirecting-overlay.is-visible {
        display: flex;
    }

.pp-redirecting-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.24);
    padding: 24px 24px 22px;
    text-align: center;
}

.pp-redirecting-spinner {
    width: 35px;
    height: 35px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 4px solid #dbeafe;
    border-top-color: #2563eb;
    animation: pp-redirecting-spin .8s linear infinite;
}

.pp-redirecting-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.pp-redirecting-message {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #334155;
}

.has-maf-finish-panel {
    padding-bottom: 0;
}

    .has-maf-finish-panel .card-body {
        flex: none;
    }

#confirmPage {
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 90px);
}

    #confirmPage .card-body {
        flex: none;
    }

.maf-finish-panel {
    position: sticky;
    bottom: 0;
    z-index: 30;
    margin: 6px 16px 10px;
    border: 1px solid #efc15f;
    border-top: 5px solid #e49d05;
    border-radius: 0;
    background: #fffdf8;
}

.maf-finish-panel__inner {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 0px 16px;
}

.maf-countdown-chip {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid #efc15f;
    border-radius: 999px;
    background: #fffaf0;
    font-weight: 700;
    line-height: 1;
}

.maf-countdown-chip__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #9a6500;
}

.maf-countdown-chip__time {
    font-size: 18px;
    font-weight: 800;
    color: #b16f00;
    min-width: 52px;
    text-align: center;
}

.maf-finish-panel__message {
    justify-self: center;
    width: 100%;
    max-width: 760px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    text-align: left;
}

.maf-finish-panel__message-copy {
    min-width: 0;
    text-align: center;
}

.maf-finish-panel__title {
    font-size: 15px;
    font-weight: 800;
    color: #7a4a00;
    line-height: 1.2;
    margin: 0;
}

.maf-finish-panel__subtext {
    font-size: 12px;
    font-weight: 500;
    color: #946018;
    line-height: 1.35;
    margin-top: 3px;
}

.maf-finish-panel__actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.maf-print-btn,
.maf-finish-btn {
    height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: none;
}

.maf-print-btn {
    background: #ffffff;
    border: 1px solid #efc15f;
    color: #8c5600;
}

    .maf-print-btn:hover,
    .maf-print-btn:focus {
        background: #fff8eb;
        border-color: #e49d05;
        color: #6f4300;
    }

.maf-finish-btn {
    background: linear-gradient(180deg, #efb343 0%, #e49d05 100%);
    border: 1px solid #d99100;
    color: #ffffff;
}

    .maf-finish-btn:hover,
    .maf-finish-btn:focus {
        background: linear-gradient(180deg, #e7a72b 0%, #cf8900 100%);
        border-color: #c98300;
        color: #ffffff;
    }

    .maf-print-btn svg,
    .maf-finish-btn svg {
        flex: 0 0 auto;
    }

.maf-finish-panel.is-warning .maf-countdown-chip {
    border-color: #e49d05;
}

.maf-finish-panel.is-warning .maf-countdown-chip__time {
    color: #9c5d00;
}

.maf-finish-panel.is-expired .maf-countdown-chip__time {
    color: #b91c1c;
}

#mafCountdown.is-warning {
    color: #991b1b;
}

#mafCountdown.is-expired {
    color: #991b1b;
}

@media (max-width: 991.98px) {
    .maf-finish-panel__inner {
        grid-template-columns: 1fr;
        gap: 10px;
        justify-items: center;
        text-align: center;
        padding: 12px 14px;
    }

    .maf-countdown-chip {
        justify-self: center;
    }

    .maf-finish-panel__message {
        justify-self: center;
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .maf-finish-panel__title {
        font-size: 14px;
    }

    .maf-finish-panel__subtext {
        font-size: 11px;
    }

    .maf-finish-panel__actions {
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .maf-finish-panel {
        margin: 6px 8px 8px;
    }

    .maf-countdown-chip {
        padding: 7px 12px;
    }

    .maf-countdown-chip__label {
        font-size: 11px;
    }

    .maf-countdown-chip__time {
        font-size: 17px;
    }

    .maf-print-btn,
    .maf-finish-btn {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }
}

@media print {
    .maf-finish-panel {
        display: none !important;
    }

    #btnPrint,
    #mafPrintButton {
        display: none !important;
    }
}

.invoice-balance-star {
    display: inline-block;
    max-width: 8px;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    margin-left: 4px;
    color: transparent;
    position: relative;
    top: 3px;
    font-weight: normal;
}

    .invoice-balance-star::after {
        content: "*";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: #b02525 !important;
        line-height: 1;
        font-size: 20px;
    }


.pp-return-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

    .pp-return-modal.is-visible {
        display: block;
    }

.pp-return-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.pp-return-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
    text-align: center;
}

.pp-return-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
}

.pp-return-modal__text {
    font-size: 14px;
    color: #4b5563;
    margin-top: 8px;
}

.pp-return-modal__spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border: 4px solid #d1d5db;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: pp-return-spin 0.8s linear infinite;
}

@keyframes pp-return-spin {
    to {
        transform: rotate(360deg);
    }
}

body.pp-return-modal-open {
    overflow: hidden;
}


.pp-pay-sublist {
    margin-top: 6px;
    padding-left: 18px;
}

    .pp-pay-sublist li {
        list-style-type: circle; /* hollow bullet */
        font-size: 13px;
        color: #6b7280;
    }