/*
 * ChampPay stylesheet
 * Duplicate declarations consolidated using the original cascade winners.
 * Responsive rules and source-order-sensitive overrides remain in place.
 */

/* Theme tokens. Legacy spellings remain independent for existing overrides. */
:root {
    --ink: #0f1117;
    --ink2: #3a3f52;
    --ink-2: #3a3f52;
    --ink3: #8a90a2;
    --ink-3: #8a90a2;
    --bg: #f6f7fa;
    --bg2: #eef0f5;
    --bg-2: #eef0f5;
    --bg3: #dde1eb;
    --bg-3: #dde1eb;
    --white: #fff;
    --navy: #1e2d4d;
    --accent: #1e2d4d;
    --navy2: #2a3f6e;
    --accent-2: #2a3f6e;
    --navy-l: #e8ecf5;
    --accent-light: #e8ecf5;
    --navy-m: #b8c4dc;
    --accent-mid: #b8c4dc;
    --orange: #f47920;
    --orange2: #d96a15;
    --orange-2: #d96a15;
    --orange-l: #fff3e8;
    --orange-light: #fff3e8;
    --orange-m: #fac998;
    --orange-mid: #fac998;
    --green: #1a7a4a;
    --green-l: #e6f5ed;
    --green-m: #a3d9bc;
    --red: #c0392b;
    --danger: #c0392b;
    --red-l: #fdf0ef;
    --red-m: #f5b7b1;
    --amber: #b45309;
    --amber-l: #fef3c7;
    --amber-m: #fcd34d;
    --blue: #1a4fa0;
    --blue-l: #e6f0ff;
    --blue-m: #93b8f5;
    --purple: #6c47ff;
    --persona: #6c47ff;
    --purple-l: #f0ecff;
    --persona-light: #f0ecff;
    --purple-m: #c9bbff;
    --persona-mid: #c9bbff;
    --r: 12px;
    --radius: 12px;
    --rsm: 8px;
    --radius-sm: 8px;
    --rxs: 6px;
    --shadow: 0 1px 3px rgba(0,0,0,0.07),0 4px 16px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
}

#other-country-select,
.other-country-select {
    font-family: inherit;
    font-size: 14px;
    color: black;
    border: 1px solid #DDE1EB;
    border-radius: 12px;
    padding: 10px 32px 10px 13px;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    background: #F6F7FA url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E%3Cpath fill=%22%239a9895%22 d=%22M6 8L1 3h10z%22/%3E%3C/svg%3E') no-repeat right 12px center;
}

.country-select-card {
    max-width: 800px;
    width: 100%;
    margin-inline: auto;
}

#country-confirm-strip,
#other-country-wrap {
    margin-top: 1rem;
}

.b-submitted {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.b-submitted .btn-arrow {
    width: 18px;
    height: 18px;
}

.welcome-start-button {
    --bs-btn-disabled-bg: #E6F0FF;
    --bs-btn-disabled-border-color: #E6F0FF;
    --bs-btn-disabled-color: #1A4FA0;
    --bs-btn-disabled-opacity: 1;
    --bs-btn-focus-shadow-rgb: 244, 121, 32;
    align-items: center;
    background: #E6F0FF;
    border: 0;
    color: #1A4FA0;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.welcome-start-button:not(:disabled) {
    --bs-btn-bg: var(--orange);
    --bs-btn-border-color: var(--orange);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--orange-2);
    --bs-btn-hover-border-color: var(--orange-2);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--orange-2);
    --bs-btn-active-border-color: var(--orange-2);
    --bs-btn-active-color: #fff;
    background: var(--orange);
    color: #fff;
}

.welcome-start-button:not(:disabled):hover,
.welcome-start-button:not(:disabled):focus-visible {
    background: var(--orange-2);
    box-shadow: 0 3px 8px rgba(244,121,32,0.35);
    color: #fff;
    transform: translateY(-1px);
}

.welcome-start-button:not(:disabled):active {
    background: var(--orange-2);
    color: #fff;
    transform: translateY(0);
}

.application-sidebar .step-item {
    transition: background-color .15s ease, box-shadow .15s ease;
}

.application-sidebar .step-item:hover,
.application-sidebar .step-item:focus-visible {
    background-color: var(--accent-light);
    cursor: pointer;
}

/* FILTERS */
.filters {
    width: 100%;
}

.filter-tabs {
    flex-wrap: nowrap;
    flex: 0 1 auto;
    min-width: 0;
}

.filters-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.search-wrap {
    min-width: 0;
}

.search-wrap .form-control {
    width: 100%;
    padding-right: 2.5rem;
}

.filter-sel {
    flex: 0;
    background-color: var(--white);
    appearance: none;
}

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

    .filter-tabs,
    .filters-row {
        width: 100%;
    }

    .filters-row {
        flex-direction: column;
    }

    .filter-sel {
        width: 100%;
        flex: none;
    }
}

body {
    background-color: #F6F7FA;
}

fieldset legend.required:after {
    content: " *";
    color: red;
}

fieldset legend.required {
    font-weight: bold;
}

label.required:not(.form-check-label):after {
    content: " *";
    color: red;
}

label.required:not(.form-check-label) {
    font-weight: bold;
}

#logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    text-align: left;
}

#logo-name-container {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

#logo-text-champ {
    color: #0F1117;
}

#logo-text-pay {
    color: #F47920;
}

#logo-subtitle {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: grey;
    text-transform: uppercase;
    margin-top: 2px;
}

#intro-title {
    font-family: 'DM Serif Display',serif;
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

#intro-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

#intro-text {
    font-size: 15px;
    color: #8A90A2;
    line-height: 1.65;
    margin-bottom: 3rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

#icon-label-container {
    color: #8A90A2;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

#country-grid-container {
    display: flex;
    justify-content: center;
}

#country-grid-subcontainer {
    background: white;
    border: 1px solid lightgray;
    border-radius: 12px;
    box-shadow: 1px 2px 2px lightgray;
    padding: 2rem 2.25rem;
    text-align: left;
}

#label-start {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8A90A2;
    margin-bottom: 0.6rem;
}

#label-company-registration {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

#label-application {
    font-size: 13px;
    color: #8A90A2;
    margin-bottom: 1.25rem;
}

#country-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 1.25rem;
}

#other-country-select-label {
    font-size: 13px;
    font-weight: 500;
    color: black;
    display: block;
    margin-bottom: 5px;
}

#country-confirm-flag {
    font-size: 1.1rem;
}

#start-btn {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 13px;
    border-radius: 12px;
    border: none;
    cursor: not-allowed;
    background: #DDE1EB;
    color: #8A90A2;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.flag {
    font-size: 1.5rem;
}

.radio {
    display: none;
    accent-color: #e65100;
}

.icon-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8A90A2;
    font-weight: 500;
}

.icon-label i {
    color: inherit;
}

#country-confirm-strip,
#other-country-wrap {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.25rem;
}

#country-confirm-strip {
    display: none;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    background: #E8ECF5;
    border: 1px solid #B8C4DC;
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 1.25rem;
    font-size: 13px;
    color: #2A3F6E;
    align-items: center;
    gap: 8px;
}

#country-confirm-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
}

#dashboard-title {
    font-family: 'DM Serif Display',serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: black;
    letter-spacing: -0.02em;
    margin-bottom: 3px;
}

#dashboard-subtitle {
    font-size: 13px;
    color: #8D93A4;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #DDE1EB;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 1px 2px 2px lightgray;
}

.si-green {
    background: #E6F5ED;
}

.si-red {
    background: #FDF0EF;
}

.si-orange {
    background: #FFF3E8;
}

.si-navy {
    background: #E8ECF5;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.stat-label {
    font-size: 12px;
    color: #9298A9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: #0F1117;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-delta {
    font-size: 12px;
    color: #8E94A5;
    margin-top: 2px;
}

.stat-delta strong {
    color: #1A7A4A;
}

.table-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #DDE1EB;
    box-shadow: 1px 2px 2px lightgray;
    overflow: hidden;
}

.table-hdr {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #DDE1EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

th {
    font-size: 11px;
    font-weight: 600;
    width: 250px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8F95A6;
    padding: 10px 16px;
    text-align: left;
    background: #EEF0F5;
    border-bottom: 1px solid #DDE1EB;
}

thead {
    display: table-header-group;
    vertical-align: middle;
    border-top-color: inherit;
    border-right-color: inherit;
    border-bottom-color: inherit;
    border-left-color: inherit;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-top-color: inherit;
    border-right-color: inherit;
    border-bottom-color: inherit;
    border-left-color: inherit;
}

.hdr-btn-primary {
    background: #F47920;
    color: #fff;
}

.act-btn:hover {
    background: #EEF0F5;
}

.act-btn-primary {
    background: #F47920;
    color: #fff;
    border-color: #F47920;
}

.act-btn-decline {
    color: #C0392B;
    border-color: #C0392B;
}

.b-approved,
.b-ready {
    background: #E6F5ED;
    color: #1A7A4A;
}

.b-declined {
    background: #FDF0EF;
    color: #C0392B;
}

.b-submitted {
    background: #E6F0FF;
    color: #1A4FA0;
}

.b-incomplete,
.b-draft {
    background: #EEF0F5;
    color: #8B91A3;
}

.b-missing {
    background: #FFF3E8;
    color: #F47920;
}

.table-count {
    font-size: 12px;
    color: #9197A8;
}

td {
    padding: 14px 33px;
    font-size: 14px;
    color: #0F1117;
    border-bottom: 1px solid #EEF0F5;
    vertical-align: middle;
}

.td-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.td-biz {
    font-size: 14px;
    font-weight: 500;
    color: #0F1117;
}

.td-brand {
    font-size: 12px;
    color: #8A90A2;
}

.td-date {
    font-size: 13px;
    color: #8A90A2;
}

.mt-3 {
    margin-top: 1rem !important;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.bank-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 5px;
}

.bank-chip.approved {
    background: #E6F5ED;
    color: #1A7A4A;
    border-color: #A3D9BC;
}

.bank-chip.declined {
    background: #FDF0EF;
    color: #C0392B;
    border-color: #F5B7B1;
}

.bank-chip.pending {
    background: #FEF3C7;
    color: #B45309;
    border-color: #FCD34D;
}

.bank-chip {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
}

.missing-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.missing-item {
    font-size: 12px;
    color: #C06F31;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prog-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prog-mini-bar {
    height: 5px;
    background: #dde1eb;
    border-radius: 3px;
    overflow: hidden;
    width: 120px;
}

.prog-mini-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}

.prog-mini-label {
    font-size: 12px;
    color: #8E94A6;
}

a {
    text-decoration: none;
}

.btn-orange {
    background-color: #f97316;
    border-color: #f97316;
    color: #fff;
}

.btn-orange:hover,
.btn-orange:focus {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #fff;
}

@media (max-width: 575.98px) {
    .mobile-card-table thead {
        display: none;
    }

    .mobile-card-table,
    .mobile-card-table tbody,
    .mobile-card-table tr,
    .mobile-card-table td {
        display: block;
        width: 100%;
    }

    .mobile-card-table tr {
        margin: 0 0 1rem;
        padding: 1rem;
        border: 1px solid #e9ecef;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
    }

    .mobile-card-table td {
        border: 0;
        padding: 0.45rem 0;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        text-align: right;
    }

    .mobile-card-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        text-align: left;
    }

    .mobile-card-table td:last-child {
        padding-top: 0.75rem;
        justify-content: flex-start;
    }

    .mobile-card-table td:last-child::before {
        display: none;
    }

    .mobile-card-table .btn {
        width: 100%;
    }
}

.processor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.processor-badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

@media (max-width: 576px) {
    .processor-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 576px) {
    .processor-mobile-list div {
        padding: 2px 0;
        border-bottom: 1px solid #f1f3f5;
    }

    .processor-mobile-list div:last-child {
        border-bottom: 0;
    }
}

.country-quick-card:hover {
    border-color: #F47920 !important;
    box-shadow: 0 0.25rem 1rem #F47920;
    transform: translateY(-1px);
}

.country-quick-card.selected {
    border-color: #F47920 !important;
    color: #F47920;
}

.logo {
    gap: 0;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--ink-3);
    text-transform: uppercase;
    margin-left: 10px;
    align-self: center;
}

.header-badge {
    font-size: 12px;
    color: var(--ink-3);
    background: var(--bg-2);
    padding: 4px 12px;
    border-radius: 20px;
}

.hdr-nav {
    display: flex;
    gap: 4px;
}

.hdr-nav a {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink-3);
    border: 1px solid transparent;
    transition: all 0.15s;
}

.hdr-nav a:hover {
    background: var(--bg-2);
    color: var(--ink);
}

.hdr-nav a.active {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent-mid);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 88px;
}

.progress-label {
    font-size: 12px;
    color: var(--ink-3);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.progress-fill {
    height: 100%;
    background: var(--orange);
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s;
}

.step-item.active {
    background: var(--accent-light);
}

.step-item.active .step-title {
    color: var(--accent);
    font-weight: 600;
}

.step-item.done .step-title {
    color: var(--ink-2);
}

.step-num {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-3);
    background: var(--white);
    margin-top: 1px;
    transition: all 0.2s;
}

.step-item.active .step-num,
.step-item.done .step-num {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.step-num svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 2.5;
    fill: none;
}

.step-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-3);
    margin-bottom: 1px;
}

.step-sub {
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.4;
}

/* pill tags on sidebar */
.step-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 10px;
    margin-top: 4px;
    display: inline-block;
}

.tag-kyb {
    background: var(--accent-light);
    color: var(--accent-2);
}

.tag-kyc {
    background: var(--persona-light);
    color: var(--persona);
}

.tag-processing {
    background: var(--orange-light);
    color: var(--orange-2);
}

.tag-banking {
    background: #e6f0ff;
    color: #1a4fa0;
}

/* Form card */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--bg-3);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.form-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--bg-2);
}

.form-header-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.6rem;
}

.form-type-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.badge-kyb {
    background: var(--accent-light);
    color: var(--accent-2);
}

.badge-kyc {
    background: var(--persona-light);
    color: var(--persona);
}

.badge-processing {
    background: var(--orange-light);
    color: var(--orange-2);
}

.badge-banking {
    background: #e6f0ff;
    color: #1a4fa0;
}

.form-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.form-header p {
    font-size: 13.5px;
    color: var(--ink-3);
    line-height: 1.55;
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
    animation: fadeUp 0.28s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-body {
    padding: 1.75rem 2rem;
}

.form-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Fields */
.field-grid {
    display: grid;
    gap: 1.2rem;
}

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

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

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.req {
    color: var(--orange);
}

.hint {
    font-weight: 400;
    color: var(--ink-3);
    font-size: 12px;
    margin-left: auto;
}

input,
select,
textarea {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    outline: none;
    -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(244,121,32,0.12);
    background: var(--white);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9895' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.input-wrap {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--ink-3);
    pointer-events: none;
}

.input-wrap input {
    padding-left: 26px;
}

.input-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--ink-3);
    pointer-events: none;
    background: var(--bg-2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Radio cards */
.radio-cards {
    display: grid;
    gap: 9px;
}

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

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

.radio-card {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 15px;
    border: 1.5px solid var(--bg-3);
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    background: var(--white);
}

.radio-card:hover {
    border-color: var(--orange-mid);
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card.selected {
    border-color: var(--orange);
    background: var(--orange-light);
}

.radio-card.selected .rc-title {
    color: var(--orange-2);
}

.rc-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1.5px solid var(--bg-3);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.radio-card.selected .rc-check {
    background: var(--orange);
    border-color: var(--orange);
}

.rc-check::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.15s;
}

.radio-card.selected .rc-check::after {
    opacity: 1;
}

.rc-icon {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.rc-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.rc-sub {
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.3;
}

/* Checkbox */
.checkbox-field {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-3);
    background: var(--bg);
    cursor: pointer;
    transition: border-color 0.15s;
}

.checkbox-field:hover {
    border-color: var(--orange-mid);
}

.checkbox-field input[type="checkbox"] {
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--orange);
}

.checkbox-text {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
}

.divider {
    height: 1px;
    background: var(--bg-2);
    margin: 1.5rem 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.9rem;
}

/* Info boxes */
.info-box {
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    display: flex;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.info-box-green {
    background: var(--accent-light);
    border: 1px solid var(--accent-mid);
    color: var(--accent);
}

.info-box-purple {
    background: var(--persona-light);
    border: 1px solid var(--persona-mid);
    color: #3d2499;
}

.info-box-amber {
    background: var(--orange-light);
    border: 1px solid var(--orange-mid);
    color: var(--orange-2);
}

/* Persona handoff */
.persona-handoff {
    background: var(--accent-light);
    border: 1.5px solid var(--accent-mid);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.persona-logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.persona-handoff h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.persona-handoff p {
    font-size: 13px;
    color: var(--accent-2);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.persona-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.persona-step {
    background: white;
    border-radius: var(--radius-sm);
    padding: 12px;
    border: 1px solid var(--accent-mid);
}

.persona-step-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.persona-step-text {
    font-size: 12px;
    color: var(--accent);
    line-height: 1.4;
}

.btn-persona {
    background: var(--orange);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-persona:hover {
    background: var(--orange-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244,121,32,0.35);
}

/* Owners list */
.owners-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1rem;
}

.owner-card {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.owner-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    min-width: 38px;
}

.owner-info {
    flex: 1;
}

.owner-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.owner-meta {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
}

.owner-kyc-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 10px;
    white-space: nowrap;
}

.kyc-pending {
    background: var(--orange-light);
    color: var(--orange-2);
}

.kyc-done {
    background: var(--accent-light);
    color: var(--accent-2);
}

.btn-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-3);
    padding: 4px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    transition: color 0.15s;
}

.btn-remove:hover {
    color: var(--danger);
}

.btn-add-owner {
    background: var(--white);
    border: 1.5px dashed var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 12px;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: var(--ink-3);
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'DM Sans', sans-serif;
}

.btn-add-owner:hover {
    border-color: var(--orange-mid);
    color: var(--orange-2);
    background: var(--orange-light);
}

/* Owner modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    transform: translateY(10px);
    transition: transform 0.2s;
    overflow: hidden;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-scrollbody {
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
    flex: 1;
}

.modal-sub-header {
    padding: 1.5rem 1.75rem 0;
}

.modal h3 {
    color: var(--ink);
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.modal-sub {
    font-size: 13px;
    color: var(--ink-3);
    margin-bottom: 1.25rem;
}

.modal-footer {
    padding: 1rem 1.75rem;
    border-top: 1px solid var(--bg-2);
    flex-shrink: 0;
    background: var(--white);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 1.5rem;
}

/* Review */
.review-section {
    border: 1px solid var(--bg-3);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.review-edit:hover {
    text-decoration: underline;
}

.review-section-header span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.review-edit {
    font-size: 12px;
    color: var(--orange);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.review-row {
    padding: 9px 15px;
    border-bottom: 1px solid var(--bg-2);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.review-label {
    font-size: 11px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.review-value {
    font-size: 13.5px;
    color: var(--ink);
    font-weight: 500;
}

.review-full {
    grid-column: 1 / -1;
}

/* Persona review row */
.persona-review-row {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--bg-2);
}

.persona-review-row:last-child {
    border-bottom: none;
}

.persona-owner-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.persona-owner-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
}

.persona-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
}

.status-verified {
    background: var(--accent-light);
    color: var(--accent-2);
}

.status-pending {
    background: var(--orange-light);
    color: var(--orange-2);
}

/* Buttons */
.btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-primary {
    box-shadow: 0 1px 3px rgba(244,121,32,0.3);
}

.btn-primary:hover {
    box-shadow: 0 3px 8px rgba(244,121,32,0.35);
}

.btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.save-note {
    font-size: 12px;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.save-note svg {
    width: 13px;
    height: 13px;
    stroke: var(--ink-3);
    fill: none;
}

/* Success */
.success-panel {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2.5;
}

.success-panel h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.success-panel p {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.app-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-2);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--ink-2);
    font-family: monospace;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .sidebar {
        position: static;
    }

    .steps-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .step-item {
        padding: 7px 9px;
    }

    .step-sub,
    .step-tag {
        display: none;
    }

    .g2,
    .g3,
    .rc2,
    .rc3,
    .persona-steps {
        grid-template-columns: 1fr;
    }

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

/* ── Sales model cards ── */
.sales-model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 9px;
}

.sm-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 13px 13px 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    transition: all 0.15s;
}

.sm-card:hover {
    border-color: var(--orange-mid);
    background: var(--orange-l);
}

.sm-card.selected {
    border-color: var(--orange);
    background: var(--orange-l);
}

.sm-check {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1.5px solid var(--bg-3);
    background: var(--white);
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.15s;
}

.sm-card.selected .sm-check {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.sm-icon {
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.sm-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.sm-card.selected .sm-title {
    color: var(--orange-2);
}

.sm-sub {
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.35;
    padding-right: 18px;
}

/* ── Shipping method grid ── */
.ship-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.ship-method-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 13px 12px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.ship-method-card:hover {
    border-color: var(--orange-mid);
    background: var(--orange-l);
}

.ship-method-card.selected {
    border-color: var(--orange);
    background: var(--orange-l);
}

.shm-check {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1.5px solid var(--bg-3);
    background: var(--white);
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.15s;
}

.ship-method-card.selected .shm-check {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.shm-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.shm-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
}

.ship-method-card.selected .shm-title {
    color: var(--orange-2);
}

.shm-sub {
    font-size: 11px;
    color: var(--ink-3);
    line-height: 1.3;
}

/* ── Policy rows ── */
.policy-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-row {
    display: grid;
    grid-template-columns: 32px 1fr 280px;
    gap: 12px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.policy-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 2px;
}

.policy-sub {
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.35;
}

.policy-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.policy-status {
    font-size: 11px;
    color: var(--ink-3);
    min-height: 14px;
}

.policy-status.valid {
    color: var(--accent-2);
}

.policy-status.invalid {
    color: var(--danger);
}

/* ── Volume tier grid ── */
.volume-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

.volume-grid .radio-card.disqualify-selected {
    border-color: var(--danger) !important;
    background: var(--red-l, #fdf0ef) !important;
}

.volume-grid .radio-card.disqualify-selected .rc-title {
    color: var(--danger) !important;
}

.volume-grid .radio-card.disqualify-selected .rc-check {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
}

/* ── Settlement currency cards ── */
.settle-currency-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
}

.settle-currency-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 13px 8px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.settle-currency-card:hover {
    border-color: var(--orange-mid);
    background: var(--orange-l);
}

.settle-currency-card.selected {
    border-color: var(--orange);
    background: var(--orange-l);
    box-shadow: 0 0 0 3px rgba(244,121,32,0.1);
}

/* Hide the settlement currency badge; keep selected card border and text. */
.scc-check {
    display: none;
}

.scc-flag {
    font-size: 1.4rem;
    line-height: 1;
}

.scc-code {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.settle-currency-card.selected .scc-code {
    color: var(--orange-2);
}

.scc-name {
    font-size: 10.5px;
    color: var(--ink-3);
    line-height: 1.2;
}

/* ── Additional settlement currency chips ── */
.settle-addl-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.settle-addl-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--bg-3);
    background: var(--white);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.settle-addl-chip:hover {
    border-color: var(--blue-m);
    background: var(--blue-l);
}

.settle-addl-chip.selected {
    border-color: var(--blue);
    background: var(--blue-l);
}

.sac-flag {
    font-size: 1rem;
}

.sac-code {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.settle-addl-chip.selected .sac-code {
    color: var(--blue);
}

/* ── Bank month label grid ── */
.bank-month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.bank-month-card {
    background: var(--bg);
    border: 1px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bmc-file {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bmc-select {
    font-family: inherit;
    font-size: 12px;
    color: var(--ink-2);
    background: var(--white);
    border: 1px solid var(--bg-3);
    border-radius: 6px;
    padding: 5px 8px;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.channel-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.channel-split-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.cs-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cs-label {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    line-height: 1.35;
}

.cs-label span {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 400;
}

.cs-input-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
}

.cs-input {
    width: 62px !important;
    text-align: center;
    padding: 7px 6px !important;
    font-weight: 600;
    font-size: 15px !important;
}

.cs-pct {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-3);
}

.channel-total-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.ct-bar-wrap {
    flex: 1;
    height: 6px;
    background: var(--bg-3);
    border-radius: 4px;
    overflow: hidden;
}

.ct-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--orange);
    transition: width 0.3s, background 0.3s;
}

.ct-bar-fill.over {
    background: var(--danger);
}

.ct-bar-fill.done {
    background: var(--accent);
}

.ct-label {
    font-size: 13px;
    color: var(--ink-2);
    white-space: nowrap;
}

.ct-ok {
    color: var(--accent);
    font-size: 12px;
    margin-left: 6px;
}

.ct-warn {
    color: var(--danger);
    font-size: 12px;
    margin-left: 6px;
}

/* ── Geographic grid ── */
.geo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.geo-item {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--bg);
    border: 1px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.geo-flag {
    flex-shrink: 0;
}

.geo-label {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
}

/* ── Currency chips ── */
.currency-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.currency-chip-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--bg-3);
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.currency-chip-label:hover {
    border-color: var(--orange-mid);
    background: var(--orange-l);
}

.currency-chip-label.selected {
    border-color: var(--orange);
    background: var(--orange-l);
    color: var(--orange-2);
    font-weight: 600;
}

.cc-flag {
    font-size: 1rem;
}

/* ── Payment method cards ── */
.pm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.pm-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 14px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.pm-card:hover {
    border-color: var(--orange-mid);
    background: var(--orange-l);
}

.pm-card.selected {
    border-color: var(--orange);
    background: var(--orange-l);
}

.pm-check {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1.5px solid var(--bg-3);
    background: var(--white);
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.15s;
}

.pm-card.selected .pm-check {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.pm-logo {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-logo svg {
    max-height: 28px;
    max-width: 64px;
}

.pm-name {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-2);
}

.pm-card.selected .pm-name {
    color: var(--orange-2);
}

/* ── Upload zone ── */
.upload-zone {
    border-radius: var(--radius-sm);
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--bg);
}

.upload-zone:hover,
.upload-zone.drag-over {
    background: var(--orange-l);
}

.uz-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.uz-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: 0.25rem;
}

.uz-sub {
    font-size: 12.5px;
    color: var(--ink-3);
}

.uz-link {
    color: var(--orange);
    text-decoration: underline;
    cursor: pointer;
}

.upload-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 0.75rem;
}

.upload-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.uf-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.uf-info {
    flex: 1;
    min-width: 0;
}

.uf-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uf-size {
    font-size: 11.5px;
    color: var(--ink-3);
}

.uf-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--ink-3);
    transition: color 0.15s;
    padding: 0 2px;
}

.uf-remove:hover {
    color: var(--danger);
}

.uf-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent-2);
    white-space: nowrap;
}

.upload-months-check {
    margin-top: 0.5rem;
}

.umc-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--orange-l);
    border: 1px solid var(--orange-mid);
    color: var(--orange-2);
}

.umc-inner.ok {
    background: var(--accent-light);
    border-color: var(--accent-mid);
    color: var(--accent-2);
}

/* ── Acquirer partner cards ── */
.acquirer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.acquirer-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--bg-3);
    border-radius: var(--radius);
    padding: 16px 14px 13px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    transition: all 0.18s;
}

.acquirer-card:hover {
    border-color: var(--accent-mid);
    box-shadow: 0 2px 8px rgba(30,45,77,0.1);
    transform: translateY(-1px);
}

.acquirer-card.selected {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(244,121,32,0.12);
}

.acquirer-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.acq-check {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--bg-3);
    background: var(--white);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.15s;
}

.acquirer-card.selected .acq-check {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.acq-logo-wrap {
    margin-bottom: 2px;
}

.acq-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    min-width: 80px;
    min-height: 38px;
    line-height: 1.2;
    text-align: center;
}

.acq-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.acq-detail {
    font-size: 12px;
    color: var(--ink-3);
    line-height: 1.45;
    flex: 1;
}

.acq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.acq-tag {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 8px;
    background: var(--bg-2);
    color: var(--ink-3);
}

.acquirer-card.selected .acq-tag {
    background: var(--orange-l);
    color: var(--orange-2);
}

.acq-summary {
    margin-top: 0.25rem;
}

.acq-summary-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--accent-light);
    border: 1px solid var(--accent-mid);
    border-radius: var(--radius-sm);
    padding: 12px 15px;
}

.acq-sum-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.acq-sum-title {
    font-size: 13.5px;
    color: var(--accent);
    margin-bottom: 3px;
}

.acq-sum-names {
    font-size: 12px;
    color: var(--accent-2);
    font-weight: 500;
}

.country-quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1.5px solid var(--bg-3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    background: var(--white);
    color: inherit;
    text-align: left;
}

.country-quick-card:hover {
    background: var(--orange-l);
}

.country-quick-card.selected {
    background: var(--orange-l);
    box-shadow: 0 0 0 3px rgba(244,121,32,0.1);
}

.cqc-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.cqc-sub {
    font-size: 11.5px;
    color: var(--ink-3);
}

.country-quick-card.selected .cqc-name {
    color: var(--orange-2);
}

#start-btn:not([disabled]) {
    background: var(--orange);
    color: #fff;
    cursor: pointer;
}

#start-btn:not([disabled]):hover {
    background: var(--orange-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244,121,32,0.3);
}

#step1-country-badge {
    font-size: 13px;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 6px;
}

#main-app {
    display: grid;
}

.step-tag {
    white-space: nowrap;
}

.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    background: var(--bg2);
    border-radius: var(--rsm);
    padding: 3px;
    gap: 2px;
}

.ftab.active {
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.ftab {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: var(--ink3);
    background: transparent;
    transition: all 0.15s;
    white-space: nowrap;
}

.search-wrap {
    position: relative;
    flex: 1;
}

.filter-sel {
    font-family: inherit;
    font-size: 12.5px;
    color: var(--ink2);
    background: var(--white);
    border: 1px solid var(--bg3);
    border-radius: var(--rsm);
    padding: 7px 28px 7px 10px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' hei…wBox='0 0 12 12'%3E%3Cpath fill='%238a90a2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 10;
}

.slideover {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 480px;
    background: var(--white);
    border-left: 1px solid var(--bg3);
    z-index: 500;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}

.slideover-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 249;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.slideover-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.slideover {
    z-index: 250;
}

.so-hdr {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--bg2);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.so-body {
    padding: 1.5rem 1.75rem;
}

.so-key {
    font-size: 13px;
    color: var(--ink3);
    flex-shrink: 0;
    width: 140px;
}

.so-val {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
    text-align: right;
}

.so-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 7px 0;
    border-bottom: 1px solid var(--bg2);
}

.so-section {
    margin-bottom: 1.75rem;
}

.so-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bg2);
}

.so-sub {
    font-size: 13px;
    color: var(--ink3);
}

.so-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--ink3);
    padding: 0;
    line-height: 1;
}

.ci-done {
    color: var(--green);
}

.slideover.open {
    transform: translateX(0);
}

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

.bt-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    position: relative;
}

.bt-info {
    flex: 1;
}

.bt-bank {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 2px;
}

.bt-date {
    font-size: 11.5px;
    color: var(--ink3);
}

.modal-btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.modal-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--rsm);
    border: 1px solid var(--bg3);
    background: var(--white);
    color: var(--ink2);
    cursor: pointer;
    transition: background 0.15s;
}

.bt-reason {
    font-size: 12px;
    color: var(--red);
    background: var(--red-l);
    border-radius: var(--rxs);
    padding: 6px 10px;
    margin-top: 6px;
    line-height: 1.5;
}

.act-btn {
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: var(--rxs);
    border: 1px solid var(--bg3);
    background: var(--white);
    color: var(--ink2);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.ci-done .ci-icon {
    color: #16a34a;
}

.ci-missing .ci-icon {
    color: #dc2626;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans',sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */
header {
    background: var(--white);
    border-bottom: 1px solid var(--bg3);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 200;
}

.logo {
    display: flex;
    align-items: baseline;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo-champ {
    color: var(--navy);
}

.logo-pay {
    color: var(--orange);
}

.logo-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--ink3);
    text-transform: uppercase;
    margin-left: 10px;
    align-self: center;
}

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

.hdr-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: var(--rsm);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ghost {
    background: transparent;
    color: var(--ink2);
    border: 1px solid var(--bg3);
}

.btn-ghost:hover {
    background: var(--bg2);
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f97316;
    --bs-btn-border-color: #f97316;

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ea680c;
    --bs-btn-hover-border-color: #ea680c;

    --bs-btn-focus-shadow-rgb: 249, 115, 22;

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d85d08;
    --bs-btn-active-border-color: #d85d08;

    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #f97316;
    --bs-btn-disabled-border-color: #f97316;
}

.btn-primary:hover {
    background: var(--orange2);
    transform: translateY(-1px);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy2);
    transform: translateY(-1px);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--bg2);
    font-size: 13px;
    color: var(--ink2);
    cursor: pointer;
}

.user-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy-l);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy);
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 2.5rem;
    border-bottom: 1px solid var(--bg3);
    background: var(--white);
    font-size: 12.5px;
    color: var(--ink3);
}

.breadcrumb a {
    color: var(--ink3);
    text-decoration: none;
    cursor: pointer;
}

.breadcrumb a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--bg3);
}

.breadcrumb-cur {
    color: var(--ink2);
    font-weight: 500;
}

/* ── Layout ── */
.page-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.75rem;
    padding: 2rem 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: start;
}

/* ── App hero ── */
.app-hero {
    background: var(--white);
    border-radius: var(--r);
    border: 1px solid var(--bg3);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.hero-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--r);
    background: var(--navy-l);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero-brand {
    font-family: 'DM Serif Display',serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 3px;
}

.hero-biz {
    font-size: 13.5px;
    color: var(--ink3);
    margin-bottom: 8px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hchip {
    font-size: 11.5px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--bg2);
    color: var(--ink3);
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.app-id-badge {
    font-size: 12px;
    font-family: monospace;
    background: var(--bg2);
    color: var(--ink3);
    padding: 4px 12px;
    border-radius: 20px;
}

.status-large {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
}

.sl-approved {
    background: var(--green-l);
    color: var(--green);
}

.sl-pending {
    background: var(--amber-l);
    color: var(--amber);
}

.sl-declined {
    background: var(--red-l);
    color: var(--red);
}

.sl-submitted {
    background: var(--blue-l);
    color: var(--blue);
}

.sl-incomplete {
    background: var(--bg2);
    color: var(--ink3);
}

.sl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* ── Section card ── */
.section-card {
    background: var(--white);
    border-radius: var(--r);
    border: 1px solid var(--bg3);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.sc-hdr {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bg2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-icon {
    font-size: 15px;
}

.sc-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sc-edit {
    font-family: inherit;
    font-size: 12px;
    color: var(--orange);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.sc-edit:hover {
    text-decoration: underline;
}

.sc-body {
    padding: 1.25rem 1.5rem;
}

/* ── KV rows ── */
.kv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.kv-row {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg2);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kv-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.kv-full {
    grid-column: 1/-1;
}

.kv-label {
    font-size: 11px;
    color: var(--ink3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.kv-value {
    font-size: 13.5px;
    color: var(--ink);
    font-weight: 500;
}

.kv-link {
    color: var(--orange);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.kv-link:hover {
    text-decoration: underline;
}

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.b-green {
    background: var(--green-l);
    color: var(--green);
}

.b-red {
    background: var(--red-l);
    color: var(--red);
}

.b-amber {
    background: var(--amber-l);
    color: var(--amber);
}

.b-blue {
    background: var(--blue-l);
    color: var(--blue);
}

.b-navy {
    background: var(--navy-l);
    color: var(--navy2);
}

.b-purple {
    background: var(--purple-l);
    color: var(--purple);
}

.b-gray {
    background: var(--bg2);
    color: var(--ink3);
}

/* ── Progress ring ── */
.progress-ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.prog-ring-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prog-ring-pct {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
}

/* ── Channel bars ── */
.channel-bars {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

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

.cb-label {
    font-size: 12.5px;
    color: var(--ink2);
    width: 110px;
    flex-shrink: 0;
    font-weight: 500;
}

.cb-bar-wrap {
    flex: 1;
    height: 7px;
    background: var(--bg3);
    border-radius: 4px;
    overflow: hidden;
}

.cb-bar {
    height: 100%;
    border-radius: 4px;
    background: var(--orange);
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

.cb-pct {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
    width: 34px;
    text-align: right;
}

/* ── Geo map bars ── */
.geo-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.geo-flag-label {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 160px;
    flex-shrink: 0;
}

.geo-flag {
    font-size: 1rem;
}

.geo-label-txt {
    font-size: 12.5px;
    color: var(--ink2);
    font-weight: 500;
}

.geo-bar-wrap {
    flex: 1;
    height: 6px;
    background: var(--bg3);
    border-radius: 4px;
    overflow: hidden;
}

.geo-bar {
    height: 100%;
    border-radius: 4px;
    background: var(--navy);
    transition: width 0.6s;
}

.geo-pct-val {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
    width: 34px;
    text-align: right;
}

/* ── Payment method logos ── */
.pm-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-logo-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--rxs);
    border: 1px solid var(--bg3);
    background: var(--bg);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink2);
}

.pm-logo-chip svg {
    width: 28px;
    height: 18px;
}

/* ── Currency chips ── */
.currency-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cur-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
}

.cur-active {
    background: var(--orange-l);
    color: var(--orange2);
    border: 1px solid var(--orange-m);
}

.cur-needed {
    background: var(--blue-l);
    color: var(--blue);
    border: 1px solid var(--blue-m);
}

/* ── Acquirer timeline ── */
.acq-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.acq-item {
    display: flex;
    gap: 13px;
    padding: 13px 0;
    position: relative;
}

.acq-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 42px;
    bottom: -2px;
    width: 1.5px;
    background: var(--bg3);
}

.acq-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    z-index: 1;
}

.ad-approved {
    background: var(--green-l);
}

.ad-declined {
    background: var(--red-l);
}

.ad-pending {
    background: var(--amber-l);
}

.ad-submitted {
    background: var(--blue-l);
}

.ad-notsubmitted {
    background: var(--bg2);
}

.acq-info {
    flex: 1;
    min-width: 0;
}

.acq-bank {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}

.acq-meta {
    font-size: 12px;
    color: var(--ink3);
    margin-bottom: 4px;
}

.acq-mid {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    background: var(--green-l);
    color: var(--green);
    padding: 2px 9px;
    border-radius: 10px;
    margin-top: 2px;
}

.acq-reason {
    font-size: 12px;
    color: var(--red);
    background: var(--red-l);
    border: 1px solid var(--red-m);
    border-radius: var(--rxs);
    padding: 8px 11px;
    margin-top: 6px;
    line-height: 1.5;
}

.acq-next-steps {
    font-size: 12px;
    color: var(--amber);
    background: var(--amber-l);
    border: 1px solid var(--amber-m);
    border-radius: var(--rxs);
    padding: 8px 11px;
    margin-top: 5px;
    line-height: 1.5;
}

/* ── Documents ── */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.doc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid var(--bg3);
    border-radius: var(--rsm);
    background: var(--bg);
}

.doc-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-meta {
    font-size: 11.5px;
    color: var(--ink3);
    margin-top: 1px;
}

.doc-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.doc-btn {
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--rxs);
    border: 1px solid var(--bg3);
    background: var(--white);
    color: var(--ink2);
    cursor: pointer;
    white-space: nowrap;
}

.doc-btn:hover {
    background: var(--bg2);
}

/* ── Policy links ── */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid var(--bg3);
    border-radius: var(--rsm);
    background: var(--bg);
}

.policy-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.policy-item-info {
    flex: 1;
}

.policy-item-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1px;
}

.policy-item-url {
    font-size: 11.5px;
    color: var(--orange);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.policy-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green {
    background: var(--green);
}

.dot-amber {
    background: var(--amber);
}

/* ── Fulfillment ── */
.fulfill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.fulfill-stat {
    background: var(--bg);
    border: 1px solid var(--bg3);
    border-radius: var(--rsm);
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fs-label {
    font-size: 11px;
    color: var(--ink3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fs-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

/* ── KYC people ── */
.kyc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kyc-person {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border: 1px solid var(--bg3);
    border-radius: var(--rsm);
    background: var(--bg);
}

.kyc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--purple-l);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple);
    flex-shrink: 0;
}

.kyc-info {
    flex: 1;
}

.kyc-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.kyc-role {
    font-size: 12px;
    color: var(--ink3);
    margin-top: 1px;
}

.kyc-status {
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 10px;
    white-space: nowrap;
}

.application-wizard-layout { min-height: calc(100vh - 60px); }

.qrcode-box {
    width: 260px; height: 260px;
    display: flex; align-items: center; justify-content: center;
}

#qrcode img, #qrcode canvas {
    max-width: 100%; max-height: 100%;
}

.kys-verified {
    background: var(--green-l);
    color: var(--green);
}

.kys-pending {
    background: var(--amber-l);
    color: var(--amber);
}

.kys-sent {
    background: var(--blue-l);
    color: var(--blue);
}

.mini-card {
    background: var(--white);
    border-radius: var(--r);
    border: 1px solid var(--bg3);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.mc-hdr {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--bg2);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 7px;
}

.mc-body {
    padding: 1rem 1.25rem;
}

/* ── Progress checklist ── */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cl-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    border-bottom: 1px solid var(--bg2);
    font-size: 13px;
}

.cl-item:last-child {
    border-bottom: none;
}

.cl-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.cl-done {
    color: var(--green);
}

.cl-miss {
    color: var(--amber);
}

.cl-pend {
    color: var(--blue);
}

.cl-text {
    flex: 1;
    font-weight: 500;
}

.cl-done .cl-text {
    color: var(--ink2);
}

.cl-miss .cl-text {
    color: var(--amber);
}

.cl-pend .cl-text {
    color: var(--blue);
}

/* ── Activity feed ── */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.af-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg2);
    position: relative;
}

.af-item:last-child {
    border-bottom: none;
}

.af-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.af-content {
    flex: 1;
}

.af-text {
    font-size: 12.5px;
    color: var(--ink2);
    line-height: 1.4;
}

.af-time {
    font-size: 11px;
    color: var(--ink3);
    margin-top: 2px;
}

/* ── Tabs ── */
.tab-nav {
    display: flex;
    background: var(--bg2);
    border-radius: var(--rsm);
    padding: 3px;
    gap: 2px;
    margin-bottom: 1.25rem;
}

.tab-btn {
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: var(--ink3);
    background: transparent;
    transition: all 0.15s;
    flex: 1;
    text-align: center;
}

.tab-btn.active {
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ── Sales model pills ── */
.sm-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sm-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 20px;
    background: var(--orange-l);
    color: var(--orange2);
    border: 1px solid var(--orange-m);
}

/* ── Action buttons strip ── */
.action-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* ── Divider ── */
.sc-divider {
    height: 1px;
    background: var(--bg2);
    margin: 1rem 0;
}

.sc-sublabel {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 0.75rem;
}

/* Banking */
.currency-card {
    min-width: 7.5rem;
}

.currency-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.upload-zone {
    cursor: pointer;
    border: 2px dashed var(--bs-border-color);
    transition: border-color 150ms ease, background-color 150ms ease;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
}

.text-cp-blue {
    color: #212f4f;
}

.text-cp-orange {
    color: #f47920;
}

.btn-check:checked + .onboarding-choice-card {
    color: #d85d0b;
    background-color: #fff5eb;
    border-color: #f47721;
    box-shadow: 0 0 0 1px rgba(244, 119, 33, 0.08);
}

.btn-check:focus-visible + .onboarding-choice-card {
    outline: 0;
    border-color: #f47721;
    box-shadow: 0 0 0 0.25rem rgba(244, 119, 33, 0.2);
}

.btn-check:disabled + .onboarding-choice-card {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.btn-check:checked + .onboarding-choice-card .onboarding-choice-card-icon,
.btn-check:checked + .onboarding-choice-card .onboarding-choice-card-title {
    color: #d85d0b;
}

.btn-check:checked + .onboarding-choice-card .onboarding-choice-card-description {
    color: #7e6c60 !important;
}

/* Processing form section headers */
.processing-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

/* Banking choice cards */
.onboarding-choice-card {
    min-height: 92px;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border: 1px solid #d8dfeb;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.onboarding-choice-card:hover {
    color: var(--bs-body-color);
    background-color: #fbfcfe;
    border-color: #aeb9ca;
}

.onboarding-choice-card:active {
    transform: translateY(1px);
}

input.btn-check:checked + .onboarding-choice-card {
    color: #d85d0b;
    background-color: #fff5eb;
    border-color: #f47721;
    box-shadow: 0 0 0 1px rgba(244, 119, 33, 0.08);
}

input.btn-check:focus-visible + .onboarding-choice-card {
    outline: 0;
    border-color: #f47721;
    box-shadow: 0 0 0 0.25rem rgba(244, 119, 33, 0.2);
}

input.btn-check:disabled + .onboarding-choice-card {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.onboarding-choice-card-icon {
    width: 2rem;
    color: var(--bs-secondary-color);
    transition: color 150ms ease;
}

.onboarding-choice-card-title {
    transition: color 150ms ease;
}

input.btn-check:checked + .onboarding-choice-card .onboarding-choice-card-icon,
input.btn-check:checked + .onboarding-choice-card .onboarding-choice-card-title {
    color: #d85d0b;
}

input.btn-check:checked + .onboarding-choice-card .onboarding-choice-card-description {
    color: #7e6c60 !important;
}

/* Processing form panels */
.processing-section-panel {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 0.75rem;
}

.processing-section-panel .form-control,
.processing-section-panel .form-select {
    min-height: 42px;
    background-color: #f8f9fc;
    border-color: #d8dfeb;
    border-radius: 0.55rem;
}

.processing-section-panel textarea.form-control {
    min-height: 110px;
}

.processing-section-panel .form-control:focus,
.processing-section-panel .form-select:focus {
    background-color: #fff;
    border-color: #86a9e8;
    box-shadow: 0 0 0 0.2rem rgba(54, 105, 195, 0.12);
}

/* Processing choice cards */
.processing-choice-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.processing-choice-group > .row {
    align-items: stretch;
}

.processing-choice-question {
    min-height: 3rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.processing-choice-card {
    position: relative;
    min-height: 122px;
    padding: 1rem 2.25rem 1rem 1rem;
    color: var(--bs-body-color);
    background: #fff;
    border: 1px solid #d8dfeb;
    border-radius: 0.6rem;
    cursor: pointer;
    user-select: none;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.processing-choice-card:hover {
    background: #fbfcfe;
    border-color: #aeb9ca;
}

.processing-choice-card:active {
    transform: translateY(1px);
}

.processing-choice-indicator {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 1px solid #d5ddea;
    border-radius: 50%;
}

.processing-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-bottom: 0.5rem;
    color: #607089;
    font-size: 1.25rem;
    line-height: 1;
}

.processing-choice-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

.processing-choice-description {
    display: block;
    margin-top: 0.3rem;
    color: #7c879b;
    font-size: 0.75rem;
    line-height: 1.35;
}

input.btn-check:focus-visible + .processing-choice-card {
    outline: 3px solid rgba(var(--bs-primary-rgb), 0.2);
    outline-offset: 2px;
}

input.btn-check:checked + .processing-choice-card {
    color: #d85d0b;
    background: #fff5eb;
    border-color: #f47721;
    box-shadow: 0 0 0 1px rgba(244, 119, 33, 0.08);
}

input.btn-check:checked + .processing-choice-card .processing-choice-icon {
    color: #e56812;
}

input.btn-check:checked + .processing-choice-card .processing-choice-indicator {
    background: #f47721;
    border-color: #f47721;
}

input.btn-check:checked + .processing-choice-card .processing-choice-indicator::after {
    position: absolute;
    inset: 5px;
    background: #fff;
    border-radius: 50%;
    content: "";
}

input.btn-check:checked + .processing-choice-card .processing-choice-description {
    color: #7e6c60;
}

/* Processing notices */
.processing-notice {
    padding: 1rem;
    color: #30446d;
    background: #eef3ff;
    border: 1px solid #b5c5e8;
    border-radius: 0.6rem;
}

.processing-notice > i {
    color: #5778be;
}

/* Owner cards */
.owner-card {
    border: 1px solid #dfe5ee;
    box-shadow: 0 1px 2px rgba(30, 45, 70, 0.04);
}

.owner-number {
    width: 38px;
    height: 38px;
    font-size: 0.875rem;
}

.owner-address-icon {
    width: 42px;
    height: 42px;
}

.owner-address-panel {
    background: #f8f9fc;
    border: 1px solid #e1e6ef;
}

.owner-empty-state {
    background: #fff;
    border: 1px dashed #cbd3df;
}

.owner-empty-icon {
    width: 52px;
    height: 52px;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .processing-section-panel {
        padding: 1rem;
    }

    .processing-choice-card {
        min-height: 100px;
    }

    .onboarding-choice-card {
        min-height: 84px;
    }

    .owner-address-panel {
        padding: 1rem !important;
    }
}

input[type="radio"].btn-check:checked + .onboarding-choice-card {
    color: #d85d0b;
    background-color: #fff5eb;
    border-color: #f47721;
    box-shadow: 0 0 0 1px rgba(244, 119, 33, 0.08);
}

.partner-matching-notice {
    color: #3523a7;
    background: #f0edff;
    border: 1px solid #c9c0ff;
}

.partner-matching-notice-icon,
.partner-footer-icon {
    width: 2.25rem;
    height: 2.25rem;
}

.letter-spacing-wide {
    letter-spacing: 0.08em;
}

.processor-logo-wrap {
    min-width: 5rem;
    min-height: 2.5rem;
    max-width: calc(100% - 2.5rem);
}

.processor-card {
    min-height: 15rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.processor-card:hover {
    border-color: var(--bs-primary-border-subtle);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.processor-card:has(.processor-select-input:checked) {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .15);
}

/* -----------------------------
   Processor selector
------------------------------ */
.processor-selector {
    z-index: 2;
}

.processor-selector > div,
.processor-selector .form-check {
    margin: 0;
    padding: 0;
}

.processor-selector label,
.processor-selector .form-check-label {
    display: none;
}

.processor-select-input {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    cursor: pointer;
}
/* -----------------------------
   Logo
------------------------------ */
.processor-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 4.75rem;
    padding: .75rem 1.25rem;

    background: #25313d;
    border: 1px solid #364553;
    border-radius: .75rem;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06),
        0 .15rem .35rem rgba(0, 0, 0, .08);
}

.processor-logo {
    display: block;

    max-width: 100%;
    max-height: 3rem;
    width: auto;
    height: auto;

    object-fit: contain;

    /* Helps dark portions of logos remain visible */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2));
}

/* -----------------------------
   Tags
------------------------------ */
.processor-tag {
    display: inline-flex;
    align-items: center;
    padding: .18rem .5rem;
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
}

.processor-logo-light {
    background: #fff;
}

.processor-logo-dark {
    background: #1f2937;
}

.processor-issues-modal {
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
}

.processor-issues-modal .modal-header {
    background: var(--bs-body-bg);
}

.processor-issues-icon {
    width: 2.75rem;
    height: 2.75rem;
    color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
}

.processor-issue-section {
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}

.processor-issue-section-danger {
    border-color: var(--bs-danger-border-subtle);
}

.processor-issue-section-warning {
    border-color: var(--bs-warning-border-subtle);
}

.processor-issue-section-danger .processor-issue-section-header {
    color: var(--bs-danger-text-emphasis);
    background: var(--bs-danger-bg-subtle);
}

.processor-issue-section-warning .processor-issue-section-header {
    color: var(--bs-warning-text-emphasis);
    background: var(--bs-warning-bg-subtle);
}

.processor-issue-status-icon {
    width: 2rem;
    height: 2rem;
    background: var(--bs-body-bg);
}

.processor-issue-list {
    background: var(--bs-body-bg);
}

.processor-issue-item + .processor-issue-item {
    border-top: 1px solid var(--bs-border-color);
}

.processor-issue-item {
    transition: background-color 0.15s ease;
}

.processor-issue-item:hover {
    background: var(--bs-tertiary-bg);
}

.processor-issue-marker {
    width: 1.25rem;
    text-align: center;
    margin-top: 0.15rem;
}

.processor-issues-modal .btn-close {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0.75rem;
    margin: 0;
}

.processor-close-button {
    cursor: pointer;
}

.processor-issues-panel {
    --bs-offcanvas-width: 32rem;
}

.processor-issues-panel .processor-logo-wrap {
    width: 7rem;
    height: 2.75rem;
}

.processor-issue-message {
    word-break: break-word;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .processor-issues-panel {
        --bs-offcanvas-width: 100%;
    }
}

.nav-link {
    color: #1E2D4D;
}

.default-badge {
    background: #1E2D4D;
}

#progressPercent {
    color: #1E2D4D;
}

.hero-icon {
    width: 72px;
    height: 72px;
}

#applicationTabs .nav-link {
    color: var(--bs-secondary-color);
}

#applicationTabs .nav-link.active {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    box-shadow: var(--bs-box-shadow-sm);
}

.bank-check {
    position: relative;
    width: min(100%, 625px);
    aspect-ratio: 625 / 264;
    overflow: hidden;
    border: 1px solid #d8d5cb;
    border-radius: 8px;
    background: #fdfcf8;
    color: #6f6f6f;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.check-header {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    background: #213456;
    color: #fff;
}

.bank-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
}

.fdic {
    margin-right: 108px;
    font-size: 12px;
    color: #d2d8e2;
}

.check-body {
    position: relative;
    height: 162px;
    padding: 13px 22px 16px;
}

.check-top-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.date-field {
    width: 192px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    font-size: 12px;
}

.date-field .line {
    flex: 1;
    border-bottom: 1px solid #a9a9a9;
}

.check-number {
    position: absolute;
    top: 12px;
    right: 53px;
    font-family: "Courier New", monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

.pay-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.payee-field {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.field-label {
    flex-shrink: 0;
    margin-right: 5px;
    font-size: 12px;
}

.field-line {
    display: block;
    flex: 1;
    min-width: 20px;
    border-bottom: 1px solid #a9a9a9;
}

.amount-field {
    display: flex;
    align-items: center;
    gap: 4px;
}

.currency-symbol {
    font-size: 13px;
}

.amount-box {
    width: 121px;
    height: 23px;
    border: 1px solid #b8b8b8;
    border-radius: 4px;
    background: #fff;
}

.written-amount-row {
    display: flex;
    align-items: flex-end;
    margin-top: 7px;
}

.dollars-label {
    margin-left: 3px;
    font-size: 11px;
}

.bottom-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 84px;
    margin-top: 21px;
}

.memo-field,
.signature-field {
    display: flex;
    align-items: flex-end;
}

.signature-field {
    position: relative;
}

.signature-field .field-label {
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 0 3px;
    background: #fdfcf8;
}

.void-stamp {
    position: absolute;
    top: 56px;
    left: 50%;
    z-index: 2;
    color: rgba(221, 72, 59, 0.18);
    font-size: 76px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1;
    transform: translateX(-50%) rotate(-10deg);
    -webkit-text-stroke: 2px rgba(221, 72, 59, 0.45);
}

.micr-section {
    position: relative;
    height: 58px;
    display: grid;
    grid-template-columns: 1.25fr 1.45fr 0.8fr;
    align-items: end;
    padding: 12px 22px 8px;
    background: #f2f0ea;
    border-bottom: 7px solid #cbc8b8;
}

.micr-column {
    position: relative;
    z-index: 2;
}

.micr-number {
    color: #1d3458;
    font-family: "Courier New", monospace;
    font-size: 14px;
    letter-spacing: 3px;
    white-space: nowrap;
}

.micr-label {
    margin-top: 1px;
    color: #777;
    font-size: 9px;
}

.check-column {
    justify-self: center;
    width: 120px;
}

.marker {
    position: absolute;
    top: -11px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ef5c00;
}

.routing-marker {
    left: 100px;
}

.account-marker {
    left: 278px;
}

.marker-label {
    font-size: 9px;
    white-space: nowrap;
}

.marker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6900;
}

.marker-line {
    width: 1px;
    height: 14px;
    background: #ff6900;
}

@media (max-width: 600px) {
    .bank-check {
        font-size: 90%;
    }

    .check-header {
        padding-inline: 16px;
    }

    .bank-name {
        font-size: 15px;
    }

    .fdic {
        margin-right: 70px;
        font-size: 10px;
    }

    .check-body {
        padding-inline: 16px;
    }

    .void-stamp {
        font-size: 58px;
    }

    .micr-section {
        padding-inline: 16px;
    }

    .micr-number {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

.application-sidebar {
    flex: 0 0 320px;
    width: 320px;
    min-width: 320px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
}

.application-wizard-layout {
    width: 100% !important;
    max-width: none !important;
}

.application-wizard-content {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 0 !important;
}

.application-form-container {
    width: 100% !important;
    max-width: 1000px !important;
}

.payment-card {
    background: #f7f9fc;
    border-color: #dce3ef;
}

.payment-submit {
    background-color: #ff762b;
    border-color: #ff762b;
}

.payment-submit:hover,
.payment-submit:focus {
    background-color: #ef6820;
    border-color: #ef6820;
}

.payment-supported {
    background-color: #fff;
    border-color: #dde3ec !important;
}

.payment-security-message {
    background-color: #f8f9fb;
}

.payment-brand-visa,
.payment-brand-amex {
    color: #1a1f71;
}

.payment-paypal-icon {
    color: #003087;
}

.payment-card {
    background-color: #fff;
    border: 1px solid #dde3ec;
}

.payment-method-card {
    background-color: #fff;
    border-color: #d7deea !important;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.payment-method-card:hover {
    border-color: #ff762b !important;
    background-color: #fff8f4;
}

.payment-method-choice:has(.payment-method-input:checked) .payment-method-card {
    border-color: #ff762b !important;
    background-color: #fff8f4;
    box-shadow: 0 0 0 1px #ff762b;
}

.payment-method-choice:has(.payment-method-input:focus-visible) .payment-method-card {
    outline: 3px solid rgba(255, 118, 43, 0.25);
    outline-offset: 2px;
}

.payment-method-icon {
    color: #495057;
}

.payment-option-panel {
    background-color: #fff;
    border-color: #dde3ec !important;
}

.payment-paypal-panel {
    background-color: #f8fbff;
}

.payment-paypal-graphic {
    width: 5rem;
    height: 5rem;
    background-color: #fff;
    border: 1px solid #dbe5f3;
}

.payment-terms {
    border-color: #dde3ec !important;
}

.btn.payment-signup-button {
    width: 100%;
    color: #fff;
    background-color: #ff762b;
    border-color: #ff762b;
}

.btn.payment-signup-button:hover,
.btn.payment-signup-button:focus {
    color: #fff;
    background-color: #eb681f;
    border-color: #eb681f;
}

.btn.payment-signup-button-paypal {
    width: 100%;
    color: #fff;
    background-color: #003087;
    border-color: #003087;
}

.btn.payment-signup-button-paypal:hover,
.btn.payment-signup-button-paypal:focus {
    color: #fff;
    background-color: #00246a;
    border-color: #00246a;
}

.btn.payment-signup-button:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(255, 118, 43, 0.25);
}

.submitted-success-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background-color: #ff762b;
    font-size: 1.5rem;
}

.submitted-description {
    max-width: 36rem;
    line-height: 1.6;
}

.submitted-info-card {
    background-color: #f8f9fb;
    border-color: #dde3ec !important;
}

.btn.application-submit-button {
    color: #fff;
    background-color: #ff762b;
    border-color: #ff762b;
}

.btn.application-submit-button:hover,
.btn.application-submit-button:focus {
    color: #fff;
    background-color: #eb681f;
    border-color: #eb681f;
}

.btn.application-submit-button:active {
    color: #fff;
    background-color: #d95c18;
    border-color: #d95c18;
}

.btn.application-submit-button:focus-visible {
    color: #fff;
    background-color: #eb681f;
    border-color: #eb681f;
    box-shadow: 0 0 0 0.25rem rgba(255, 118, 43, 0.25);
}

.merchant-category-select + .ts-wrapper .ts-dropdown-content {
    max-height: 400px;
}

.phone-number-input-group .phone-country-select + .ts-wrapper {
    flex: 0 0 auto;
    width: auto;
    min-width: 7rem;
}

.phone-number-input-group .phone-country-select + .ts-wrapper .ts-control {
    min-height: 2.625rem;
    background-color: #f8f9fc;
    border-color: #d8dfeb;
    border-radius: 0.55rem 0 0 0.55rem;
}

.phone-number-input-group .phone-country-select + .ts-wrapper .ts-dropdown-content {
    max-height: 16rem;
}

.btn-check:checked + .btn-outline-secondary {
    color: var(--bs-orange);
    background-color: var(--bs-white);
    border-color: var(--bs-orange);
}

.btn-check:checked + .btn-outline-secondary:hover {
    color: var(--bs-orange);
    background-color: var(--bs-orange-bg-subtle);
    border-color: var(--bs-orange);
}

.currency-option {
    min-height: 72px;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    background-color: var(--bs-white);
    color: var(--bs-body-color);
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out, color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.currency-option:hover {
    border-color: var(--bs-secondary-border-subtle);
    background-color: var(--bs-tertiary-bg);
}

.btn-check:checked + .currency-option {
    color: var(--bs-orange);
    border-color: var(--bs-orange);
    background-color: var(--bs-orange-bg-subtle);
    box-shadow: 0 0 0 1px var(--bs-orange);
    position: relative;
}

.btn-check:focus-visible + .currency-option {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.btn-check:disabled + .currency-option {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--bs-tertiary-bg);
}

.currency-option-code {
    font-size: 1rem;
}

.currency-option-flag {
    width: 32px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 3px;
    line-height: 1;
}

.currency-option-flag-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#requested-currencies .currency-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background-color: var(--bs-secondary-bg);
}

#requested-currencies .currency-disabled:hover {
    border-color: var(--bs-border-color);
}

.currency-option.currency-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background-color: var(--bs-secondary-bg);
}

.fulfillment-type-choice .processing-choice-group {
    width: 100%;
}

.fulfillment-type-choice .processing-choice-card {
    min-height: 150px;
    padding: 1.5rem;
}

.fulfillment-type-choice .processing-choice-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.fulfillment-type-choice .processing-choice-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.fulfillment-type-choice .processing-choice-description {
    margin-top: 0.35rem;
    font-size: 0.95rem;
}

.processing-section-panel .form-label,
.processing-section-panel legend.col-form-label {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Payment methods only; load after the page's existing styles. */
.processing-payment-methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.processing-payment-methods legend { float: none; width: 100%; margin: 0 0 2rem; color: #8c91a3; font-size: .9rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.processing-payment-notice { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 2rem; padding: 1.1rem 1.25rem; border: 1px solid #ffc28c; border-radius: .65rem; background: #fcf3e9; color: #c65d16; line-height: 1.55; }
.processing-payment-notice > i { margin-top: .3rem; flex-shrink: 0; }
.processing-payment-notice p { margin: 0; }
.processing-payment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.processing-payment-option { position: relative; min-width: 0; }
.processing-payment-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.processing-payment-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; width: 100%; min-height: 7rem; height: 100%; padding: 1.25rem .5rem .85rem; border: 2px solid #dfe1eb; border-radius: .7rem; background: #fff; color: #3e4256; text-align: center; cursor: pointer; }
.processing-payment-icon { display: flex; align-items: center; justify-content: center; height: 2.4rem; font-size: 2rem; line-height: 1; }
.processing-payment-label { font-size: .95rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.processing-payment-check { position: absolute; top: .55rem; right: .55rem; display: flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; border: 2px solid #dfe1eb; border-radius: 50%; background: #fff; color: #fff; font-size: .75rem; }
.processing-payment-check > i { visibility: hidden; }
.processing-payment-input:checked + .processing-payment-card { border-color: #ef8033; color: #c65d16; }
.processing-payment-input:checked + .processing-payment-card .processing-payment-check { border-color: #ef8033; background: #ef8033; }
.processing-payment-input:checked + .processing-payment-card .processing-payment-check > i { visibility: visible; }
.processing-payment-input:focus-visible + .processing-payment-card { outline: 3px solid #365ecb; outline-offset: 3px; }
.processing-payment-input:not(:disabled) + .processing-payment-card:hover { border-color: #ef8033; }
.processing-payment-input:disabled + .processing-payment-card { opacity: .55; cursor: not-allowed; }
@media (max-width: 575.98px) { .processing-payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .processing-payment-notice { padding: 1rem; } }
