:root {
    --brand: #24249b;
    --brand-dark: #17176f;
    --red: #ef233c;
    --green: #13a538;
    --yellow: #f7c600;
    --blue: #1f7ae0;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
}

/* Payment page pixel pass: 1100px header, 650px + 430px cards */
.pay-compact {
    width: 1100px;
    max-width: calc(100vw - 48px);
    margin: 0 auto;
}

.pay-topbar {
    width: 1100px;
    max-width: 100%;
    min-height: 96px;
    display: grid;
    grid-template-columns: 192px minmax(0, 1fr) 154px;
    align-items: center;
    gap: 24px;
    padding: 12px 10px 12px 18px;
    border: 1px solid #dbe4f2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(39, 54, 104, 0.12);
}

.pay-brand-lockup {
    height: 70px;
    border-right: 1px solid #dbe4f2;
}

.pay-brand-lockup img {
    width: 168px;
}

.pay-secure-title {
    gap: 16px;
}

.pay-secure-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f5ff;
    color: #1154ff;
    font-size: 0;
    box-shadow: none;
}

.pay-secure-icon::before {
    content: "";
    width: 28px;
    height: 28px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' d='M12 3l7 3v5c0 4.4-2.8 8.4-7 10-4.2-1.6-7-5.6-7-10V6l7-3z'/%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M8.8 12.1l2.1 2.1 4.5-4.7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' d='M12 3l7 3v5c0 4.4-2.8 8.4-7 10-4.2-1.6-7-5.6-7-10V6l7-3z'/%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M8.8 12.1l2.1 2.1 4.5-4.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pay-secure-title strong {
    font-size: 18px;
    line-height: 1.1;
    color: #07123b;
}

.pay-secure-title span:last-child {
    margin-top: 6px;
    font-size: 15px;
    color: #3f4e76;
}

.pay-amount {
    width: 154px;
    min-width: 154px;
    min-height: 68px;
    display: grid;
    align-content: center;
    border-radius: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #2722c9, #1768ff);
    box-shadow: 0 15px 30px rgba(36, 36, 155, 0.24);
}

.pay-amount span {
    font-size: 12px;
}

.pay-amount strong {
    margin-top: 2px;
    font-size: 29px;
}

.pay-unified {
    width: 1100px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 650px 430px;
    gap: 20px;
    margin-top: 18px;
    align-items: stretch;
}

.pay-card {
    border: 1px solid #dbe4f2;
    border-radius: 22px;
    background: #fff;
    box-shadow: none;
}

.pay-details-card {
    width: 650px;
    min-width: 0;
    padding: 34px 30px 14px;
    overflow: hidden;
}

.pay-submit-card {
    width: 430px;
    min-width: 0;
    padding: 34px 32px;
    box-shadow: 0 18px 48px rgba(39, 54, 104, 0.12);
}

.pay-card-head {
    min-height: 96px;
}

.pay-card-head h1,
.pay-submit-card h2 {
    font-size: 32px;
    line-height: 1.1;
    color: #07123b;
}

.pay-card-head h1::after,
.pay-submit-card h2::after {
    width: 34px;
    height: 3px;
    margin-top: 14px;
    background: #1154ff;
}

.pay-card-head p,
.pay-submit-card p {
    margin-top: 14px;
    font-size: 16px;
    color: #394a78;
}

.pay-hero-art {
    width: 230px;
    height: 142px;
    top: 0;
    right: 0;
}

.pay-customer-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 38px rgba(39, 54, 104, 0.08);
}

.pay-customer-summary div {
    min-height: 84px;
    padding: 20px 18px 18px 70px;
}

.pay-customer-summary i {
    left: 20px;
    width: 42px;
    height: 42px;
}

.pay-customer-summary i img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.pay-customer-summary span:not(.pay-info-icon) {
    font-size: 13px;
    color: #07123b;
}

.pay-customer-summary strong {
    margin-top: 5px;
    font-size: 16px;
    color: #07123b;
}

.pay-method-panel {
    margin-top: 10px;
}

.pay-instruction-box {
    grid-template-columns: 112px minmax(0, 1fr) 230px;
    gap: 24px;
    min-height: 250px;
    border-radius: 14px;
}

.pay-phone-art {
    width: 92px;
    height: 172px;
    margin-left: 20px;
}

.pay-instruction-copy {
    padding: 50px 0 30px;
}

.pay-instruction-copy h3 {
    max-width: 150px;
    font-size: 24px;
    line-height: 1.35;
}

.pay-title-line {
    width: 34px;
    height: 3px;
    margin: 16px 0 24px;
}

.pay-app-row {
    gap: 12px;
}

.pay-app-row span {
    font-size: 13px;
}

.pay-app-row span:nth-child(3) {
    width: 22px;
    height: 22px;
    font-size: 10px;
}

.pay-qr-frame {
    margin-right: 28px;
    padding: 16px;
    border-radius: 16px;
}

.pay-qr-frame img {
    width: 170px;
    height: 170px;
}

.pay-upi-strip {
    min-height: 74px;
    padding: 14px 22px 14px 92px;
}

.pay-upi-strip::before {
    left: 22px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.pay-upi-strip span {
    font-size: 12px;
}

.pay-upi-strip strong {
    font-size: 18px;
}

.copy-upi-btn {
    min-height: 40px;
    border-radius: 9px;
    padding: 0 18px;
    font-size: 15px;
}

.pay-details-card::after {
    margin-top: 10px;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
}

.pay-form {
    gap: 22px;
    margin-top: 28px;
}

.pay-form > label > span {
    font-size: 15px;
}

.pay-input-wrap {
    grid-template-columns: 58px minmax(0, 1fr);
    margin-top: 10px;
    border-radius: 14px;
}

.pay-input-wrap input {
    min-height: 58px;
    font-size: 16px;
}

.pay-input-wrap b {
    font-size: 24px;
}

.utr-state {
    margin-top: 14px;
    font-size: 16px;
}

.pay-upload-drop {
    min-height: 106px;
    grid-template-columns: 58px minmax(0, 1fr) 92px;
    padding: 20px 22px;
    border-radius: 16px;
}

.pay-upload-drop > strong {
    width: 48px;
    height: 48px;
    color: #1154ff;
    font-size: 0;
}

.pay-upload-drop > strong::before {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M16 16l-4-4-4 4M12 12v9M20 16.5a4.5 4.5 0 0 0-3.8-7.2A6 6 0 0 0 4.5 11.5 4.2 4.2 0 0 0 5 20h2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M16 16l-4-4-4 4M12 12v9M20 16.5a4.5 4.5 0 0 0-3.8-7.2A6 6 0 0 0 4.5 11.5 4.2 4.2 0 0 0 5 20h2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pay-upload-drop div,
.pay-upload-drop b {
    font-size: 16px;
}

.pay-upload-drop small {
    font-size: 13px;
}

.pay-upload-drop button {
    min-height: 48px;
    border-radius: 12px;
    font-size: 16px;
}

.pay-terms {
    gap: 14px;
}

.pay-terms input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
}

.pay-terms span {
    font-size: 15px;
}

.pay-form button#submitPaymentButton,
.pay-provider-status button {
    min-height: 64px;
    border-radius: 13px;
    font-size: 22px;
}

.pay-secure-note {
    font-size: 14px;
}

.pay-trust-strip {
    width: 1100px;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 14px;
    border: 1px solid #e4ebf6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(39, 54, 104, 0.08);
}

.pay-trust-strip div {
    position: relative;
    min-height: 78px;
    padding: 18px 18px 16px 78px;
    border-right: 1px solid #dfe7f5;
}

.pay-trust-strip div:last-child {
    border-right: 0;
}

.pay-trust-strip span {
    position: absolute;
    left: 28px;
    top: 20px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5ff;
    color: #1154ff;
    font-size: 11px;
    font-weight: 900;
}

.pay-trust-strip strong,
.pay-trust-strip small {
    display: block;
}

.pay-trust-strip strong {
    color: #07123b;
    font-size: 15px;
}

.pay-trust-strip small {
    margin-top: 4px;
    color: #3f4e76;
    font-size: 14px;
}

@media (max-width: 1180px) {
    .pay-compact,
    .pay-topbar,
    .pay-unified,
    .pay-trust-strip {
        width: 100%;
    }

    .pay-unified {
        grid-template-columns: minmax(0, 1fr);
    }

    .pay-details-card,
    .pay-submit-card {
        width: 100%;
    }
}

* {
    box-sizing: border-box;
}
.glass {
    background:#fff;
    border:1px solid #e2e8f0;
    box-shadow: 0 18px 50px rgba(0,0,0,.26);
}

.soft {
    background:#fff;
    border:1px solid #e2e8f0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

nav {
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(10px);
}

.app-nav {
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-brand img {
    width: 9.5rem;
    height: auto;
}

.app-brand span {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.app-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.app-nav-links a {
    padding: 0.5rem 0.72rem;
    font-size: 0.86rem;
}

.app-user {
    margin-left: 0.35rem;
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    background: var(--slate-100);
    color: var(--slate-700);
    font-size: 0.78rem;
    font-weight: 800;
}

nav > div,
main {
    width: min(100% - 2rem, 80rem);
    margin-inline: auto;
}

nav > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

main {
    padding-block: 2rem;
}

nav a,
nav button {
    border-radius: 999px;
    font-weight: 700;
}

nav a {
    padding: 0.55rem 0.75rem;
    color: var(--slate-700);
}

nav a:hover {
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
}

form {
    margin: 0;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--slate-300);
    border-radius: 0.45rem;
    padding: 0.65rem 0.75rem;
    font: inherit;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(36, 36, 155, 0.14);
}

button,
.btn {
    cursor: pointer;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.65rem 1rem;
    font: inherit;
    font-weight: 800;
    color: #fff;
    background: var(--brand);
}

button:hover,
.btn:hover {
    background: var(--brand-dark);
}

table {
    width: 100%;
    border-collapse: collapse;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.page-subtitle {
    margin: 0.35rem 0 0;
    color: var(--slate-500);
    font-size: 0.92rem;
}

.panel {
    border: 1px solid var(--slate-200);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.10);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--slate-100);
}

.panel-title {
    font-weight: 800;
    color: var(--slate-900);
}

.panel-body {
    padding: 1.25rem;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    gap: 0.85rem;
}

.form-grid label {
    display: block;
}

.form-grid label span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--slate-600);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--slate-200);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.10);
}

.data-table th,
.data-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: #f8fbff;
}

.data-table input,
.data-table select {
    min-width: 8rem;
    min-height: 2.2rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.45rem 0.6rem;
    font-size: 0.84rem;
}

.data-table .check-row {
    min-height: 2.2rem;
}

.route-table th,
.route-table td,
.staff-bank-table th,
.staff-bank-table td {
    white-space: normal;
}

.route-table th:first-child,
.route-table td:first-child {
    width: 5rem;
}

.route-table th:nth-child(3),
.route-table td:nth-child(3) {
    width: 5.5rem;
}

.route-table th:nth-child(4),
.route-table td:nth-child(4) {
    width: 5rem;
    text-align: center;
}

.route-table th:nth-child(5),
.route-table td:nth-child(5) {
    width: 5rem;
    text-align: right;
}

.route-table td:nth-child(2),
.staff-bank-table td:nth-child(2) {
    min-width: 10rem;
    max-width: 16rem;
    line-height: 1.35;
}

.row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.action-danger {
    background: rgba(239, 35, 60, 0.09);
    color: var(--red);
}

.danger-link {
    background: rgba(239, 35, 60, 0.09);
    color: var(--red);
}

.action-success {
    background: rgba(19, 165, 56, 0.10);
    color: var(--green);
}

.money {
    font-weight: 800;
    color: var(--slate-900);
}

.muted {
    color: var(--slate-500);
}

.stack-sm > * + * {
    margin-top: 0.75rem;
}

.section-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .section-grid.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

th {
    background: var(--slate-50);
    color: var(--slate-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

th,
td {
    padding: 0.75rem;
    text-align: left;
    border-top: 1px solid var(--slate-100);
}

h1,
h2 {
    margin: 0;
    color: #020617;
}

p {
    color: var(--slate-500);
}

.shadow-soft,
.bg-white {
    background: #fff;
}

.shadow-soft {
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.10);
}

.rounded-lg,
.rounded {
    border-radius: 0.5rem;
}

.border {
    border: 1px solid var(--slate-200);
}

.text-brand {
    color: var(--brand);
}

.bg-brand {
    background: var(--brand);
}

.bg-accentRed {
    background: var(--red);
}

.bg-accentBlue {
    background: var(--blue);
}

.bg-accentGreen {
    background: var(--green);
}

.bg-accentYellow {
    background: var(--yellow);
}

.text-accentRed {
    color: var(--red);
}

.text-accentGreen {
    color: var(--green);
}

.grid {
    display: grid;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-3 {
    margin-top: 0.75rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-5 {
    margin-top: 1.25rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.mt-8 {
    margin-top: 2rem;
}
.mt-10 {
    margin-top: 2.5rem;
}
.mx-auto {
    margin-inline: auto;
}

.p-3 {
    padding: 0.75rem;
}
.p-4 {
    padding: 1rem;
}
.p-5 {
    padding: 1.25rem;
}
.p-6 {
    padding: 1.5rem;
}
.p-7 {
    padding: 1.75rem;
}
.p-8 {
    padding: 2rem;
}

.text-xs {
    font-size: 0.75rem;
}
.text-sm {
    font-size: 0.875rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.text-2xl {
    font-size: 1.5rem;
}
.text-3xl {
    font-size: 1.875rem;
}
.text-4xl {
    font-size: 2.25rem;
}

.font-medium {
    font-weight: 600;
}
.font-semibold {
    font-weight: 700;
}
.font-bold {
    font-weight: 800;
}
.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.overflow-x-auto {
    overflow-x: auto;
}

.break-all {
    word-break: break-all;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-md {
    max-width: 28rem;
}
.max-w-xl {
    max-width: 36rem;
}
.max-w-3xl {
    max-width: 48rem;
}
.max-w-5xl {
    max-width: 64rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .md\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .md\:grid-cols-7 {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .md\:col-span-3 {
        grid-column: span 3 / span 3;
    }
    .md\:col-span-4 {
        grid-column: span 4 / span 4;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    nav > div {
        align-items: flex-start;
        flex-direction: column;
    }

    nav > div > div {
        flex-wrap: wrap;
    }
}
/*
.auth-shell {
    width: min(100%, 70rem);
    min-height: calc(100vh - 4rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(28, 35, 90, 0.16);
}

.auth-shell-compact {
    width: min(100%, 31rem);
    min-height: auto;
    grid-template-columns: 1fr;
}

.auth-panel {
    padding: clamp(2rem, 4vw, 4rem);
}

.auth-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(36, 36, 155, 0.96), rgba(23, 23, 111, 0.96)),
        radial-gradient(circle at 15% 15%, rgba(247, 198, 0, 0.3), transparent 18rem);
}

.auth-logo {
    width: 13rem;
    padding: 0.8rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.auth-logo-small {
    width: 12rem;
    margin-bottom: 2rem;
}

.auth-kicker,
.auth-badge {
    display: inline-flex;
    margin-top: 2rem;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}

.auth-badge {
    margin-top: 0;
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
}

.auth-brand-panel h1,
.auth-form-header h2 {
    margin-top: 1.2rem;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.auth-brand-panel h1 {
    max-width: 34rem;
    color: #fff;
    font-size: clamp(2.2rem, 4.3vw, 4.25rem);
}

.auth-brand-panel p {
    max-width: 31rem;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.02rem;
    line-height: 1.75;
}

.auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.auth-form-header p {
    margin-top: 0.8rem;
    line-height: 1.65;
}

.auth-form {
    margin-top: 2rem;
    display: grid;
    gap: 1.1rem;
}

.auth-form label span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--slate-700);
    font-size: 0.86rem;
    font-weight: 800;
}

.auth-form input {
    min-height: 3.2rem;
    border-radius: 0.75rem;
    border-color: #d8e1ee;
    background: #fbfdff;
    font-weight: 600;
}

.auth-form button {
    min-height: 3.2rem;
    margin-top: 0.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 14px 30px rgba(36, 36, 155, 0.22);
}

.auth-alert {
    margin-top: 1.25rem;
    border: 1px solid rgba(239, 35, 60, 0.16);
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
    background: rgba(239, 35, 60, 0.06);
    color: #b51228;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-top: 3rem;
}

.auth-metrics div {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.auth-metrics strong,
.auth-metrics small {
    display: block;
}

.auth-metrics strong {
    margin-top: 0.65rem;
    color: #fff;
}

.auth-metrics small {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.68);
}

.auth-dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
}

.auth-dot-blue {
    background: var(--blue);
}
.auth-dot-green {
    background: var(--green);
}
.auth-dot-yellow {
    background: var(--yellow);
}
.auth-dot-red {
    background: var(--red);
}

.auth-footnote {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.4rem;
    color: var(--slate-500);
    font-size: 0.84rem;
    font-weight: 600;
}

.auth-otp-input {
    text-align: center;
    font-size: 1.4rem !important;
    letter-spacing: 0.35em;
}
*/

/* ==========================================================
   AUTHENTICATION
   ========================================================== */

.auth-shell{
    width:min(100%,72rem);
    min-height:620px;
    margin:0rem auto;
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    align-items:stretch;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:1.5rem;
    overflow:hidden;
    box-shadow:
        0 35px 90px rgba(15,23,42,.14),
        0 10px 30px rgba(15,23,42,.06);
}

.auth-shell-compact{
    width:min(100%,32rem);
    min-height:auto;
    grid-template-columns:1fr;
}

.auth-panel{
    padding:4rem;
}

.auth-brand-panel{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    color:#fff;
    background:
        radial-gradient(circle at top right,rgba(255,255,255,.10),transparent 35%),
        radial-gradient(circle at bottom left,rgba(24,214,255,.08),transparent 40%),
        linear-gradient(145deg,#302c97,#252172);
}

.auth-logo{
    width:12.8rem;
    padding:1rem;
    border-radius:1rem;
}

.auth-logo-small{
    width:11rem;
    margin-bottom:1.5rem;
}

.auth-kicker,
.auth-badge{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:.55rem .9rem;
    border-radius:999px;
    font-size:.7rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.auth-kicker{
    margin-top:2rem;
    background:rgba(255,255,255,.12);
    color:rgba(255,255,255,.92);
}

.auth-badge{
    background:#eef2ff;
    color:var(--brand);
}

.auth-brand-panel h1{
    max-width:26rem;
    margin:2rem 0 1.5rem;
    color:#fff;
    font-size:clamp(2.7rem,4vw,4rem);
    font-weight:300;
    line-height:1.02;
    letter-spacing:-.05em;
}

.auth-brand-panel p{
    max-width:28rem;
    color:rgba(255,255,255,.78);
    font-size:1.05rem;
    line-height:1.8;
}

.auth-form-panel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:4rem;
}

.auth-form-header{
    max-width:420px;
}

.auth-form-header h2{
    margin-top:1.5rem;
    color:#0f172a;
    font-size:clamp(2.3rem,3vw,3.2rem);
    font-weight:300;
    line-height:1.05;
    letter-spacing:-.04em;
}

.auth-form-header p{
    margin-top:1rem;
    color:#64748b;
    line-height:1.75;
}

.auth-form{
    width:100%;
    max-width:420px;
    margin-top:2rem;
    display:grid;
    gap:1.35rem;
}

.auth-form label span{
    display:block;
    margin-bottom:.45rem;
    color:#334155;
    font-size:.85rem;
    font-weight:700;
}

.auth-form input{
    width:100%;
    height:56px;
    padding:0 1rem;
    border:1px solid #d7e1ef;
    border-radius:14px;
    background:#fbfcff;
    font-size:.95rem;
    font-weight:600;
    transition:.2s ease;
}

.auth-form input:focus{
    outline:none;
    border-color:#4f46e5;
    background:#fff;
    box-shadow:0 0 0 4px rgba(79,70,229,.12);
}

.auth-form button{
    width:100%;
    height:56px;
    margin-top:.35rem;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#4f46e5,#2563eb);
    color:#fff;
    font-size:.96rem;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
    box-shadow:0 16px 36px rgba(79,70,229,.28);
}

.auth-form button:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 48px rgba(79,70,229,.34);
}

.auth-alert{
    margin-top:1.25rem;
    padding:.9rem 1rem;
    border:1px solid rgba(239,68,68,.18);
    border-radius:.9rem;
    background:rgba(239,68,68,.06);
    color:#b91c1c;
    font-size:.9rem;
    font-weight:600;
}

.auth-metrics{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1rem;
    margin-top:3rem;
}

.auth-metrics>div{
    padding:1.1rem;
    border-radius:1rem;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    transition:.25s;
}

.auth-metrics>div:hover{
    transform:translateY(-4px);
    background:rgba(255,255,255,.12);
}

.auth-metrics strong{
    display:block;
    margin-top:.8rem;
    color:#fff;
    font-size:1rem;
}

.auth-metrics small{
    display:block;
    margin-top:.35rem;
    color:rgba(255,255,255,.72);
    line-height:1.6;
}

.auth-dot{
    width:.65rem;
    height:.65rem;
    border-radius:999px;
    display:inline-block;
}

.auth-dot-blue{background:var(--blue);}
.auth-dot-green{background:var(--green);}
.auth-dot-yellow{background:var(--yellow);}
.auth-dot-red{background:var(--red);}

.auth-footnote{
    display:flex;
    align-items:center;
    gap:.6rem;
    margin-top:1.6rem;
    color:#64748b;
    font-size:.86rem;
    font-weight:600;
}

.auth-otp-input{
    text-align:center;
    font-size:1.45rem!important;
    letter-spacing:.35em;
}

.auth-docs-link{
    position:absolute;
    top:24px;
    right:24px;
    z-index:5;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 1rem;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    background:rgb(54, 50, 143);
    color:#fff;
    font-size:.82rem;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 14px 30px rgba(0,0,0,.18);
    backdrop-filter:blur(12px);
}

.auth-docs-link:hover{
    background:rgb(54, 50, 143);
}

@media(max-width:960px){

.auth-shell{
    grid-template-columns:1fr;
    min-height:auto;
}

.auth-brand-panel{
    display:none;
}

.auth-panel{
    padding:2.5rem;
}

.auth-docs-link{
    top:16px;
    right:16px;
}

.auth-form,
.auth-form-header{
    max-width:100%;
}

}


.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.badge-brand {
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
}

.badge-green {
    background: rgba(19, 165, 56, 0.10);
    color: var(--green);
}

.badge-red {
    background: rgba(239, 35, 60, 0.10);
    color: var(--red);
}

.action-link {
    display: inline-flex;
    border-radius: 0.45rem;
    padding: 0.45rem 0.7rem;
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    border-radius: 0.7rem;
    padding: 0.65rem 1rem;
    background: #fff;
    color: var(--brand);
    border: 1px solid rgba(36, 36, 155, 0.25);
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
}

.btn-small {
    margin-top: 0.4rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.4rem;
    font-size: 0.72rem;
}

.secret-cell {
    max-width: 14rem;
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    color: var(--slate-700);
}

.detail-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
}

.detail-list div {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 1rem;
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 0.65rem;
}

.detail-list dt {
    color: var(--slate-500);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-list dd {
    margin: 0;
    color: var(--slate-900);
    font-weight: 800;
    word-break: break-word;
}

.demo-shell {
    width: min(100%, 72rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 1.25rem;
}

.demo-hero,
.demo-checkout-card {
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(28, 35, 90, 0.16);
}

.demo-hero {
    min-height: 36rem;
    display: flex;
    align-items: flex-end;
    padding: clamp(2rem, 4vw, 4rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(36, 36, 155, 0.96), rgba(23, 23, 111, 0.98)),
        radial-gradient(circle at 10% 10%, rgba(247, 198, 0, 0.35), transparent 20rem);
}

.demo-hero h1 {
    max-width: 38rem;
    margin-top: 1.25rem;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    line-height: 1.05;
}

.demo-hero p {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.demo-checkout-card {
    background: #fff;
}

.demo-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.85rem;
    padding: 1rem;
    background: #f8fbff;
}

.demo-product strong,
.demo-product span {
    display: block;
}

.demo-product span {
    margin-top: 0.25rem;
    color: var(--slate-500);
    font-size: 0.85rem;
}

.hidden {
    display: none !important;
}

.demo-processing {
    width: min(100%, 46rem);
    margin: 2rem auto;
}

.demo-processing-panel {
    overflow: hidden;
}

.demo-live-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
}

.demo-live-strip span {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 0 rgba(31, 122, 224, 0.45);
    animation: pulse-dot 1.5s infinite;
}

.demo-live-strip.complete {
    background: rgba(19, 165, 56, 0.1);
    color: var(--green);
}

.demo-live-strip.complete span {
    background: var(--green);
    animation: none;
}

.demo-live-strip.failed {
    background: rgba(239, 35, 60, 0.1);
    color: var(--red);
}

.demo-live-strip.failed span {
    background: var(--red);
    animation: none;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 122, 224, 0.45);
    }
    70% {
        box-shadow: 0 0 0 0.5rem rgba(31, 122, 224, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(31, 122, 224, 0);
    }
}

.demo-status-card {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.demo-status-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    background: #f8fbff;
}

.demo-status-card span {
    color: var(--slate-500);
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .demo-shell {
        grid-template-columns: 1fr;
    }

    .demo-hero {
        min-height: auto;
    }
}

.pay-compact {
    width: min(100%, 58rem);
    margin: 0 auto;
}

.pay-topbar,
.pay-card {
    border: 1px solid var(--slate-200);
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 16px 38px rgba(28, 35, 90, 0.10);
}

.pay-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.pay-topbar img {
    width: 8.5rem;
}

.pay-topbar strong,
.pay-topbar span {
    display: block;
}

.pay-topbar span {
    color: var(--slate-500);
    font-size: 0.82rem;
}

.pay-amount {
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    background: var(--brand);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}

.pay-grid,
.pay-unified {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.75fr);
    margin-top: 1rem;
}

.pay-unified {
    gap: 0;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.12);
    align-items: start;
}

.pay-card {
    padding: 0.95rem 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.pay-details-card {
    border-right: 1px solid var(--slate-100);
}

.pay-submit-card {
    background: #fbfdff;
    display: flex;
    flex-direction: column;
}

.pay-card-head h1,
.pay-submit-card h2 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.pay-card-head p,
.pay-submit-card p {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
}

.pay-method-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.pay-customer-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 0.85rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f8fbff;
}

.pay-customer-summary div {
    flex: 1 1 12rem;
    min-width: 0;
    border: 0;
    border-right: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    border-radius: 0;
    padding: 0.6rem 0.7rem;
    background: transparent;
}

.pay-customer-summary span {
    display: block;
    color: var(--slate-500);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pay-customer-summary strong {
    display: block;
    margin-top: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--slate-900);
    font-size: 0.86rem;
}

.pay-method-tab {
    border: 1px solid var(--slate-200);
    background: #fff;
    color: var(--slate-700);
    box-shadow: none;
    padding: 0.45rem 0.75rem;
    font-size: 0.84rem;
}

.pay-method-tab.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.pay-method-panel {
    display: none;
    margin-top: 0.85rem;
}

.pay-method-panel.active {
    display: block;
}

.pay-upi-box {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.85rem;
    padding: 0.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pay-upi-box img {
    width: 8.15rem;
    height: 8.15rem;
    border-radius: 0.55rem;
    background: #fff;
}

.pay-upi-box a {
    display: inline-flex;
    justify-content: center;
    width: min(100%, 13rem);
    margin-bottom: 0;
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    background: #fff;
    border: 1px solid rgba(36, 36, 155, 0.18);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 900;
}

.pay-upi-box span,
.pay-bank-details dt,
.pay-form span {
    display: block;
    color: var(--slate-500);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pay-upi-box strong {
    font-size: 1rem;
    word-break: break-word;
}

.pay-upi-box > div {
    width: 100%;
    text-align: center;
}

.pay-bank-details {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.pay-bank-details div {
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #f8fbff;
}

.pay-bank-details dd {
    margin: 0.2rem 0 0;
    color: var(--slate-900);
    font-size: 1rem;
    font-weight: 900;
}

.pay-form {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.pay-form input {
    min-height: 2.9rem;
    border-radius: 0.7rem;
}

.pay-form button {
    min-height: 2.9rem;
    border-radius: 0.7rem;
}

.pay-submit-card {
    align-self: start;
}

.provider-status-box {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    padding: 0.85rem;
    background: #fff;
}

.provider-status-box span {
    color: var(--slate-500);
    font-size: 0.86rem;
}

.provider-status-box strong {
    color: var(--brand);
    font-size: 1.05rem;
}

.pay-provider-status button {
    margin-top: 1rem;
}

.pay-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.65rem;
    padding: 0.65rem;
    background: #fff;
}

.pay-terms input {
    width: auto;
    min-height: auto;
    margin-top: 0.2rem;
}

.pay-terms span {
    color: var(--slate-700);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
}

@media (max-width: 860px) {
    .pay-grid,
    .pay-unified {
        grid-template-columns: 1fr;
    }

    .pay-details-card {
        border-right: 0;
        border-bottom: 1px solid var(--slate-100);
    }
}

@media (max-width: 560px) {
    .pay-topbar {
        grid-template-columns: 1fr;
    }

    .pay-amount {
        justify-self: start;
    }

    .pay-upi-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pay-upi-box img {
        margin: 0 auto;
    }

    .pay-customer-summary div {
        flex-basis: 100%;
        border-right: 0;
    }
}

/* Production payment page */
.pay-compact {
    width: min(100%, 87rem);
    margin: 0 auto;
    color: #071025;
}

.pay-topbar {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    min-height: 8.25rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid #dce5f3;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 55px rgba(19, 35, 80, 0.10);
}

.pay-topbar img {
    width: 12rem;
    max-width: 100%;
}

.pay-secure-title {
    display: flex;
    align-items: center;
    gap: 1.05rem;
    min-width: 0;
}

.pay-secure-icon {
    display: grid;
    place-items: center;
    width: 3.9rem;
    height: 3.9rem;
    border: 1px solid #d8e3ff;
    border-radius: 1.05rem;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #4057ff;
    font-weight: 950;
    box-shadow: inset 0 0 0 0.55rem #ffffff;
}

.pay-secure-title strong {
    display: block;
    color: #070b1d;
    font-size: 1.45rem;
    line-height: 1.1;
}

.pay-secure-title span:last-child {
    display: block;
    margin-top: 0.35rem;
    color: #5c6b86;
    font-size: 1rem;
}

.pay-amount {
    min-width: 12.6rem;
    border-radius: 1rem;
    padding: 1rem 1.35rem;
    background: linear-gradient(135deg, #24249b 0%, #4354f4 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 16px 34px rgba(36, 36, 155, 0.26);
}

.pay-amount span,
.pay-amount strong {
    display: block;
}

.pay-amount span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
}

.pay-amount strong {
    margin-top: 0.28rem;
    font-size: 1.72rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.pay-unified {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(25rem, 0.88fr);
    gap: 1.55rem;
    margin-top: 1.55rem;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    align-items: stretch;
}

.pay-card {
    border: 1px solid #dce5f3;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 55px rgba(19, 35, 80, 0.10);
}

.pay-details-card,
.pay-submit-card {
    padding: 2rem;
}

.pay-details-card {
    border-right: 1px solid #dce5f3;
}

.pay-card-head h1,
.pay-submit-card h2 {
    margin: 0;
    color: #070b1d;
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.pay-card-head p,
.pay-submit-card p {
    margin: 0.8rem 0 0;
    color: #61708d;
    font-size: 1.04rem;
    line-height: 1.55;
}

.pay-customer-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.55rem;
    border: 1px solid #d8e1ef;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f7faff 100%);
}

.pay-customer-summary div {
    position: relative;
    min-height: 5.4rem;
    padding: 1.08rem 1.1rem 1.08rem 5.3rem;
    border: 0;
    border-right: 1px solid #e1e8f3;
    border-bottom: 1px solid #e1e8f3;
    background: transparent;
}

.pay-customer-summary div:nth-child(2n) {
    border-right: 0;
}

.pay-customer-summary div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.pay-customer-summary i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.8rem;
    background: #edf2ff;
    color: #4057ff;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 950;
}

.pay-customer-summary span:not(.pay-info-icon) {
    display: block;
    color: #586781;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: none;
}

.pay-customer-summary strong {
    display: block;
    margin-top: 0.28rem;
    overflow: hidden;
    color: #071025;
    font-size: 1rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pay-method-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.pay-method-tab {
    min-height: 2.5rem;
    border: 1px solid #d8e1ef;
    border-radius: 0.78rem;
    background: #fff;
    color: #40506c;
    box-shadow: none;
    padding: 0.56rem 0.95rem;
    font-size: 0.92rem;
    font-weight: 850;
}

.pay-method-tab.active {
    border-color: #24249b;
    background: #24249b;
    color: #fff;
}

.pay-method-panel {
    display: none;
    margin-top: 1.45rem;
}

.pay-method-panel.active {
    display: block;
}

.pay-instruction-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2.2rem;
    min-height: 19rem;
    border: 1px solid #d8e1ef;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

.pay-instruction-copy {
    padding: 2.2rem 0 2.2rem 3.4rem;
}

.pay-instruction-copy h3 {
    margin: 0;
    color: #070b1d;
    font-size: 1.58rem;
    line-height: 1.35;
}

.pay-instruction-copy p {
    max-width: 15.5rem;
    margin: 1.1rem 0 0;
    color: #61708d;
    font-size: 1rem;
    line-height: 1.6;
}

.pay-upi-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 13.2rem;
    margin-top: 1.35rem;
    border: 1px solid #b7c2ff;
    border-radius: 0.8rem;
    padding: 0.78rem 1rem;
    background: #fff;
    color: #24249b;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
}

.pay-qr-frame {
    display: grid;
    place-items: center;
    margin-right: 3rem;
    border: 1px solid #e1e8f3;
    border-radius: 1rem;
    padding: 1.2rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(19, 35, 80, 0.09);
}

.pay-qr-frame img {
    display: block;
    width: 13.8rem;
    height: 13.8rem;
    object-fit: contain;
}

.pay-bank-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
    padding: 1.45rem 1.5rem 1.45rem 0;
}

.pay-bank-details div {
    border: 1px solid #d8e1ef;
    border-radius: 0.9rem;
    padding: 0.95rem 1rem;
    background: #fff;
}

.pay-bank-details dt,
.pay-form > label > span {
    display: block;
    color: #253149;
    font-size: 0.98rem;
    font-weight: 900;
    text-transform: none;
}

.pay-bank-details dd {
    margin: 0.3rem 0 0;
    color: #071025;
    font-size: 1.05rem;
    font-weight: 900;
    word-break: break-word;
}

.pay-submit-card {
    background: rgba(255, 255, 255, 0.98);
}

.pay-form {
    display: grid;
    gap: 1.3rem;
    margin-top: 1.55rem;
}

.pay-input-wrap {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    margin-top: 0.75rem;
    border: 1px solid #cfd9e8;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.03);
}

.pay-input-wrap b {
    display: grid;
    place-items: center;
    background: #f0f4fb;
    color: #74839b;
    font-size: 1.8rem;
}

.pay-input-wrap input {
    width: 100%;
    min-height: 4.4rem;
    border: 0;
    border-radius: 0;
    padding: 0 1rem;
    color: #071025;
    font-size: 1.08rem;
    outline: 0;
}

.utr-state {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.8rem;
    color: #61708d;
    font-size: 0.98rem;
    font-weight: 750;
}

.utr-state.ok {
    color: #0b8f3a;
}

.utr-state.error {
    color: #dc2626;
}

.utr-state.checking {
    color: #24249b;
}

.pay-upload {
    display: block;
}

.pay-upload span em {
    color: #61708d;
    font-style: normal;
    font-weight: 500;
}

.pay-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pay-upload-drop {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    border: 1.5px dashed #b9c7dc;
    border-radius: 0.9rem;
    padding: 1.15rem 1.35rem;
    background: #fbfdff;
}

.pay-upload-drop > strong {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.8rem;
    background: #edf2ff;
    color: #4057ff;
    font-size: 0.75rem;
}

.pay-upload-drop b {
    color: #4057ff;
    font-size: 1.02rem;
}

.pay-upload-drop small {
    color: #61708d;
    font-size: 0.9rem;
}

.pay-upload-drop button {
    min-height: 3rem;
    border: 1px solid #cfd9e8;
    border-radius: 0.75rem;
    padding: 0 1.3rem;
    background: #fff;
    color: #24249b;
    font-size: 1rem;
    font-weight: 850;
}

.pay-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.82rem;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.pay-terms input {
    width: 1.35rem;
    min-width: 1.35rem;
    height: 1.35rem;
    min-height: 1.35rem;
    margin-top: 0.18rem;
    accent-color: #4057ff;
}

.pay-terms span {
    color: #253149;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.55;
    text-transform: none;
}

.pay-terms a {
    color: #24249b;
    font-weight: 900;
    text-decoration: none;
}

.pay-form button#submitPaymentButton,
.pay-provider-status button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 4.55rem;
    border: 0;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #24249b 0%, #4354f4 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
    box-shadow: 0 16px 28px rgba(36, 36, 155, 0.24);
}

.pay-form button#submitPaymentButton:disabled {
    cursor: not-allowed;
    opacity: 0.46;
    box-shadow: none;
}

.pay-secure-note,
.pay-footer-note {
    margin: 0;
    color: #66758e;
    text-align: center;
    font-size: 0.98rem;
    font-weight: 650;
}

.pay-secure-note {
    margin-top: 0.25rem;
}

.pay-footer-note {
    margin-top: 1.9rem;
}

/* Vision payment page refresh */
.pay-compact {
    width: min(100%, 82rem);
}

.pay-topbar {
    grid-template-columns: 13.5rem minmax(0, 1fr) auto;
    min-height: 7rem;
    gap: 1.8rem;
    padding: 0.75rem 0.95rem;
    border-radius: 1rem;
    box-shadow: 0 14px 45px rgba(36, 50, 110, 0.11);
}

.pay-brand-lockup {
    display: flex;
    align-items: center;
    height: 5rem;
    border-right: 1px solid #dfe7f5;
}

.pay-brand-lockup img {
    width: 10.5rem;
}

.pay-secure-title {
    gap: 0.9rem;
}

.pay-secure-icon {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    background: #edf3ff;
    color: #1748ff;
    box-shadow: inset 0 0 0 0.45rem #fff;
    font-size: 1rem;
}

.pay-secure-title strong {
    font-size: 1.12rem;
}

.pay-secure-title span:last-child {
    margin-top: 0.22rem;
    font-size: 0.95rem;
}

.pay-amount {
    min-width: 11.4rem;
    border-radius: 0.85rem;
    padding: 0.82rem 1.05rem;
}

.pay-amount span {
    font-size: 0.78rem;
}

.pay-amount strong {
    font-size: 1.95rem;
}

.pay-unified {
    grid-template-columns: minmax(0, 1.2fr) minmax(28rem, 0.9fr);
    gap: 0.9rem;
    margin-top: 0.9rem;
}

.pay-card {
    border-color: #e1e8f4;
    border-radius: 1rem;
    box-shadow: 0 18px 50px rgba(36, 50, 110, 0.10);
}

.pay-details-card {
    position: relative;
    padding: 2.1rem 2rem 0.8rem;
    overflow: hidden;
}

.pay-submit-card {
    padding: 2.1rem 2rem;
}

.pay-card-head {
    position: relative;
    display: flex;
    min-height: 5.8rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.pay-card-head h1,
.pay-submit-card h2 {
    position: relative;
    font-size: 1.9rem;
    line-height: 1.08;
}

.pay-card-head h1::after,
.pay-submit-card h2::after {
    content: "";
    display: block;
    width: 2.05rem;
    height: 0.15rem;
    margin-top: 0.65rem;
    border-radius: 999px;
    background: #1748ff;
}

.pay-card-head p,
.pay-submit-card p {
    margin-top: 0.7rem;
    font-size: 0.98rem;
}

.pay-hero-art {
    position: absolute;
    top: 0;
    right: 0;
    width: 15.2rem;
    height: 8.7rem;
    object-fit: contain;
    object-position: right top;
    pointer-events: none;
    opacity: 1;
}

.pay-customer-summary {
    position: relative;
    z-index: 1;
    margin-top: 0.95rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(32, 48, 90, 0.07);
    backdrop-filter: blur(8px);
}

.pay-customer-summary div {
    min-height: 4.65rem;
    padding: 0.82rem 1rem 0.82rem 4.7rem;
}

.pay-customer-summary i {
    left: 1rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
}

.pay-customer-summary i.blue { background: linear-gradient(135deg, #1467ff, #44a6ff); }
.pay-customer-summary i.green { background: linear-gradient(135deg, #13a75c, #48ce7a); }
.pay-customer-summary i.purple { background: linear-gradient(135deg, #843cff, #bc64ff); }
.pay-customer-summary i.orange { background: linear-gradient(135deg, #ff9f1c, #ff5b2d); }

.pay-customer-summary span:not(.pay-info-icon) {
    color: #20304a;
    font-size: 0.78rem;
}

.pay-customer-summary strong {
    font-size: 0.93rem;
}

.pay-method-tabs {
    margin-top: 0.85rem;
}

.pay-method-panel {
    margin-top: 0.55rem;
}

.pay-instruction-box {
    position: relative;
    grid-template-columns: 6.2rem minmax(0, 1fr) auto;
    gap: 1.15rem;
    min-height: 14.8rem;
    border-radius: 0.85rem;
    background: #fff;
}

.pay-phone-art {
    align-self: center;
    justify-self: center;
    width: 5.1rem;
    height: 9.4rem;
    object-fit: contain;
    margin-left: 1.1rem;
}

.pay-instruction-copy {
    padding: 2rem 0;
}

.pay-instruction-copy h3 {
    max-width: 9.5rem;
    font-size: 1.32rem;
    line-height: 1.45;
}

.pay-title-line {
    width: 1.8rem;
    height: 0.16rem;
    margin: 0.78rem 0 1.15rem;
    border-radius: 999px;
    background: #1748ff;
}

.pay-app-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.pay-app-row span {
    color: #17203a;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
}

.pay-app-row span:nth-child(1)::first-letter { color: #0b8f3a; }
.pay-app-row span:nth-child(2) { color: #1167ff; }
.pay-app-row span:nth-child(3) {
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: #5b21b6;
    color: #fff;
    font-size: 0.58rem;
}

.pay-upi-open {
    position: absolute;
    left: 1.5rem;
    bottom: 0.65rem;
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
    color: transparent;
    pointer-events: auto;
}

.pay-upi-open::after {
    content: "Open in UPI App";
    color: #24249b;
    font-size: 0.8rem;
}

.pay-qr-frame {
    margin: 0 1.8rem 0 0;
    padding: 0.9rem;
    border-radius: 0.82rem;
    box-shadow: 0 14px 35px rgba(32, 48, 90, 0.16);
}

.pay-qr-frame img {
    width: 10.6rem;
    height: 10.6rem;
}

.pay-upi-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 3.95rem;
    padding: 0.72rem 1.4rem 0.72rem 5.1rem;
    border-top: 1px solid #dfe7f5;
    background: linear-gradient(180deg, #f9fbff, #f4f8ff);
}

.pay-upi-strip::before {
    content: "UPI";
    position: absolute;
    left: 1.45rem;
    bottom: 0.88rem;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.7rem;
    background: #e9f6ff;
    color: #1748ff;
    font-size: 0.72rem;
    font-weight: 950;
}

.pay-upi-strip span {
    display: block;
    color: #5b6a84;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pay-upi-strip strong {
    display: block;
    margin-top: 0.12rem;
    color: #071025;
    font-size: 0.98rem;
}

.copy-upi-btn {
    min-height: 2.5rem;
    border: 1px solid #c3cffd;
    border-radius: 0.55rem;
    padding: 0 0.9rem;
    background: #fff;
    color: #24249b;
    font-size: 0.8rem;
    font-weight: 900;
}

.pay-input-wrap {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    border-radius: 0.78rem;
}

.pay-input-wrap input {
    min-height: 3.5rem;
    font-size: 0.98rem;
}

.pay-input-wrap b {
    font-size: 1.45rem;
}

.pay-upload-drop {
    min-height: 5rem;
    border-radius: 0.85rem;
    padding: 0.9rem 1.2rem;
}

.pay-upload-drop > strong {
    background: transparent;
    color: #1748ff;
    font-size: 2.5rem;
}

.pay-upload-drop div {
    color: #40506c;
    font-size: 0.95rem;
}

.pay-upload-drop b {
    font-size: 0.95rem;
}

.pay-terms {
    gap: 0.7rem;
}

.pay-form button#submitPaymentButton,
.pay-provider-status button {
    min-height: 3.8rem;
    border-radius: 0.72rem;
    font-size: 1.08rem;
}

.pay-secure-note {
    margin-top: -0.35rem;
    font-size: 0.86rem;
}

.pay-instruction-box.is-bank {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.pay-instruction-box.is-bank .pay-instruction-copy {
    padding-left: 1.6rem;
}

.pay-instruction-box.is-bank .pay-bank-details {
    padding: 1.2rem 1.2rem 1.2rem 0;
}

@media (max-width: 980px) {
    .pay-topbar,
    .pay-unified {
        grid-template-columns: 1fr;
    }

    .pay-amount {
        justify-self: start;
    }

    .pay-instruction-box {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pay-instruction-copy {
        padding: 1.5rem 1.5rem 0;
    }

    .pay-qr-frame {
        margin: 0 1.5rem 1.5rem;
        justify-self: start;
    }

    .pay-bank-details {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 620px) {
    .pay-details-card,
    .pay-submit-card {
        padding: 1.2rem;
    }

    .pay-card-head h1,
    .pay-submit-card h2 {
        font-size: 1.55rem;
    }

    .pay-customer-summary,
    .pay-bank-details,
    .pay-upload-drop {
        grid-template-columns: 1fr;
    }

    .pay-customer-summary div,
    .pay-customer-summary div:nth-child(2n),
    .pay-customer-summary div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #e1e8f3;
    }

    .pay-customer-summary div:last-child {
        border-bottom: 0;
    }

    .pay-qr-frame img {
        width: 11.5rem;
        height: 11.5rem;
    }
}

/* Compact payment page final proportions */
.pay-compact {
    width: min(100%, 66rem);
}

.pay-topbar {
    grid-template-columns: 11.2rem minmax(0, 1fr) 9.5rem;
    min-height: 5.55rem;
    gap: 1.15rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.85rem;
}

.pay-brand-lockup {
    height: 4rem;
}

.pay-brand-lockup img {
    width: 9.45rem;
}

.pay-secure-icon {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 0.95rem;
}

.pay-secure-title strong {
    font-size: 1rem;
}

.pay-secure-title span:last-child {
    margin-top: 0.14rem;
    font-size: 0.82rem;
}

.pay-amount {
    min-width: 9.3rem;
    padding: 0.65rem 0.78rem;
    border-radius: 0.72rem;
}

.pay-amount span {
    font-size: 0.68rem;
}

.pay-amount strong {
    font-size: 1.55rem;
}

.pay-unified {
    grid-template-columns: minmax(0, 35.2rem) minmax(0, 28.3rem);
    gap: 0.7rem;
    margin-top: 0.7rem;
    align-items: stretch;
}

.pay-card {
    border-radius: 0.85rem;
}

.pay-details-card {
    padding: 1.65rem 1.65rem 0.52rem;
}

.pay-submit-card {
    padding: 1.65rem 1.8rem;
}

.pay-card-head {
    min-height: 4.65rem;
}

.pay-card-head h1,
.pay-submit-card h2 {
    font-size: 1.52rem;
}

.pay-card-head h1::after,
.pay-submit-card h2::after {
    width: 1.8rem;
    height: 0.12rem;
    margin-top: 0.52rem;
}

.pay-card-head p,
.pay-submit-card p {
    margin-top: 0.52rem;
    font-size: 0.82rem;
}

.pay-hero-art {
    width: 13rem;
    height: 7rem;
}

.pay-customer-summary {
    margin-top: 0.72rem;
}

.pay-customer-summary div {
    min-height: 3.7rem;
    padding: 0.58rem 0.75rem 0.58rem 3.7rem;
}

.pay-customer-summary i {
    left: 0.78rem;
    width: 2.25rem;
    height: 2.25rem;
}

.pay-customer-summary i img {
    width: 1.32rem;
    height: 1.32rem;
    object-fit: contain;
}

.pay-customer-summary span:not(.pay-info-icon) {
    font-size: 0.66rem;
}

.pay-customer-summary strong {
    font-size: 0.78rem;
}

.pay-method-panel {
    margin-top: 0.42rem;
}

.pay-instruction-box {
    grid-template-columns: 5.35rem minmax(0, 1fr) auto;
    gap: 0.9rem;
    min-height: 11.5rem;
}

.pay-phone-art {
    width: 4.25rem;
    height: 7.8rem;
    margin-left: 0.8rem;
}

.pay-instruction-copy {
    padding: 1.35rem 0;
}

.pay-instruction-copy h3 {
    max-width: 8.2rem;
    font-size: 1.08rem;
}

.pay-title-line {
    width: 1.45rem;
    height: 0.12rem;
    margin: 0.52rem 0 0.78rem;
}

.pay-app-row {
    gap: 0.42rem;
    margin-top: 0.55rem;
}

.pay-app-row span {
    font-size: 0.62rem;
}

.pay-app-row span:nth-child(3) {
    width: 1.08rem;
    height: 1.08rem;
    font-size: 0.46rem;
}

.pay-qr-frame {
    margin-right: 1.05rem;
    padding: 0.68rem;
    border-radius: 0.72rem;
}

.pay-qr-frame img {
    width: 8.35rem;
    height: 8.35rem;
}

.pay-upi-strip {
    min-height: 3.25rem;
    padding: 0.5rem 1rem 0.5rem 4.05rem;
}

.pay-upi-strip::before {
    left: 1rem;
    bottom: 0.62rem;
    width: 2.05rem;
    height: 2.05rem;
    font-size: 0.65rem;
}

.pay-upi-strip strong {
    font-size: 0.8rem;
}

.copy-upi-btn {
    min-height: 2.05rem;
    font-size: 0.7rem;
}

.pay-form {
    gap: 1.02rem;
    margin-top: 1.18rem;
}

.pay-form > label > span {
    font-size: 0.78rem;
}

.pay-input-wrap {
    grid-template-columns: 2.8rem minmax(0, 1fr);
}

.pay-input-wrap input {
    min-height: 2.98rem;
    font-size: 0.82rem;
}

.pay-input-wrap b {
    font-size: 1.2rem;
}

.utr-state {
    margin-top: 0.58rem;
    font-size: 0.77rem;
}

.pay-upload-drop {
    min-height: 4.18rem;
    padding: 0.72rem 0.95rem;
}

.pay-upload-drop > strong {
    font-size: 1.95rem;
}

.pay-upload-drop div,
.pay-upload-drop b {
    font-size: 0.77rem;
}

.pay-upload-drop small {
    font-size: 0.68rem;
}

.pay-upload-drop button {
    min-height: 2.22rem;
    padding: 0 0.9rem;
    font-size: 0.76rem;
}

.pay-terms span {
    font-size: 0.77rem;
}

.pay-terms input {
    width: 1rem;
    min-width: 1rem;
    height: 1rem;
    min-height: 1rem;
}

.pay-form button#submitPaymentButton,
.pay-provider-status button {
    min-height: 3.1rem;
    font-size: 0.96rem;
}

.pay-secure-note {
    font-size: 0.72rem;
}

.pay-details-card::after {
    margin-top: 0.5rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.68rem;
}

.pay-instruction-box.is-bank {
    min-height: 11.5rem;
}

.pay-instruction-box.is-bank .pay-instruction-copy {
    padding-left: 1.25rem;
}

.pay-bank-details {
    gap: 0.52rem;
}

.pay-bank-details div {
    padding: 0.62rem 0.7rem;
}

.pay-bank-details dt,
.pay-bank-details dd {
    font-size: 0.78rem;
}

.docs-shell {
    width: min(100%, 76rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 18rem 1fr;
    gap: 1.25rem;
}

.docs-sidebar,
.docs-card {
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.10);
}

.docs-sidebar {
    position: sticky;
    top: 5rem;
    align-self: start;
    padding: 1.25rem;
}

.docs-sidebar img {
    width: 11rem;
}

.docs-sidebar h1 {
    margin-top: 1.25rem;
    font-size: 1.35rem;
}

.docs-sidebar nav {
    position: static;
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    border: 0;
    box-shadow: none;
}

.docs-sidebar nav a {
    border-radius: 0.55rem;
    padding: 0.55rem 0.7rem;
    background: #f8fbff;
}

.docs-content {
    display: grid;
    gap: 1rem;
    padding: 0;
}

.docs-card {
    padding: 1.25rem;
}

.docs-card h2 {
    font-size: 1.25rem;
}

.docs-card pre {
    overflow-x: auto;
    border-radius: 0.75rem;
    padding: 1rem;
    background: #0f172a;
    color: #e5edf7;
    font-size: 0.86rem;
    line-height: 1.6;
}

.docs-card h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--slate-900);
}

.docs-card code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.docs-steps,
.docs-list {
    margin: 1rem 0;
    padding-left: 1.25rem;
    color: var(--slate-700);
    line-height: 1.7;
}

.docs-steps li + li,
.docs-list li + li {
    margin-top: 0.35rem;
}

@media (max-width: 900px) {
    .docs-shell {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
    }
}

/* Production UI corrections */
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-height: auto;
    padding: 0;
}

.user-menu,
.nav-menu {
    position: relative;
    z-index: 1001;
}

.user-menu summary,
.nav-menu summary {
    cursor: pointer;
    list-style: none;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    background: var(--slate-100);
    color: var(--slate-700);
    font-size: 0.78rem;
    font-weight: 900;
}

.user-menu summary::-webkit-details-marker,
.nav-menu summary::-webkit-details-marker {
    display: none;
}

.user-menu[open] summary,
.nav-menu[open] summary {
    background: rgba(36, 36, 155, 0.09);
    color: var(--brand);
}

.user-menu > div,
.nav-menu > div {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 1100;
    min-width: 12rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.8rem;
    padding: 0.75rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.16);
}

.nav-menu > div {
    display: grid;
    gap: 0.2rem;
    min-width: 14rem;
}

.nav-menu a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 0.55rem;
    color: var(--slate-700);
    font-weight: 800;
}

.nav-menu a:hover {
    background: rgba(36, 36, 155, 0.08);
    color: var(--brand);
}

.user-menu span {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--slate-500);
    font-size: 0.78rem;
    font-weight: 800;
}

.user-menu button {
    width: 100%;
}

.review-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.log-json {
    max-width: 26rem;
    max-height: 8rem;
    overflow: auto;
    border: 1px solid var(--slate-200);
    border-radius: 0.55rem;
    background: var(--slate-50);
    padding: 0.6rem;
    color: var(--slate-700);
    font-size: 0.74rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.panel .log-json {
    max-width: none;
    max-height: 32rem;
}

.provider-log-json {
    min-width: 100% !important;
    max-height: fit-content !important;
    padding: 1.25rem;
    font-size: 0.86rem;
    line-height: 1.65;
}

.payout-settlement-picker {
    border: 1px solid var(--slate-200);
    border-radius: 0.8rem;
    background: #f8fbff;
    padding: 1rem;
}

.payout-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.payout-picker-head strong,
.payout-picker-head span {
    display: block;
}

.payout-picker-head span {
    margin-top: 0.15rem;
    color: var(--slate-500);
    font-size: 0.82rem;
    font-weight: 700;
}

.payout-settlement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.payout-settlement-option {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    min-height: 4.6rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.65rem;
    background: #ffffff;
    padding: 0.8rem;
}

.payout-settlement-option strong,
.payout-settlement-option small {
    display: block;
}

.payout-settlement-option small {
    margin-top: 0.2rem;
    color: var(--slate-500);
    font-size: 0.75rem;
    line-height: 1.4;
}

.payout-total-line {
    margin-top: 0.8rem;
    color: var(--slate-600);
    font-size: 0.85rem;
    font-weight: 800;
}

.payout-total-pill {
    border-radius: 999px;
    background: rgba(36, 36, 155, 0.09);
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 900;
    padding: 0.65rem 0.95rem;
    white-space: nowrap;
}

.payout-form {
    display: grid;
    gap: 1.1rem;
}

.payout-field-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
}

.payout-field-grid label {
    min-width: 0;
}

.payout-field-grid .span-2 {
    grid-column: span 2;
}

.payout-settlement-panel {
    border: 1px solid var(--slate-200);
    border-radius: 0.8rem;
    background: #f8fbff;
    overflow: hidden;
}

.payout-settlement-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--slate-200);
    background: #ffffff;
}

.payout-settlement-head h3 {
    margin: 0;
    font-size: 1rem;
}

.payout-settlement-head p {
    margin: 0.18rem 0 0;
    color: var(--slate-500);
    font-size: 0.82rem;
    font-weight: 750;
}

.payout-settlement-table {
    padding: 0.75rem;
}

.payout-settlement-row {
    display: none;
    grid-template-columns: minmax(12rem, 1.4fr) minmax(10rem, 1fr) 8rem 10rem;
    gap: 0.8rem;
    align-items: center;
    border: 1px solid var(--slate-200);
    border-radius: 0.65rem;
    background: #ffffff;
    padding: 0.75rem 0.85rem;
}

.payout-settlement-row + .payout-settlement-row {
    margin-top: 0.55rem;
}

.payout-settlement-header {
    display: grid;
    border: 0;
    background: transparent;
    color: var(--slate-500);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.payout-empty-state {
    border: 1px dashed var(--slate-300);
    border-radius: 0.65rem;
    background: #ffffff;
    color: var(--slate-500);
    font-weight: 850;
    padding: 1rem;
}

.payout-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--slate-100);
    padding-top: 0.3rem;
}

.payout-action-bar span {
    color: var(--slate-500);
    font-size: 0.84rem;
    font-weight: 800;
}

.payout-action-bar button {
    min-width: 11rem;
}

#payoutAmount[readonly] {
    background: var(--slate-50);
    color: var(--slate-700);
    font-weight: 900;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.utr-state {
    display: block;
    margin-top: 0.45rem;
    color: var(--slate-500);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.35;
}

.utr-state.checking {
    color: var(--brand);
}

.utr-state.ok {
    color: #137c31;
}

.utr-state.error {
    color: #b42318;
}

.review-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.detail-grid div {
    min-width: 0;
    border: 1px solid var(--slate-200);
    border-radius: 0.7rem;
    padding: 0.75rem;
    background: #f8fbff;
}

.detail-grid dt {
    color: var(--slate-500);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-grid dd {
    margin: 0.2rem 0 0;
    color: var(--slate-900);
    font-weight: 800;
    word-break: break-word;
}

.detail-card span {
    display: block;
    color: var(--slate-500);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-card strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--slate-900);
    font-weight: 800;
    word-break: break-word;
}

.support-message {
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    padding: 1rem;
    background: var(--slate-50);
}

.support-message.platform {
    border-color: rgba(36, 36, 155, 0.22);
    background: rgba(36, 36, 155, 0.06);
}

.support-message p {
    margin: 0.55rem 0 0;
    color: var(--slate-700);
    line-height: 1.55;
}

.provider-timeout-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.8rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.7rem;
    padding: 0.85rem 1rem;
    background: var(--slate-50);
}

.provider-timeout-box span {
    color: var(--slate-500);
    font-size: 0.85rem;
    font-weight: 700;
}

.provider-timeout-box strong {
    color: var(--red);
    font-size: 1.1rem;
}

/* NRPS unified business-class dashboards */
.unified-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.nrps-unified {
    min-height: 100vh;
    background: #ffffff;
    color: #0f172a;
}

.nrps-unified * {
    scrollbar-width: thin;
    scrollbar-color: #24405f #07111f;
}

.nrps-shell {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
    min-height: 100vh;
}

.nrps-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    background: rgb(15, 15, 93);
    padding: 1.25rem;
}

.nrps-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.75rem;
}

.nrps-brand-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #18d6ff, #1167ff);
    box-shadow: 0 0 30px rgba(17, 103, 255, 0.24);
    font-size: 1.35rem;
    font-weight: 900;
}

.nrps-brand-logo {
    width: 11.5rem;
    height: auto;
    display: block;
}

.nrps-brand strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.nrps-brand em {
    display: block;
    color: #94a3b8;
    font-size: 0.72rem;
    font-style: normal;
}

.nrps-brand span,
.nrps-muted {
    color: #94a3b8;
}

.nrps-nav {
    display: grid;
    gap: 1.35rem;
    font-size: 0.9rem;
}

.nrps-nav-group-title {
    margin: 0 0 0.45rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nrps-nav a,
.nrps-nav button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    border: 0;
    border-radius: 0.75rem;
    padding: 0.68rem 0.8rem;
    color: #cbd5e1;
    background: transparent;
    text-align: left;
    font-weight: 800;
}

.nrps-nav a:hover,
.nrps-nav button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.nrps-nav a.active {
    background: #1167ff;
    color: #fff;
    box-shadow: 0 0 28px rgba(17, 103, 255, 0.22);
}

.nrps-nav-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    color: #18d6ff;
    font-size: 0.65rem;
    font-weight: 950;
}

.nrps-nav a.active .nrps-nav-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.nrps-sidebar-user,
.nrps-glass,
.nrps-soft {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(16, 31, 52, 0.96), rgba(8, 18, 31, 0.98));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.nrps-sidebar-user {
    margin-top: 1.75rem;
    border-radius: 1rem;
    padding: 1rem;
}

.nrps-sidebar-user p {
    margin: 0;
    color: #fff;
    font-weight: 950;
}

.nrps-sidebar-user span {
    display: block;
    margin-top: 0.25rem;
    color: #19c37d;
    font-size: 0.8rem;
    font-weight: 800;
}

.nrps-sidebar-user form {
    margin-top: 0.85rem;
}

.nrps-sidebar-user button {
    width: 100%;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
}

.nrps-content {
    min-width: 0;
    padding: 0;
    background: #ffffff;
    color: #0f172a;
}

.nrps-app-header {
    min-height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 15% 0%, rgba(17, 103, 255, 0.20), transparent 28rem),
        linear-gradient(135deg, #050b14 0%, #07111f 62%, #050b14 100%);
    color: #eaf2ff;
}

.nrps-app-header div {
    display: grid;
    justify-items: end;
}

.nrps-app-header strong {
    font-size: 0.95rem;
    font-weight: 900;
}

.nrps-app-header span {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 800;
}

.nrps-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.nrps-title h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 950;
}

.nrps-title p {
    margin: 0.4rem 0 0;
    color: #94a3b8;
}

.nrps-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.nrps-input,
.nrps-select,
.nrps-action {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    padding: 0.72rem 0.85rem;
    color: #eaf2ff;
    background: rgba(16, 31, 52, 0.96);
}

.nrps-select option {
    color: #0f172a;
}

.nrps-action.primary {
    border-color: #1167ff;
    background: #1167ff;
    color: #fff;
}

.nrps-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    padding: 0.75rem;
}

.nrps-tab {
    border-radius: 0.8rem;
    padding: 0.65rem 1rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
}

.nrps-tab.active {
    background: #1167ff;
    color: #fff;
}

.nrps-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.nrps-kpi {
    border-radius: 1rem;
    padding: 1rem;
}

.nrps-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nrps-icon {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 1rem;
    font-weight: 950;
}

.nrps-icon.green {
    background: rgba(25, 195, 125, 0.16);
    color: #19c37d;
}
.nrps-icon.blue {
    background: rgba(17, 103, 255, 0.16);
    color: #60a5fa;
}
.nrps-icon.orange {
    background: rgba(255, 159, 28, 0.16);
    color: #ff9f1c;
}
.nrps-icon.red {
    background: rgba(255, 77, 90, 0.16);
    color: #ff4d5a;
}
.nrps-icon.violet {
    background: rgba(124, 92, 255, 0.16);
    color: #a78bfa;
}
.nrps-icon.cyan {
    background: rgba(24, 214, 255, 0.16);
    color: #18d6ff;
}

.nrps-kpi span {
    display: block;
    margin-top: 0.85rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.nrps-kpi strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.55rem;
    font-weight: 950;
}

.nrps-kpi small {
    display: block;
    margin-top: 0.55rem;
    color: #19c37d;
    font-weight: 800;
}

.nrps-grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.nrps-col-2 {
    grid-column: span 2;
}
.nrps-col-3 {
    grid-column: span 3;
}
.nrps-col-4 {
    grid-column: span 4;
}
.nrps-col-5 {
    grid-column: span 5;
}
.nrps-col-6 {
    grid-column: span 6;
}
.nrps-col-7 {
    grid-column: span 7;
}
.nrps-col-8 {
    grid-column: span 8;
}

.nrps-card {
    border-radius: 1rem;
    padding: 1.15rem;
}

.nrps-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nrps-card h2,
.nrps-card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 950;
}

.nrps-chart {
    position: relative;
    overflow: hidden;
    height: 18rem;
    border-radius: 0.85rem;
    background:
        linear-gradient(to top, rgba(255,255,255,.06) 1px, transparent 1px) 0 0/100% 25%,
        linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/12.5% 100%;
}

.nrps-donut {
    position: relative;
    display: grid;
    place-items: center;
    width: 11rem;
    height: 11rem;
    margin: 0 auto;
    border-radius: 50%;
}

.nrps-donut::after {
    content: "";
    position: absolute;
    inset: 27%;
    border-radius: 50%;
    background: #0b1728;
    border: 1px solid rgba(255,255,255,.08);
}

.nrps-donut > div {
    position: relative;
    z-index: 1;
    text-align: center;
}

.nrps-list {
    display: grid;
    gap: 0.85rem;
}

.nrps-activity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
    font-size: 0.9rem;
}

.nrps-dot {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: #1167ff;
    color: #fff;
    font-weight: 950;
}

.nrps-table-wrap {
    overflow-x: auto;
}

.nrps-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.nrps-table th {
    padding: 0 0.5rem 0.7rem;
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
}

.nrps-table td {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 0.8rem 0.5rem;
    vertical-align: top;
}

.nrps-status {
    display: inline-flex;
    border-radius: 0.55rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.nrps-status.green {
    background: rgba(25,195,125,.15);
    color: #19c37d;
}
.nrps-status.orange {
    background: rgba(255,159,28,.15);
    color: #ff9f1c;
}
.nrps-status.red {
    background: rgba(255,77,90,.15);
    color: #ff4d5a;
}
.nrps-status.blue {
    background: rgba(17,103,255,.15);
    color: #60a5fa;
}

.nrps-progress {
    display: block;
    height: 0.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.nrps-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #1167ff;
}

.nrps-quick {
    display: grid;
    gap: 0.75rem;
}

.nrps-quick a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 0.85rem;
    padding: 0.85rem;
    background: rgba(255,255,255,.04);
}

.nrps-heat {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.45rem;
}

.nrps-heat span {
    height: 1.35rem;
    border-radius: 0.4rem;
    background: rgba(25,195,125,.18);
}

.nrps-heat span:nth-child(3n) {
    background: rgba(25,195,125,.45);
}
.nrps-heat span:nth-child(4n) {
    background: rgba(17,103,255,.45);
}
.nrps-heat span:nth-child(5n) {
    background: rgba(25,195,125,.75);
}
.nrps-heat span:nth-child(7n) {
    background: rgba(255,159,28,.55);
}

@media (max-width: 1180px) {
    .nrps-shell {
        grid-template-columns: 1fr;
    }
    .nrps-sidebar {
        position: static;
        height: auto;
    }
    .nrps-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nrps-col-2,
    .nrps-col-3,
    .nrps-col-4,
    .nrps-col-5,
    .nrps-col-6,
    .nrps-col-7,
    .nrps-col-8 {
        grid-column: span 12;
    }
}

@media (max-width: 720px) {
    .nrps-content {
        padding: 0;
    }
    .nrps-app-header {
        justify-content: flex-start;
        padding: 0.85rem;
    }
    .nrps-topbar {
        flex-direction: column;
    }
    .nrps-actions {
        justify-content: stretch;
        width: 100%;
    }
    .nrps-actions > * {
        width: 100%;
    }
    .nrps-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.copy-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
}

.copy-box input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.84rem;
}

.payment-link-panel .panel-body {
    display: grid;
    gap: 0.8rem;
}

.payment-link-panel {
    margin-bottom: 1rem;
}

.dashboard-shell {
    display: grid;
    gap: 1.15rem;
}

.dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.9rem;
    background:
        linear-gradient(135deg, rgba(36, 36, 155, 0.08), rgba(19, 165, 56, 0.06)),
        #fff;
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.10);
}

.dashboard-hero h1 {
    margin: 0.25rem 0 0;
    color: var(--slate-950);
    font-size: 1.85rem;
    line-height: 1.15;
}

.dashboard-hero p {
    margin: 0.45rem 0 0;
    max-width: 44rem;
    color: var(--slate-600);
}

.dashboard-kicker {
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-scope {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    min-width: min(32rem, 100%);
}

.dashboard-scope select {
    min-height: 2.55rem;
    background: #fff;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 0.2rem 0 -0.25rem;
}

.dashboard-section-heading span {
    color: var(--slate-950);
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-section-heading small {
    color: var(--slate-500);
    font-size: 0.78rem;
    font-weight: 800;
}

.metric-card {
    position: relative;
    overflow: hidden;
    min-height: 8.2rem;
    padding: 1.05rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(28, 35, 90, 0.10);
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
    background: var(--brand);
}

.metric-card span,
.metric-card small,
.daily-bar small {
    color: var(--slate-600);
    font-size: 0.78rem;
    font-weight: 800;
}

.metric-card strong {
    display: block;
    margin-top: 0.9rem;
    color: var(--slate-950);
    font-size: 1.45rem;
    line-height: 1.15;
}

.metric-card small {
    display: block;
    margin-top: 0.55rem;
    font-weight: 700;
}

.metric-blue::before {
    background: var(--blue);
}

.metric-green::before {
    background: var(--green);
}

.metric-red::before {
    background: var(--red);
}

.metric-yellow::before {
    background: var(--yellow);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.status-list {
    display: grid;
    gap: 0.8rem;
}

.status-row {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) minmax(7rem, 2fr) 3rem;
    gap: 0.75rem;
    align-items: center;
}

.status-row small {
    display: block;
    margin-top: 0.25rem;
    color: var(--slate-500);
    font-size: 0.76rem;
    font-weight: 700;
}

.status-meter {
    height: 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf7;
}

.status-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), var(--blue));
}

.status-row strong {
    color: var(--slate-700);
    font-size: 0.82rem;
    text-align: right;
}

.method-mix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.method-mix div {
    min-height: 5.25rem;
    padding: 0.9rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.7rem;
    background: #f8fbff;
}

.method-mix span,
.method-mix small {
    display: block;
    color: var(--slate-600);
    font-size: 0.76rem;
    font-weight: 800;
}

.method-mix strong {
    display: block;
    margin: 0.55rem 0 0.2rem;
    color: var(--slate-950);
}

.daily-bars {
    display: flex;
    min-height: 12rem;
    gap: 0.75rem;
    align-items: end;
}

.daily-bar {
    display: grid;
    flex: 1;
    min-width: 4.4rem;
    gap: 0.35rem;
    text-align: center;
}

.daily-bar > div {
    display: flex;
    align-items: end;
    height: 7.4rem;
    padding: 0 0.3rem;
    border-radius: 0.7rem;
    background: #f1f5fb;
}

.daily-bar > div span {
    display: block;
    width: 100%;
    min-height: 0.35rem;
    border-radius: 0.6rem 0.6rem 0 0;
    background: linear-gradient(180deg, var(--green), var(--brand));
}

.daily-bar strong {
    color: var(--slate-700);
    font-size: 0.78rem;
}

.compact-table {
    border-radius: 0 0 0.8rem 0.8rem;
    box-shadow: none;
}

.share-link-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: center;
}

.share-link-box input {
    min-height: 2.55rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
}

.share-link-box button {
    min-height: 2.55rem;
    white-space: nowrap;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-actions form {
    margin: 0;
}

.share-actions .action-link {
    min-height: 2.15rem;
    align-items: center;
    border: 0;
    cursor: pointer;
}

.check-row {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    color: var(--slate-700);
    font-size: 0.86rem;
    font-weight: 800;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.permission-grid label {
    display: flex;
    gap: 0.65rem;
    min-height: 4.2rem;
    padding: 0.8rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.65rem;
    background: #f8fbff;
}

.permission-grid strong,
.permission-grid small {
    display: block;
}

.permission-grid strong {
    color: var(--slate-900);
    font-size: 0.86rem;
}

.permission-grid small {
    margin-top: 0.15rem;
    color: var(--slate-500);
    font-size: 0.75rem;
}

.whatsapp-link {
    background: rgba(19, 165, 56, 0.1);
    color: #137c31;
}

@media (max-width: 640px) {
    .copy-box,
    .share-link-box {
        grid-template-columns: 1fr;
    }

    .share-link-box button,
    .share-actions .action-link {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .review-layout,
    .detail-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-scope,
    .dashboard-metrics {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .dashboard-metrics {
        display: grid;
    }

    .permission-grid {
        grid-template-columns: 1fr;
    }

    .payout-picker-head {
        align-items: stretch;
        flex-direction: column;
    }

    .payout-settlement-grid {
        grid-template-columns: 1fr;
    }

    .payout-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payout-field-grid .span-2 {
        grid-column: span 2;
    }

    .payout-settlement-head,
    .payout-action-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .payout-settlement-row,
    .payout-settlement-header {
        grid-template-columns: 1fr;
    }

    .payout-settlement-header {
        display: none;
    }
}

@media (max-width: 900px) {
    .auth-shell {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    main {
        padding-block: 1rem;
    }

    .auth-shell {
        width: 100%;
        border-radius: 0.85rem;
    }

    .auth-panel {
        padding: 1.5rem;
    }

    .auth-metrics {
        grid-template-columns: 1fr;
    }

    .payout-field-grid {
        grid-template-columns: 1fr;
    }

    .payout-field-grid .span-2 {
        grid-column: auto;
    }
}

/* Shared table pagination, matching the transaction list footer */
.table-wrap > .tx-footer,
.panel .tx-footer,
.tx-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.45rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    color: #536681;
    font-size: 0.875rem;
    line-height: 1.35;
    background: #ffffff;
}

.tx-footer p {
    margin: 0;
    color: #536681;
}

.tx-pages {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tx-pages .tx-page-btn {
    min-width: 2.5rem;
    height: 2.5rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.6rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tx-pages .tx-page-btn svg {
    width: 1rem;
    height: 1rem;
}

.tx-pages .tx-page-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.tx-pages .tx-page-btn.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
}

.tx-page-gap {
    color: #64748b;
    font-weight: 900;
    padding: 0 0.15rem;
}

.tx-per-page-form {
    margin: 0;
}

.tx-per-page {
    min-width: 7.25rem;
    height: 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.6rem;
    padding: 0 0.75rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 600;
    outline: none;
}

@media (max-width: 720px) {
    .tx-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .tx-pages {
        justify-content: flex-start;
    }
}

/* Final winning layer for payment page pixel layout */
.pay-compact{width:1100px;max-width:calc(100vw - 48px);margin:0 auto}
.pay-topbar{width:1100px;max-width:100%;min-height:96px;display:grid;grid-template-columns:192px minmax(0,1fr) 154px;align-items:center;gap:24px;padding:12px 10px 12px 18px;border:1px solid #dbe4f2;border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(39,54,104,.12)}
.pay-brand-lockup{height:70px;border-right:1px solid #dbe4f2}
.pay-brand-lockup img{width:168px}
.pay-secure-title{gap:16px}.pay-secure-icon{width:48px;height:48px;border-radius:50%;background:#f1f5ff;color:#1154ff;font-size:0;box-shadow:none}
.pay-secure-icon::before{content:"";width:28px;height:28px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' d='M12 3l7 3v5c0 4.4-2.8 8.4-7 10-4.2-1.6-7-5.6-7-10V6l7-3z'/%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M8.8 12.1l2.1 2.1 4.5-4.7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' d='M12 3l7 3v5c0 4.4-2.8 8.4-7 10-4.2-1.6-7-5.6-7-10V6l7-3z'/%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M8.8 12.1l2.1 2.1 4.5-4.7'/%3E%3C/svg%3E") center/contain no-repeat}
.pay-secure-title strong{font-size:18px;line-height:1.1;color:#07123b}.pay-secure-title span:last-child{margin-top:6px;font-size:15px;color:#3f4e76}
.pay-amount{width:154px;min-width:154px;min-height:68px;display:grid;align-content:center;border-radius:12px;padding:10px 12px;background:linear-gradient(135deg,#2722c9,#1768ff);box-shadow:0 15px 30px rgba(36,36,155,.24)}
.pay-amount span{font-size:12px}.pay-amount strong{margin-top:2px;font-size:25px}
.pay-unified{width:1100px;max-width:100%;display:grid;grid-template-columns:650px 430px;gap:20px;margin-top:18px;align-items:stretch; padding: 0px;}
.pay-card{border:1px solid #dbe4f2;border-radius:22px;background:#fff;box-shadow:none}.pay-details-card{width:650px;min-width:0;padding:34px 30px 14px;overflow:hidden}.pay-submit-card{width:430px;min-width:0;padding:34px 32px;box-shadow:0 18px 48px rgba(39,54,104,.12)}
.pay-card-head{min-height:96px}.pay-card-head h1,.pay-submit-card h2{font-size:32px;line-height:1.1;color:#07123b}.pay-card-head h1::after,.pay-submit-card h2::after{width:34px;height:3px;margin-top:14px;background:#1154ff}.pay-card-head p,.pay-submit-card p{margin-top:14px;font-size:16px;color:#394a78}
.pay-hero-art{width:230px;height:200px;top:-28;right:-19}.pay-customer-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:4px;border-radius:14px;background:rgba(255,255,255,.92);box-shadow:0 14px 38px rgba(39,54,104,.08);}
.pay-customer-summary div{min-height:84px;padding:20px 18px 18px 70px}.pay-customer-summary i{left:20px;width:42px;height:42px}.pay-customer-summary i img{width:25px;height:25px;object-fit:contain}.pay-customer-summary span:not(.pay-info-icon){font-size:13px;color:#07123b}.pay-customer-summary strong{margin-top:5px;font-size:14px;color:#07123b; font-weight: 600;}
.pay-method-panel{margin-top:10px}.pay-instruction-box{grid-template-columns:112px minmax(0,1fr) 230px;gap:24px;min-height:250px;border-radius:14px}.pay-phone-art{width:92px;height:172px;margin-left:20px}.pay-instruction-copy{padding:50px 0 30px}.pay-instruction-copy h3{max-width:150px;font-size:24px;line-height:1.35}.pay-title-line{width:34px;height:3px;margin:16px 0 24px}.pay-app-row{gap:12px}.pay-app-row span{font-size:13px}.pay-app-row span:nth-child(3){width:22px;height:22px;font-size:10px}
.pay-qr-frame{margin-right:28px;padding:16px;border-radius:16px}.pay-qr-frame img{width:170px;height:170px}.pay-upi-strip{min-height:74px;padding:14px 22px 14px 92px}.pay-upi-strip::before{left:22px;bottom:16px;width:44px;height:44px;border-radius:12px}.pay-upi-strip span{font-size:12px}.pay-upi-strip strong{font-size:18px}.copy-upi-btn{min-height:40px;border-radius:9px;padding:0 18px;font-size:15px}.pay-details-card::after{margin-top:10px;border-radius:10px;padding:11px 12px;font-size:14px}
.pay-form{gap:22px;margin-top:28px}.pay-form>label>span{font-size:13px; font-weight: 400;}.pay-input-wrap{grid-template-columns:58px minmax(0,1fr);margin-top:10px;border-radius:14px}.pay-input-wrap input{min-height:58px;font-size:16px}.pay-input-wrap b{font-size:24px}.utr-state{margin-top:14px;font-size:12px}
.pay-upload-drop{min-height:106px;grid-template-columns:58px minmax(0,1fr) 92px;padding:20px 22px;border-radius:16px}.pay-upload-drop>strong{width:48px;height:48px;color:#1154ff;font-size:0}.pay-upload-drop>strong::before{content:"";display:block;width:48px;height:48px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M16 16l-4-4-4 4M12 12v9M20 16.5a4.5 4.5 0 0 0-3.8-7.2A6 6 0 0 0 4.5 11.5 4.2 4.2 0 0 0 5 20h2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M16 16l-4-4-4 4M12 12v9M20 16.5a4.5 4.5 0 0 0-3.8-7.2A6 6 0 0 0 4.5 11.5 4.2 4.2 0 0 0 5 20h2'/%3E%3C/svg%3E") center/contain no-repeat}.pay-upload-drop div,.pay-upload-drop b{font-size:16px}.pay-upload-drop small{font-size:13px}.pay-upload-drop button{min-height:48px;border-radius:12px;font-size:16px}
.pay-terms{gap:14px}.pay-terms input{width:18px;min-width:18px;height:18px;min-height:18px}.pay-terms span{font-size:15px}.pay-form button#submitPaymentButton,.pay-provider-status button{min-height:64px;border-radius:13px;font-size:22px}.pay-secure-note{font-size:14px}
.pay-trust-strip{width:1100px;max-width:100%;display:grid;grid-template-columns:repeat(4,1fr);margin-top:14px;border:1px solid #e4ebf6;border-radius:20px;background:#fff;box-shadow:0 16px 38px rgba(39,54,104,.08)}.pay-trust-strip div{position:relative;min-height:78px;padding:18px 18px 16px 78px;border-right:1px solid #dfe7f5}.pay-trust-strip div:last-child{border-right:0}.pay-trust-strip span{position:absolute;left:28px;top:20px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f1f5ff;color:#1154ff;font-size:11px;font-weight:900}.pay-trust-strip strong,.pay-trust-strip small{display:block}.pay-trust-strip strong{color:#07123b;font-size:15px}.pay-trust-strip small{margin-top:4px;color:#3f4e76;font-size:14px}
@media (max-width:1180px){.pay-compact,.pay-topbar,.pay-unified,.pay-trust-strip{width:100%}.pay-unified{grid-template-columns:minmax(0,1fr)}.pay-details-card,.pay-submit-card{width:100%}}
.pay-customer-summary i svg{width:24px;height:24px;color:#fff;stroke-width:2.3}
.pay-secure-icon{display:grid;place-items:center;background:transparent;color:#fff;font-size:0;box-shadow:none}
.pay-secure-icon::before{content:none!important}
.pay-secure-icon i.blue{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#1467ff,#44a6ff);color:#fff;font-style:normal}
.pay-secure-icon i.blue svg{width:26px;height:26px;color:#fff;stroke-width:2.3}
.pay-upi-open{display:none!important}
.pay-instruction-box.is-upi{grid-template-columns:285px 230px;justify-content:space-between;align-items:center}
.pay-instruction-box.is-upi .pay-phone-art{width:250px;height:180px;margin-left:28px;object-fit:contain}
.pay-instruction-box.is-upi .pay-instruction-copy{display:none}
/* Mobile portrait override for payment QR layout */
@media (max-width: 767px) {
  .pay-instruction-box.is-upi .pay-phone-art {
    display: none;
  }
}

/* Auto UPI payment page: compact brand-only override. Scoped to provider-routed pages. */
.pay-compact.pay-auto-upi {
    --nrps-brand: #24249b;
    --nrps-brand-bright: #1f6fff;
    --nrps-yellow: #f4d35e;
    width: 720px;
    max-width: calc(100vw - 28px);
    margin: 0 auto;
}

.pay-auto-upi .pay-topbar {
    width: 100%;
    min-height: 0;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 16px;
    border: 1px solid #dbe6fb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(36, 36, 155, .11);
}

.pay-auto-upi .pay-brand-lockup {
    height: auto;
    border-right: 1px solid #dbe4f2;
}

.pay-auto-upi .pay-brand-lockup img {
    width: 138px;
    max-width: 100%;
    height: auto;
}

.pay-auto-upi .pay-secure-title {
    gap: 12px;
}

.pay-auto-upi .pay-secure-icon i.blue {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #eef3ff;
    color: var(--nrps-brand);
}

.pay-auto-upi .pay-secure-icon i.blue svg {
    width: 23px;
    height: 23px;
    color: var(--nrps-brand);
}

.pay-auto-upi .pay-secure-title strong {
    font-size: 16px;
    color: #07123b;
}

.pay-auto-upi .pay-secure-title span:last-child {
    margin-top: 3px;
    font-size: 13px;
    color: #4b5d86;
}

.pay-auto-upi .pay-amount {
    width: auto;
    min-width: 128px;
    min-height: 0;
    padding: 12px 16px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--nrps-brand), var(--nrps-brand-bright));
    box-shadow: 0 14px 28px rgba(36, 36, 155, .24);
}

.pay-auto-upi .pay-amount span {
    font-size: 11px;
    color: rgba(255, 255, 255, .78);
}

.pay-auto-upi .pay-amount strong {
    font-size: 22px;
    line-height: 1.12;
}

.pay-auto-upi .pay-unified {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    margin-top: 14px;
    align-items: start;
}

.pay-auto-upi .pay-card {
    border: 1px solid #dbe6fb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(36, 36, 155, .10);
}

.pay-auto-upi .pay-details-card,
.pay-auto-upi .pay-submit-card {
    width: auto;
    min-width: 0;
    padding: 20px;
}

.pay-auto-upi .pay-card-head {
    min-height: 0;
    display: block;
}

.pay-auto-upi .pay-card-head h1,
.pay-auto-upi .pay-submit-card h2 {
    font-size: 23px;
    line-height: 1.15;
    color: #07123b;
}

.pay-auto-upi .pay-card-head h1::after,
.pay-auto-upi .pay-submit-card h2::after {
    width: 30px;
    height: 3px;
    margin-top: 9px;
    border-radius: 999px;
    background: var(--nrps-brand-bright);
}

.pay-auto-upi .pay-card-head p,
.pay-auto-upi .pay-submit-card p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #52648f;
}

.pay-auto-upi .pay-hero-art,
.pay-auto-upi .pay-customer-summary,
.pay-auto-upi .pay-method-tabs,
.pay-auto-upi .pay-upi-strip {
    display: none !important;
}

.pay-auto-upi .pay-method-panel {
    margin-top: 14px;
}

.pay-auto-upi .pay-instruction-box.is-upi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 16px;
    border: 1px solid #dbe6fb;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.pay-auto-upi .pay-instruction-box.is-upi .pay-phone-art {
    display: none;
}

.pay-auto-upi .pay-instruction-box.is-upi .pay-instruction-copy {
    display: flex;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
}

.pay-auto-upi .pay-upi-open {
    display: inline-flex !important;
    min-height: 42px;
    flex: 1 1 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(36, 36, 155, .30);
    border-radius: 14px;
    background: #fff;
    color: var(--nrps-brand);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.pay-auto-upi .pay-upi-open:hover {
    background: #f2f5ff;
}

.pay-auto-upi .pay-qr-frame {
    grid-row: 1;
    width: 224px;
    max-width: 100%;
    margin: 0 auto;
    padding: 13px;
    border: 1px solid #dbe6fb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(36, 36, 155, .12);
}

.pay-auto-upi .pay-qr-frame img {
    width: 196px;
    height: 196px;
    object-fit: contain;
}

.pay-auto-upi .pay-qr-unavailable {
    display: grid;
    min-height: 196px;
    place-items: center;
    text-align: center;
}

.pay-auto-upi .pay-qr-unavailable strong {
    color: #07123b;
    font-size: 16px;
    font-weight: 900;
}

.pay-auto-upi .pay-qr-unavailable span {
    max-width: 170px;
    color: #52648f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.pay-auto-upi .provider-status-box,
.pay-auto-upi .provider-timeout-box {
    border: 1px solid #dbe6fb;
    border-radius: 16px;
    background: #f8fbff;
}

.pay-auto-upi .provider-status-box strong {
    color: var(--nrps-brand);
}

.pay-auto-upi .provider-timeout-box strong {
    color: #07123b;
}

.pay-auto-upi .pay-provider-status button {
    min-height: 46px;
    border: 1px solid rgba(36, 36, 155, .32);
    border-radius: 14px;
    background: #fff;
    color: var(--nrps-brand);
    font-size: 14px;
    font-weight: 900;
    box-shadow: none;
}

.pay-auto-upi .pay-provider-status button:hover {
    background: #f2f5ff;
}

.pay-auto-upi::after {
    content: "Do not close this page after completing payment.";
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #d6f1e8;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(36, 36, 155, .06), rgba(244, 211, 94, .16));
    color: #394a78;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 760px) {
    .pay-compact.pay-auto-upi {
        max-width: calc(100vw - 20px);
    }

    .pay-auto-upi .pay-topbar {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 14px;
    }

    .pay-auto-upi .pay-brand-lockup {
        display: none;
    }

    .pay-auto-upi .pay-secure-title {
        min-width: 0;
    }

    .pay-auto-upi .pay-secure-title span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pay-auto-upi .pay-amount {
        min-width: 112px;
        padding: 11px 12px;
    }

    .pay-auto-upi .pay-amount strong {
        font-size: 18px;
    }

    .pay-auto-upi .pay-unified {
        grid-template-columns: 1fr;
    }

    .pay-auto-upi .pay-details-card,
    .pay-auto-upi .pay-submit-card {
        padding: 17px;
    }

    .pay-auto-upi .pay-qr-frame {
        width: 212px;
    }

    .pay-auto-upi .pay-qr-frame img {
        width: 184px;
        height: 184px;
    }
}

/* Auto UPI final plain layout: QR confirmation only, no logo or intent buttons. */
.pay-compact.pay-auto-upi {
    width: 430px;
    max-width: calc(100vw - 24px);
}

.pay-auto-upi .pay-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px;
    border-radius: 20px;
}

.pay-auto-upi .pay-brand-lockup {
    display: none !important;
}

.pay-auto-upi .pay-secure-icon {
    display: none !important;
}

.pay-auto-upi .pay-secure-title {
    min-width: 0;
}

.pay-auto-upi .pay-secure-title strong {
    font-size: 15px;
}

.pay-auto-upi .pay-secure-title span:last-child {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pay-auto-upi .pay-amount {
    min-width: 112px;
    padding: 10px 12px;
    border-radius: 15px;
}

.pay-auto-upi .pay-amount strong {
    font-size: 18px;
}

.pay-auto-upi .pay-unified {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
}

.pay-auto-upi .pay-provider-status {
    order: -1;
}

.pay-auto-upi .pay-details-card,
.pay-auto-upi .pay-submit-card {
    padding: 16px;
    border-radius: 20px;
}

.pay-auto-upi .pay-card-head h1,
.pay-auto-upi .pay-submit-card h2 {
    font-size: 22px;
}

.pay-auto-upi .pay-card-head h1::after,
.pay-auto-upi .pay-submit-card h2::after {
    margin-top: 8px;
}

.pay-auto-upi .pay-card-head p,
.pay-auto-upi .pay-submit-card p {
    margin-top: 9px;
    font-size: 13px;
}

.pay-auto-upi .pay-instruction-box.is-upi {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
}

.pay-auto-upi .pay-instruction-box.is-upi .pay-instruction-copy,
.pay-auto-upi .pay-upi-open {
    display: none !important;
}

.pay-auto-upi .pay-qr-frame {
    width: 218px;
    padding: 12px;
}

.pay-auto-upi .pay-qr-frame img {
    width: 194px;
    height: 194px;
}

.pay-auto-upi .pay-provider-status h2 {
    font-size: 21px;
}

.pay-auto-upi .pay-auto-status-inline {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #dbe6fb;
    border-radius: 18px;
    background: #f8fbff;
    box-shadow: none;
}

.pay-auto-upi .pay-auto-status-inline h2 {
    font-size: 17px;
    line-height: 1.2;
}

.pay-auto-upi .pay-auto-status-inline h2::after {
    display: none;
}

.pay-auto-upi .pay-auto-status-inline p {
    margin-top: 6px;
    font-size: 12px;
}

.pay-auto-upi .provider-status-box,
.pay-auto-upi .provider-timeout-box {
    padding: 13px 14px;
}

.pay-auto-upi .pay-provider-status button {
    min-height: 44px;
}

.pay-auto-upi .pay-auto-status-inline h2,
.pay-auto-upi .pay-auto-status-inline p {
    display: none;
}

.pay-auto-upi .pay-auto-status-inline .provider-status-box,
.pay-auto-upi .pay-auto-status-inline .provider-timeout-box {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
}

.pay-auto-upi .pay-auto-status-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.pay-auto-upi .pay-auto-status-inline .provider-status-box span {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #52648f;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pay-auto-upi .pay-auto-status-inline .provider-timeout-box span {
    display: none;
}

.pay-auto-upi .pay-auto-status-inline .provider-status-box strong {
    font-size: 14px;
    line-height: 1.1;
}

.pay-auto-upi .pay-auto-status-inline .provider-timeout-box strong {
    font-size: 17px;
    line-height: 1;
    color: #07123b;
}

.pay-auto-upi .pay-qr-status-button {
    display: flex;
    width: 224px;
    min-height: 44px;
    margin: 18px auto 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(36, 36, 155, .32);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--nrps-brand), var(--nrps-brand-bright));
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(36, 36, 155, .20);
    cursor: pointer;
}

.pay-auto-upi .pay-details-card > .pay-qr-status-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

.pay-auto-upi .pay-qr-status-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(36, 36, 155, .28);
    filter: brightness(1.04);
}

.pay-auto-upi .pay-auto-status-inline {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.pay-auto-upi .pay-auto-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid #dbe6fb;
    border-radius: 16px;
    background: #f8fbff;
}

.pay-auto-upi .pay-auto-status-row div:first-child {
    min-width: 0;
}

.pay-auto-upi .pay-auto-status-row span {
    display: block;
    color: #52648f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.pay-auto-upi .pay-auto-status-row strong {
    display: block;
    margin-top: 4px;
    color: var(--nrps-brand);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.pay-auto-upi .pay-auto-status-row #providerTimeoutBox {
    min-width: 72px;
    text-align: right;
}

.pay-auto-upi .pay-auto-status-row #providerTimeoutValue {
    color: #07123b;
    font-size: 18px;
}

.pay-manual-timer-card {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
}

.pay-auto-status-inline[hidden],
.pay-manual-timer-card[hidden] {
    display: none !important;
}

.pay-manual-timer-card .pay-auto-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid #dbe6fb;
    border-radius: 16px;
    background: #f8fbff;
}

.pay-manual-timer-card .pay-auto-status-row span {
    display: block;
    color: #52648f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.pay-manual-timer-card .pay-auto-status-row strong {
    display: block;
    margin-top: 4px;
    color: var(--nrps-brand);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.pay-manual-timer-card #manualTimerBox {
    min-width: 72px;
    text-align: right;
}

.pay-manual-timer-card #manualTimerValue {
    color: #07123b;
    font-size: 18px;
}

/* Manual UPI payment page: same simple shell as Auto UPI, with proof submission retained. */
.pay-compact.pay-manual-upi {
    width: 430px;
    max-width: calc(100vw - 24px);
}

.pay-manual-upi .pay-unified {
    grid-template-columns: 1fr;
    gap: 12px;
}

.pay-manual-upi .pay-details-card,
.pay-manual-upi .pay-submit-card {
    width: 100%;
}

.pay-manual-upi .pay-details-card {
    padding-bottom: 16px;
}

.pay-manual-upi .pay-submit-card {
    padding: 16px;
}

.pay-manual-upi .pay-submit-card h2 {
    font-size: 18px;
}

.pay-manual-upi .pay-submit-card h2::after,
.pay-manual-upi .pay-submit-card > p,
.pay-manual-upi .pay-secure-note {
    display: none;
}

.pay-manual-upi .pay-form {
    margin-top: 0;
    gap: 14px;
}

.pay-manual-upi .pay-form > label > span {
    color: #52648f;
    font-size: 12px;
    font-weight: 800;
}

.pay-manual-upi .pay-input-wrap {
    grid-template-columns: 42px minmax(0, 1fr);
    margin-top: 7px;
    border: 1px solid #dbe6fb;
    border-radius: 16px;
    background: #f8fbff;
    box-shadow: none;
}

.pay-manual-upi .pay-input-wrap b {
    font-size: 18px;
    color: var(--nrps-brand);
}

.pay-manual-upi .pay-input-wrap input {
    min-height: 48px;
    font-size: 15px;
}

.pay-manual-upi .utr-state {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
}

.pay-manual-upi .pay-upload-drop {
    min-height: 84px;
    grid-template-columns: 42px minmax(0, 1fr) 82px;
    gap: 10px;
    padding: 13px;
    border: 1px solid #dbe6fb;
    border-radius: 16px;
    background: #f8fbff;
}

.pay-manual-upi .pay-upload-drop > strong,
.pay-manual-upi .pay-upload-drop > strong::before {
    width: 36px;
    height: 36px;
}

.pay-manual-upi .pay-upload-drop div,
.pay-manual-upi .pay-upload-drop b {
    font-size: 13px;
}

.pay-manual-upi .pay-upload-drop small {
    font-size: 11px;
}

.pay-manual-upi .pay-upload-drop button {
    min-height: 38px;
    border-radius: 12px;
    background: #fff;
    color: var(--nrps-brand);
    font-size: 13px;
    font-weight: 900;
}

.pay-manual-upi .pay-terms {
    align-items: flex-start;
    gap: 10px;
}

.pay-manual-upi .pay-terms span {
    font-size: 12px;
    line-height: 1.35;
}

.pay-manual-upi .pay-form button#submitPaymentButton {
    min-height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--nrps-brand), var(--nrps-brand-bright));
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(36, 36, 155, .20);
}

.pay-manual-upi .pay-form button#submitPaymentButton:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(36, 36, 155, .28);
    filter: brightness(1.04);
}

.pay-manual-upi .pay-form button#submitPaymentButton:disabled {
    cursor: not-allowed;
    opacity: .58;
}
