/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════════
   MAIN LAYOUT — Dark navy sidebar + Light body
   ═══════════════════════════════════════════ */

.app-layout[b-t105lv5rnq] {
    display: flex;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    color: #1e293b;
    background: #f0f4f8;
}

/* ── SIDEBAR ── */
.sidebar[b-t105lv5rnq] {
    width: 220px;
    background: #182542;
    border-right: 1px solid #2a5280;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-header[b-t105lv5rnq] {
    box-sizing: border-box;
    height: 91px;
    padding: 14px 16px 14px;
    border-bottom: 1px solid #2a5280;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-label[b-t105lv5rnq] {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #e7ebee;
    text-transform: uppercase;
}

.brand-lockup[b-t105lv5rnq] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-left: 14px;
}

.brand-logo[b-t105lv5rnq] {
    display: block;
    height: 29px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.08) contrast(1.08);
}

.brand-sub[b-t105lv5rnq] {
    font-size: 13px;
    color: #cfdae4;
    margin-top: 3px;
}

.nav-section[b-t105lv5rnq] {
    padding: 4px 12px 8px;
}

.nav-section-home[b-t105lv5rnq] {
    padding: 10px 12px 2px;
}

.nav-section-grow[b-t105lv5rnq] {
    flex: 1;
    overflow-y: auto;
}

.nav-group-label[b-t105lv5rnq] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #8db4d8;
    text-transform: uppercase;
    margin-bottom: 6px;
    padding-left: 4px;
}

.nav-item[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    color: #eaeef3;
    background: transparent;
    margin-bottom: 2px;
    transition: all 0.12s ease;
    text-decoration: none;
    font-weight: 400;
}

.nav-item:hover[b-t105lv5rnq] {
    background: #264d78;
    color: #eaeef3;
}

.nav-item.active[b-t105lv5rnq] {
    background: #2d5a8a;
    color: #fff;
    font-weight: 600;
}

.nav-item.disabled[b-t105lv5rnq] {
    color: #5a7a96;
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.nav-icon[b-t105lv5rnq] {
    width: 1.15rem;
    text-align: center;
    flex-shrink: 0;
    line-height: 0;
}

.nav-icon-svg[b-t105lv5rnq] {
    width: 0.95rem;
    height: 0.95rem;
    stroke-width: 1.9;
    color: #a8c8e4;
    display: block;
}

.nav-item:hover .nav-icon-svg[b-t105lv5rnq] {
    color: #d8ecff;
}

.nav-item.active .nav-icon-svg[b-t105lv5rnq] {
    color: #ffffff;
}

.nav-label[b-t105lv5rnq] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-backdrop[b-t105lv5rnq] {
    display: none;
}

.nav-drawer-toggle[b-t105lv5rnq] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #31567e;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #e8f2ff;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.nav-drawer-toggle:hover[b-t105lv5rnq] {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4975a4;
}

.nav-drawer-toggle-lines[b-t105lv5rnq] {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.nav-drawer-toggle-lines span[b-t105lv5rnq] {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

.app-layout.nav-drawer-open .nav-drawer-toggle-lines span:nth-child(1)[b-t105lv5rnq] {
    transform: translateY(6px) rotate(45deg);
}

.app-layout.nav-drawer-open .nav-drawer-toggle-lines span:nth-child(2)[b-t105lv5rnq] {
    opacity: 0;
}

.app-layout.nav-drawer-open .nav-drawer-toggle-lines span:nth-child(3)[b-t105lv5rnq] {
    transform: translateY(-6px) rotate(-45deg);
}

.user-menu-container[b-t105lv5rnq] {
    position: relative;
}

.user-info-btn[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.12s;
}

.user-info-btn:hover[b-t105lv5rnq] {
    background: rgba(255, 255, 255, 0.05);
    border-color: #2a5280;
}

.user-info[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar[b-t105lv5rnq] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2d5a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #e8f2ff;
    flex-shrink: 0;
}

.user-details[b-t105lv5rnq] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.user-name[b-t105lv5rnq] {
    font-size: 16px;
    font-weight: 700;
    color: #e8f2ff;
    line-height: 1.2;
}

.user-role[b-t105lv5rnq] {
    font-size: 12px;
    color: #a0bcd8;
    line-height: 1.2;
}

.user-menu-backdrop[b-t105lv5rnq] {
    position: fixed;
    inset: 0;
    z-index: 99;
    cursor: default;
}

.user-menu-dropdown[b-t105lv5rnq] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid #d5d9e0;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow: hidden;
    min-width: 120px;
    animation: dropIn-b-t105lv5rnq 0.12s ease-out;
}

.user-menu-item[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.08s;
    width: 100%;
    text-align: left;
}

.user-menu-item:hover[b-t105lv5rnq] {
    background: #f0f4f8;
    color: #1e293b;
}

.user-menu-item.logout-item:hover[b-t105lv5rnq] {
    background: #fee2e2;
    color: #dc2626;
}

.menu-icon[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-icon-svg[b-t105lv5rnq] {
    width: 14px;
    height: 14px;
    stroke-width: 1.8;
    color: currentColor;
    display: block;
}

.menu-text[b-t105lv5rnq] {
    white-space: nowrap;
}

@keyframes dropIn-b-t105lv5rnq {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── MAIN BODY ── */
.main-body[b-t105lv5rnq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

/* ── CONTEXT BAR ── */
.context-bar[b-t105lv5rnq] {
    padding: 20px 35px 15px 25px;
    background: #182542;
    border-bottom: 1px solid #2a5280;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 50;
    overflow: visible;
}

.context-left[b-t105lv5rnq] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
}

.context-left > .nav-drawer-toggle[b-t105lv5rnq] {
    margin-top: -2px;
}

.context-left > .context-label[b-t105lv5rnq] {
    padding-top: 11px;
}

.merchant-stack[b-t105lv5rnq] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.merchant-row[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.merchant-processing-method[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    padding-left: 2px;
    font-size: 11px;
    white-space: nowrap;
}

.processing-method-label[b-t105lv5rnq] {
    color: #b8d4ee;
    font-weight: 600;
}

.processing-method-value[b-t105lv5rnq] {
    color: #e8f2ff;
    font-weight: 500;
}

.payment-search[b-t105lv5rnq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 340px;
}

.search-row[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
}

.search-scope[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: 80px;
    margin-top: 2px;
}

.context-right[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 2px;
}

.search-input-wrap[b-t105lv5rnq] {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.payment-search-input[b-t105lv5rnq] {
    width: 360px;
    max-width: 100%;
    padding: 7px 28px 7px 12px;
    background: #ffffff;
    border: 1px solid #b0c4d8;
    border-radius: 6px;
    color: #1e293b;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    min-height: 34px;
    min-width: 150px;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.payment-search-input[b-t105lv5rnq]::placeholder {
    color: #94a3b8;
}

.payment-search-input:focus[b-t105lv5rnq] {
    border-color: #4a8bbf;
}

.search-action-buttons[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-clear-btn[b-t105lv5rnq] {
    position: absolute;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
}

.search-clear-btn:hover[b-t105lv5rnq] {
    color: #475569;
    background: #e2e8f0;
}

.search-action-btn[b-t105lv5rnq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: #264d78;
    border: 1px solid #3a6a9a;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.12s;
}

.search-action-btn:hover:not(.disabled)[b-t105lv5rnq] {
    background: #2d5a8a;
    color: #e8f2ff;
    border-color: #4975a4;
}

.search-action-btn.disabled[b-t105lv5rnq] {
    opacity: 0.5;
    cursor: not-allowed;
}

.search-action-icon[b-t105lv5rnq] {
    width: 12px;
    height: 12px;
    stroke-width: 2;
    display: block;
}


.scope-option[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #d0e0f0;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    font-weight: 500;
}

.scope-option input[type="checkbox"][b-t105lv5rnq] {
    accent-color: #4a8bbf;
    cursor: pointer;
    margin: 0;
    width: 13px;
    height: 13px;
}

.context-label[b-t105lv5rnq] {
    font-size: 12px;
    color: #b8d4ee;
    white-space: nowrap;
    font-weight: 600;
}

.status-badge[b-t105lv5rnq] {
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.status-badge.active[b-t105lv5rnq] {
    background: #1b3a2d;
    color: #34d399;
}

.status-badge.suspended[b-t105lv5rnq] {
    background: #3a2e1b;
    color: #fbbf24;
}

.merchant-open-btn[b-t105lv5rnq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 24px;
    padding: 0;
    background: #264d78;
    border: 1px solid #3a6a9a;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.12s;
}

.merchant-open-btn:hover[b-t105lv5rnq] {
    background: #2d5a8a;
    color: #e8f2ff;
    border-color: #4975a4;
}

.merchant-open-icon[b-t105lv5rnq] {
    width: 8px;
    height: 8px;
    stroke-width: 2;
    display: block;
}

.clear-btn[b-t105lv5rnq] {
    padding: 4px 10px;
    background: #264d78;
    border: 1px solid #3a6a9a;
    border-radius: 4px;
    color: #c0d4ea;
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.12s;
}

.clear-btn:hover[b-t105lv5rnq] {
    background: #2d5a8a;
    color: #e8f2ff;
}

/* ── CONTENT AREA ── */
.content-area[b-t105lv5rnq] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f0f4f8;
}

/* ── FOOTER ── */
.footer[b-t105lv5rnq] {
    padding: 7px 24px;
    background: #e8ecf2;
    border-top: 1px solid #d5d9e0;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
}

/* ── IMPERSONATION BANNER ── */
.impersonation-banner[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 25px;
    background: #92400e;
    color: #fef3c7;
    font-size: 13px;
    font-weight: 500;
}

.impersonation-text strong[b-t105lv5rnq] {
    color: #ffffff;
}

.impersonation-exit[b-t105lv5rnq] {
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #fef3c7;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.12s;
}

.impersonation-exit:hover[b-t105lv5rnq] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ── IMPERSONATION MODAL ── */
.impersonation-backdrop[b-t105lv5rnq] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 200;
}

.impersonation-modal[b-t105lv5rnq] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 70vh;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    z-index: 201;
    display: flex;
    flex-direction: column;
    animation: dropIn-b-t105lv5rnq 0.15s ease-out;
}

.impersonation-modal-header[b-t105lv5rnq] {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

.impersonation-search-bar[b-t105lv5rnq] {
    position: relative;
    padding: 12px 16px 8px;
    border-bottom: 1px solid #e2e8f0;
}

.impersonation-search-input[b-t105lv5rnq] {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.impersonation-search-input[b-t105lv5rnq]::placeholder {
    color: #94a3b8;
}

.impersonation-search-input:focus[b-t105lv5rnq] {
    border-color: #4a8bbf;
    background: #ffffff;
}

.impersonation-search-clear[b-t105lv5rnq] {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
}

.impersonation-search-clear:hover[b-t105lv5rnq] {
    color: #475569;
    background: #e2e8f0;
}

.impersonation-modal-body[b-t105lv5rnq] {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.impersonation-loading[b-t105lv5rnq] {
    padding: 24px 20px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.platform-item[b-t105lv5rnq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    text-align: left;
    transition: background 0.08s;
}

.platform-item:hover[b-t105lv5rnq],
.platform-item-highlighted[b-t105lv5rnq] {
    background: #e8f0fe;
}

.platform-item-highlighted .platform-name[b-t105lv5rnq] {
    color: #1a56db;
}

.platform-name[b-t105lv5rnq] {
    font-weight: 500;
    color: #1e293b;
}

.platform-id[b-t105lv5rnq] {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.impersonation-modal-footer[b-t105lv5rnq] {
    padding: 12px 20px;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

.impersonation-cancel[b-t105lv5rnq] {
    padding: 6px 16px;
    background: #f1f5f9;
    border: 1px solid #d5d9e0;
    border-radius: 4px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.08s;
}

.impersonation-cancel:hover[b-t105lv5rnq] {
    background: #e2e8f0;
    color: #1e293b;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
    .nav-drawer-toggle[b-t105lv5rnq] {
        display: inline-flex;
    }

    .sidebar[b-t105lv5rnq] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 82vw);
        transform: translateX(calc(-100% - 18px));
        transition: transform 0.18s ease, box-shadow 0.18s ease;
        z-index: 140;
        overflow-y: auto;
    }

    .app-layout.nav-drawer-open .sidebar[b-t105lv5rnq] {
        transform: translateX(0);
        box-shadow: 0 22px 60px rgba(15, 23, 42, 0.45);
    }

    .sidebar-backdrop[b-t105lv5rnq] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease;
        z-index: 130;
    }

    .app-layout.nav-drawer-open .sidebar-backdrop[b-t105lv5rnq] {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-header[b-t105lv5rnq] {
        position: sticky;
        top: 0;
        background: #182542;
        z-index: 1;
    }

    .brand-lockup[b-t105lv5rnq] {
        margin-left: 8px;
    }

    .brand-logo[b-t105lv5rnq] {
        height: 24px;
    }

    .brand-sub[b-t105lv5rnq] {
        font-size: 11px;
    }

    .nav-item[b-t105lv5rnq] {
        padding: 7px 10px;
        font-size: 12px;
        gap: 0.35rem;
    }

    .nav-icon-svg[b-t105lv5rnq] {
        width: 0.9rem;
        height: 0.9rem;
    }

    .context-bar[b-t105lv5rnq] {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 16px 16px 12px 16px;
    }

    .context-left[b-t105lv5rnq] {
        flex: 1 1 420px;
    }

    .payment-search[b-t105lv5rnq] {
        order: 3;
        flex: 1 1 100%;
        align-items: flex-start;
    }

    .search-row[b-t105lv5rnq] {
        width: 100%;
    }

    .search-input-wrap[b-t105lv5rnq] {
        flex: 0 1 360px;
    }

    .search-scope[b-t105lv5rnq] {
        margin-left: 0;
        gap: 16px;
        flex-wrap: wrap;
    }

    .context-right[b-t105lv5rnq] {
        margin-left: auto;
    }

    .content-area[b-t105lv5rnq] {
        padding: 20px 16px;
    }

    .user-name[b-t105lv5rnq] {
        font-size: 14px;
    }

    .user-avatar[b-t105lv5rnq] {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .impersonation-banner[b-t105lv5rnq] {
        padding: 8px 16px;
    }

    .impersonation-modal[b-t105lv5rnq] {
        width: min(420px, calc(100vw - 32px));
    }
}

/* ── PHONE ── */
@media (max-width: 768px) {
    .sidebar[b-t105lv5rnq] {
        width: min(300px, 88vw);
    }

    .sidebar-header[b-t105lv5rnq] {
        padding: 10px 16px;
    }

    .brand-lockup[b-t105lv5rnq] {
        margin-left: 0;
    }

    .brand-logo[b-t105lv5rnq] {
        height: 22px;
    }

    .brand-sub[b-t105lv5rnq] {
        font-size: 12px;
    }

    .nav-item[b-t105lv5rnq] {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 4px;
    }

    .nav-icon-svg[b-t105lv5rnq] {
        width: 0.85rem;
        height: 0.85rem;
    }

    .context-bar[b-t105lv5rnq] {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "hamburger . user"
            "label merchant merchant"
            "search search search";
        column-gap: 10px;
        row-gap: 10px;
        padding: 12px 16px;
    }

    .context-left[b-t105lv5rnq] {
        display: contents;
    }

    .context-left > .nav-drawer-toggle[b-t105lv5rnq] {
        grid-area: hamburger;
        margin-top: 0;
        align-self: center;
    }

    .context-left > .context-label[b-t105lv5rnq] {
        grid-area: label;
        padding-top: 6px;
    }

    .merchant-stack[b-t105lv5rnq] {
        grid-area: merchant;
    }

    .payment-search[b-t105lv5rnq] {
        grid-area: search;
        min-width: 0;
    }

    .context-right[b-t105lv5rnq] {
        grid-area: user;
        margin-left: 0;
        justify-content: flex-end;
    }

    .user-details[b-t105lv5rnq] {
        display: none;
    }

    .search-row[b-t105lv5rnq] {
        flex-wrap: wrap;
    }

    .content-area[b-t105lv5rnq] {
        padding: 16px 12px;
        overflow-x: auto;
    }

    .footer[b-t105lv5rnq] {
        padding: 6px 12px;
        font-size: 10px;
    }

    .impersonation-banner[b-t105lv5rnq] {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .impersonation-modal[b-t105lv5rnq] {
        width: calc(100vw - 24px);
        height: 80vh;
    }
}

/* ── SMALL PHONE ── */
@media (max-width: 480px) {
    .sidebar-header[b-t105lv5rnq] {
        padding: 8px 12px;
    }

    .brand-logo[b-t105lv5rnq] {
        height: 18px;
    }

    .nav-item[b-t105lv5rnq] {
        padding: 5px 8px;
        font-size: 11px;
    }

    .context-bar[b-t105lv5rnq] {
        padding: 10px 12px;
        gap: 8px;
    }

    .context-label[b-t105lv5rnq] {
        font-size: 11px;
    }

    .content-area[b-t105lv5rnq] {
        padding: 12px 8px;
    }

    .user-avatar[b-t105lv5rnq] {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .status-badge[b-t105lv5rnq] {
        font-size: 9px;
        padding: 2px 6px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-abh4mo6g8w] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-abh4mo6g8w] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-abh4mo6g8w] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-abh4mo6g8w] {
    font-size: 1.1rem;
}

.bi[b-abh4mo6g8w] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-abh4mo6g8w] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-abh4mo6g8w] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-abh4mo6g8w] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-abh4mo6g8w] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-abh4mo6g8w] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-abh4mo6g8w] {
        padding-bottom: 1rem;
    }

    .nav-item[b-abh4mo6g8w]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-abh4mo6g8w]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-abh4mo6g8w]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-abh4mo6g8w] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-abh4mo6g8w] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-abh4mo6g8w] {
        display: none;
    }

    .nav-scrollable[b-abh4mo6g8w] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-gns5pdes43],
.components-reconnect-repeated-attempt-visible[b-gns5pdes43],
.components-reconnect-failed-visible[b-gns5pdes43],
.components-pause-visible[b-gns5pdes43],
.components-resume-failed-visible[b-gns5pdes43],
.components-rejoining-animation[b-gns5pdes43] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-retrying[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-failed[b-gns5pdes43],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-gns5pdes43] {
    display: block;
}


#components-reconnect-modal[b-gns5pdes43] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-gns5pdes43 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-gns5pdes43 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-gns5pdes43 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-gns5pdes43]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-gns5pdes43 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-gns5pdes43 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-gns5pdes43 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-gns5pdes43 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-gns5pdes43] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-gns5pdes43] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-gns5pdes43] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-gns5pdes43] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-gns5pdes43] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-gns5pdes43] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-gns5pdes43] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-gns5pdes43 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-gns5pdes43] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-gns5pdes43 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/AcceptInvite.razor.rz.scp.css */
/* ── Accept Invite Page — matches Login page styling ── */

.ai-shell[b-mj68wpqeqz] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e2d45 0%, #2a4060 50%, #1a2a40 100%);
    padding: 20px;
}

.ai-panel[b-mj68wpqeqz] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    padding: 40px 36px;
    width: 420px;
    max-width: 90vw;
    animation: slideUp-b-mj68wpqeqz 0.3s ease-out;
}

.ai-header[b-mj68wpqeqz] {
    text-align: center;
    margin-bottom: 28px;
}

.ai-kicker[b-mj68wpqeqz] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3b6e3b;
    margin: 0 0 8px 0;
}

.ai-header h1[b-mj68wpqeqz] {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* ── Error / Success Boxes ── */

.ai-error-box[b-mj68wpqeqz] {
    background: #fbe9e7;
    border: 1px solid #ef9a9a;
    color: #c62828;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ai-error-box p[b-mj68wpqeqz] {
    margin: 0 0 8px 0;
}

.ai-error-box p:last-child[b-mj68wpqeqz] {
    margin-bottom: 0;
}

.ai-success-box[b-mj68wpqeqz] {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ai-success-box p[b-mj68wpqeqz] {
    margin: 0 0 8px 0;
}

.ai-success-box p:last-child[b-mj68wpqeqz] {
    margin-bottom: 0;
}

.ai-success-box strong[b-mj68wpqeqz] {
    color: #1b5e20;
}

.ai-form-error[b-mj68wpqeqz] {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 4px;
}

/* ── Form ── */

.ai-form[b-mj68wpqeqz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-field[b-mj68wpqeqz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-field label[b-mj68wpqeqz] {
    font-size: 12px;
    font-weight: 600;
    color: #4a6a8a;
}

.ai-field input[b-mj68wpqeqz] {
    height: 38px;
    border: 1px solid #bcc6d2;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1a2332;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ai-field input:focus[b-mj68wpqeqz] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

.ai-field input:disabled[b-mj68wpqeqz] {
    background: #f0f4f8;
    color: #5a7090;
    cursor: not-allowed;
}

/* ── Buttons ── */

.ai-submit-btn[b-mj68wpqeqz] {
    height: 42px;
    background: #3b6e3b;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s;
    margin-top: 4px;
}

.ai-submit-btn:hover:not(:disabled)[b-mj68wpqeqz] {
    background: #2d5a2d;
}

.ai-submit-btn:disabled[b-mj68wpqeqz] {
    opacity: 0.5;
    cursor: default;
}

.ai-footer-link[b-mj68wpqeqz] {
    text-align: center;
    margin-top: 20px;
}

.ai-footer-link a[b-mj68wpqeqz] {
    color: #3b6e9f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ai-footer-link a:hover[b-mj68wpqeqz] {
    text-decoration: underline;
}

.ai-login-btn[b-mj68wpqeqz] {
    display: inline-block;
    padding: 10px 24px;
    background: #3b6e3b;
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.15s;
}

.ai-login-btn:hover[b-mj68wpqeqz] {
    background: #2d5a2d;
    text-decoration: none !important;
}

/* ── Animations ── */

@keyframes slideUp-b-mj68wpqeqz {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .ai-panel[b-mj68wpqeqz] {
        padding: 30px 24px;
    }
}
/* /Components/Pages/ApiConfiguration/MerchantAPIConfiguration.razor.rz.scp.css */
/* ── Merchant API Configuration Page ── */

.ac-page[b-muhin20pv2] {
    max-width: 975px;
    margin: 0 auto;
}

/* ── Two-Column Layout ── */

.ac-columns[b-muhin20pv2] {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    align-items: start;
}

.ac-col-side[b-muhin20pv2] {
    position: sticky;
    top: var(--sticky-top, 65px);
}

/* ── Cards ── */

.ac-card[b-muhin20pv2] {
    background: #ffffff;
    border: 1px solid #dfe4ee;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ac-card-header[b-muhin20pv2] {
    background: #f8f9fc;
    padding: 12px 16px;
    border-bottom: 1px solid #e8ecf3;
    border-radius: 8px 8px 0 0;
}

.ac-card-header h2[b-muhin20pv2] {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #3f62a6;
}

.ac-card-header-with-action[b-muhin20pv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ac-card-body[b-muhin20pv2] {
    padding: 16px;
}

.ac-card-sticky[b-muhin20pv2] {
    margin-bottom: 0;
}

/* ── API Documentation ── */

.ac-doc-description[b-muhin20pv2] {
    margin: 0 0 12px 0;
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}

.ac-doc-link[b-muhin20pv2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #3f62a6;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 5px;
    transition: background 0.15s ease;
}

.ac-doc-link:hover[b-muhin20pv2] {
    background: #f0f3f8;
    text-decoration: none;
}

/* ── No Merchant Prompt ── */

.ac-no-merchant[b-muhin20pv2] {
    text-align: center;
    padding: 48px 24px;
    background: #fafbfd;
    border: 1px dashed #d0d7e2;
    border-radius: 8px;
    margin-bottom: 16px;
}

.ac-no-merchant h2[b-muhin20pv2] {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
}

.ac-no-merchant p[b-muhin20pv2] {
    margin: 0;
    font-size: 13px;
    color: #718096;
}

/* ── Credentials ── */

.ac-credentials-table[b-muhin20pv2] {
    width: 100%;
    border-collapse: collapse;
}

.ac-credentials-table td[b-muhin20pv2] {
    padding: 6px 0;
    font-size: 13px;
    vertical-align: top;
}

.ac-cred-label[b-muhin20pv2] {
    color: #555;
    font-weight: 600;
    width: 120px;
    padding-right: 12px;
}

.ac-cred-value[b-muhin20pv2] {
    color: #333;
    font-family: 'Consolas', 'Monaco', monospace;
}

.ac-cred-highlight[b-muhin20pv2] {
    color: #990000;
    font-weight: 600;
}

.ac-cred-note[b-muhin20pv2] {
    font-size: 11px;
    color: #888;
    margin: 12px 0 0 0;
}

/* ── Loading / Empty ── */

.ac-loading[b-muhin20pv2] {
    font-size: 13px;
    color: #888;
    padding: 6px 0;
}

.ac-empty-state[b-muhin20pv2] {
    font-size: 13px;
    color: #888;
    padding: 6px 0;
}

/* ── Page-level Sticky Error ── */

.ac-page-error[b-muhin20pv2] {
    position: sticky;
    top: var(--sticky-top, 65px);
    z-index: 19;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fdf2f2;
    border: 1px solid #f5c6c6;
    color: #c0392b;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}

.ac-page-error-close[b-muhin20pv2] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #c0392b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.ac-page-error-close:hover[b-muhin20pv2] {
    background: rgba(192, 57, 43, 0.1);
}

/* ── Inline Alerts ── */

.ac-alert[b-muhin20pv2] {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 14px;
}

.ac-alert-error[b-muhin20pv2] {
    background: #fdf2f2;
    border: 1px solid #f5c6c6;
    color: #c0392b;
}

.ac-add-alert[b-muhin20pv2] {
    text-align: center;
}

/* ── Buttons ── */

.ac-btn[b-muhin20pv2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}

.ac-btn:disabled[b-muhin20pv2] {
    opacity: 0.5;
    cursor: default;
}

.ac-btn-primary[b-muhin20pv2] {
    background: #3f62a6;
    color: #ffffff;
}

.ac-btn-primary:hover:not(:disabled)[b-muhin20pv2] {
    background: #344f8a;
}

.ac-btn-secondary[b-muhin20pv2] {
    background: #f0f3f8;
    color: #555;
    border: 1px solid #dde3ed;
}

.ac-btn-secondary:hover:not(:disabled)[b-muhin20pv2] {
    background: #e8ecf3;
}

.ac-btn-danger[b-muhin20pv2] {
    background: transparent;
    color: #c0392b;
    padding: 4px 10px;
    font-size: 11px;
}

.ac-btn-danger:hover:not(:disabled)[b-muhin20pv2] {
    background: #fdf2f2;
}

/* ── Add IP Panel ── */

.ac-add-panel[b-muhin20pv2] {
    background: #fafbfd;
    border: 1px solid #e8ecf3;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 14px;
    position: relative;
}

.ac-add-header[b-muhin20pv2] {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-right: 28px;
}

.ac-add-close[b-muhin20pv2] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.ac-add-close:hover[b-muhin20pv2] {
    background: #e8ecf3;
    color: #555;
}

/* ── IP Mode Tabs ── */

.ac-tab-bar[b-muhin20pv2] {
    display: inline-flex;
    margin-bottom: 14px;
    border: 1px solid #ccd4e0;
    border-radius: 5px;
    overflow: hidden;
}

.ac-tab-btn[b-muhin20pv2] {
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    background: #ffffff;
    border: none;
    border-right: 1px solid #ccd4e0;
    transition: all 0.15s ease;
}

.ac-tab-btn:last-child[b-muhin20pv2] {
    border-right: none;
}

.ac-tab-btn:hover[b-muhin20pv2] {
    background: #f5f7fa;
}

.ac-tab-btn.active[b-muhin20pv2] {
    background: #3f62a6;
    color: #ffffff;
}

/* ── IP Inputs ── */

.ac-ip-input-group[b-muhin20pv2] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ac-ip-input-group-multi[b-muhin20pv2] {
    flex-direction: column;
    align-items: flex-start;
}

.ac-ip-input-actions[b-muhin20pv2] {
    display: flex;
    gap: 8px;
}

.ac-ip-input[b-muhin20pv2] {
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid #ccd4e0;
    border-radius: 5px;
    font-family: 'Consolas', 'Monaco', monospace;
    width: 180px;
    box-sizing: border-box;
}

.ac-ip-input:focus[b-muhin20pv2] {
    outline: none;
    border-color: #3f62a6;
    box-shadow: 0 0 0 3px rgba(63, 98, 166, 0.1);
}

.ac-ip-readonly[b-muhin20pv2] {
    background: #f5f5f5;
}

.ac-ip-textarea[b-muhin20pv2] {
    width: 100%;
    max-width: 360px;
    resize: vertical;
}

.ac-ip-separator[b-muhin20pv2] {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.ac-input-hint[b-muhin20pv2] {
    font-size: 11px;
    color: #888;
    margin: 8px 0 0;
}

/* ── IP Whitelist Table ── */

.ac-ip-table-container[b-muhin20pv2] {
    border: 1px solid #e8ecf3;
    border-radius: 6px;
    overflow: hidden;
}

.ac-ip-table[b-muhin20pv2] {
    width: 100%;
    border-collapse: collapse;
}

.ac-ip-table th[b-muhin20pv2] {
    background: #f0f3f8;
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e8ecf3;
}

.ac-ip-table td[b-muhin20pv2] {
    padding: 8px 14px;
    border-bottom: 1px solid #f0f3f8;
    font-size: 13px;
    color: #333;
}

.ac-ip-table tr:last-child td[b-muhin20pv2] {
    border-bottom: none;
}

.ac-ip-table tbody tr:hover[b-muhin20pv2] {
    background: #fafbfd;
}

.ac-ip-value[b-muhin20pv2] {
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 500;
}

.ac-empty-row[b-muhin20pv2] {
    text-align: center;
    color: #888;
    padding: 24px 14px;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .ac-columns[b-muhin20pv2] {
        grid-template-columns: 1fr;
    }

    .ac-col-side[b-muhin20pv2] {
        position: static;
    }

    .ac-ip-input[b-muhin20pv2] {
        width: 100%;
    }

    .ac-ip-textarea[b-muhin20pv2] {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .ac-card-body[b-muhin20pv2] {
        padding: 12px;
    }

    .ac-card-header[b-muhin20pv2] {
        padding: 10px 12px;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
.error-page[b-qign3wvvib] {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

.error-card[b-qign3wvvib] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d7e0eb;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 28px 30px;
}

.error-kicker[b-qign3wvvib] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef2f2;
    color: #b42318;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error-card h1[b-qign3wvvib] {
    margin: 14px 0 8px;
    color: #981b1b;
    font-size: 32px;
    line-height: 1.1;
}

.error-card h2[b-qign3wvvib] {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    line-height: 1.35;
}

.error-request-id[b-qign3wvvib] {
    margin: 18px 0 0;
    color: #475569;
    font-size: 14px;
}

.error-request-id code[b-qign3wvvib] {
    display: inline-block;
    margin-left: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    word-break: break-all;
}

.error-section[b-qign3wvvib] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.error-section h3[b-qign3wvvib] {
    margin: 0 0 10px;
    color: #1e293b;
    font-size: 16px;
}

.error-section p[b-qign3wvvib] {
    margin: 0 0 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.error-section p:last-child[b-qign3wvvib] {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .error-page[b-qign3wvvib] {
        padding: 18px 12px 28px;
    }

    .error-card[b-qign3wvvib] {
        padding: 22px 18px;
    }

    .error-card h1[b-qign3wvvib] {
        font-size: 26px;
    }

    .error-card h2[b-qign3wvvib] {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .error-page[b-qign3wvvib] {
        padding: 14px 8px 20px;
    }

    .error-card[b-qign3wvvib] {
        padding: 18px 14px;
        border-radius: 10px;
    }

    .error-card h1[b-qign3wvvib] {
        font-size: 22px;
    }

    .error-section p[b-qign3wvvib],
    .error-request-id[b-qign3wvvib] {
        font-size: 13px;
    }
}
/* /Components/Pages/Exceptions/StraddleHoldsNeedingAttention.razor.rz.scp.css */
/* ── Page layout ─────────────────────────────────────────────────── */
.sha-page[b-rm5ilf1qay] {
    display: flex;
    gap: 12px;
    min-height: 0;
}

.sha-back-btn[b-rm5ilf1qay] {
    background: #64748b;
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}

.sha-back-btn:hover[b-rm5ilf1qay] {
    background: #475569;
}

/* ── List column ─────────────────────────────────────────────────── */
.sha-list-column[b-rm5ilf1qay] {
    width: 32%;
    min-width: 340px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.sha-filter-bar[b-rm5ilf1qay] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
}

.sha-filter-label[b-rm5ilf1qay] {
    font-weight: 600;
    color: #374151;
}

.sha-filter-check[b-rm5ilf1qay] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #1f2937;
}

.sha-list-scroll[b-rm5ilf1qay] {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.sha-loading[b-rm5ilf1qay],
.sha-empty[b-rm5ilf1qay] {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

/* ── Transaction grid ────────────────────────────────────────────── */
.sha-grid[b-rm5ilf1qay] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.sha-grid th[b-rm5ilf1qay],
.sha-grid td[b-rm5ilf1qay] {
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    text-align: left;
    white-space: nowrap;
}

.sha-grid th[b-rm5ilf1qay] {
    background: #f3f4f6;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 2;
}

.sha-date-cell[b-rm5ilf1qay] {
    white-space: normal !important;
    line-height: 1.3;
}

.sha-date-cell .sha-time[b-rm5ilf1qay] {
    display: block;
    font-size: 10px;
    color: #6b7280;
}

.sha-failed-step[b-rm5ilf1qay] {
    font-size: 11px;
    color: #b91c1c;
    max-width: 100px;
    white-space: normal !important;
    word-break: break-word;
}

.sha-grid tbody tr[b-rm5ilf1qay] {
    cursor: pointer;
    transition: background 0.1s;
}

.sha-grid tbody tr:hover[b-rm5ilf1qay] {
    background: #f0f7ff;
}

.sha-selected-row[b-rm5ilf1qay] {
    background-color: #fef3c7 !important;
    font-weight: 600;
}

.sha-selected-row td[b-rm5ilf1qay] {
    border-color: #f59e0b !important;
}

.sha-clickable-row[b-rm5ilf1qay] {
    cursor: pointer;
}

.sha-clickable-row:hover[b-rm5ilf1qay] {
    background: #f0f7ff;
}

/* ── Status badges ───────────────────────────────────────────────── */
.sha-status-badge[b-rm5ilf1qay] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.sha-status-1[b-rm5ilf1qay] {
    background: #e8f0fe;
    color: #1a56db;
}

.sha-status-2[b-rm5ilf1qay] {
    background: #fef3c7;
    color: #92400e;
}

.sha-status-12[b-rm5ilf1qay] {
    background: #fce8e8;
    color: #b91c1c;
}

/* ── Detail column ───────────────────────────────────────────────── */
.sha-detail-column[b-rm5ilf1qay] {
    flex: 1;
    display: none;
    flex-direction: column;
    min-width: 0;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.sha-detail-column.sha-visible[b-rm5ilf1qay] {
    display: flex;
}

.sha-detail-placeholder[b-rm5ilf1qay] {
    text-align: center;
    padding: 40px;
    color: #7a8ea0;
    font-size: 13px;
}

.sha-detail-header[b-rm5ilf1qay] {
    position: sticky;
    top: 0;
    background: #0f172a;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    gap: 12px;
}

.sha-detail-title[b-rm5ilf1qay] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 13px;
}

.sha-detail-amount[b-rm5ilf1qay] {
    font-size: 16px;
    font-weight: 700;
}

.sha-detail-actions[b-rm5ilf1qay] {
    display: flex;
    gap: 8px;
}

.sha-detail-message[b-rm5ilf1qay] {
    padding: 8px 16px;
    background: #eff6ff;
    color: #1e40af;
    font-weight: 600;
    font-size: 12px;
    border-bottom: 1px solid #bfdbfe;
}

.sha-detail-scroll[b-rm5ilf1qay] {
    padding: 12px 16px 20px 16px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

/* ── Panels ──────────────────────────────────────────────────────── */
.sha-panel[b-rm5ilf1qay] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sha-panel-title[b-rm5ilf1qay] {
    background: #111827;
    color: #fff;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
}

.sha-panel-body[b-rm5ilf1qay] {
    padding: 10px 12px 12px 12px;
}

/* ── Key-value grid ──────────────────────────────────────────────── */
.sha-kv-grid[b-rm5ilf1qay] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 6px 12px;
    margin-bottom: 12px;
    font-size: 12px;
}

.sha-kv[b-rm5ilf1qay] {
    display: flex;
    flex-direction: column;
}

.sha-kv-label[b-rm5ilf1qay] {
    font-weight: 600;
    color: #374151;
    margin-bottom: 1px;
}

.sha-muted[b-rm5ilf1qay] {
    color: #6b7280;
    font-size: 12px;
    padding: 4px 0;
}

/* ── Two-column layout ───────────────────────────────────────────── */
.sha-two-col[b-rm5ilf1qay] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.sha-section-heading[b-rm5ilf1qay] {
    margin: 8px 0 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

/* ── Forms ────────────────────────────────────────────────────────── */
.sha-form[b-rm5ilf1qay] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sha-form label[b-rm5ilf1qay] {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    gap: 2px;
}

.sha-input[b-rm5ilf1qay] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #1f2937;
}

.sha-input:focus[b-rm5ilf1qay] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.sha-form-actions[b-rm5ilf1qay] {
    margin-top: 8px;
    text-align: right;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.sha-btn[b-rm5ilf1qay] {
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.15s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sha-btn:disabled[b-rm5ilf1qay] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sha-btn-primary[b-rm5ilf1qay] {
    background: #3b82f6;
    color: #fff;
}

.sha-btn-primary:hover:not(:disabled)[b-rm5ilf1qay] {
    background: #2563eb;
}

.sha-btn-secondary[b-rm5ilf1qay] {
    background: #64748b;
    color: #fff;
}

.sha-btn-secondary:hover:not(:disabled)[b-rm5ilf1qay] {
    background: #475569;
}

.sha-btn-outline[b-rm5ilf1qay] {
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    box-shadow: none;
}

.sha-btn-outline:hover:not(:disabled)[b-rm5ilf1qay] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.sha-mb-8[b-rm5ilf1qay] {
    margin-bottom: 8px;
}

/* ── Modal ────────────────────────────────────────────────────────── */
.sha-modal-backdrop[b-rm5ilf1qay] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.sha-modal[b-rm5ilf1qay] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 400px;
    max-width: 90vw;
    z-index: 101;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.sha-modal-title[b-rm5ilf1qay] {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.sha-modal-label[b-rm5ilf1qay] {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 12px;
    color: #374151;
}

.sha-modal-textarea[b-rm5ilf1qay] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 12px;
    resize: vertical;
}

.sha-modal-footer[b-rm5ilf1qay] {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ── API Log viewer ──────────────────────────────────────────────── */
.sha-api-log[b-rm5ilf1qay] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.sha-api-log-header[b-rm5ilf1qay] {
    background: #f8fafc;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.sha-api-kv-grid[b-rm5ilf1qay] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px 10px;
    font-size: 11px;
}

.sha-api-kv[b-rm5ilf1qay] {
    display: flex;
    flex-direction: column;
}

.sha-api-kv-label[b-rm5ilf1qay] {
    font-weight: 600;
    color: #374151;
    margin-bottom: 1px;
}

.sha-api-log-content[b-rm5ilf1qay] {
    max-height: 600px;
    overflow-y: auto;
}

.sha-api-section[b-rm5ilf1qay] {
    border-bottom: 1px solid #e5e7eb;
}

.sha-api-section:last-child[b-rm5ilf1qay] {
    border-bottom: none;
}

.sha-api-section-title[b-rm5ilf1qay] {
    display: block;
    width: 100%;
    background: #374151;
    color: #fff;
    padding: 6px 10px;
    font-weight: 600;
    font-size: 12px;
    border: none;
    text-align: left;
    cursor: default;
}

.sha-api-section-content[b-rm5ilf1qay] {
    background: #0a0a0a;
    color: #e5e7eb;
    padding: 8px 10px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

/* ── API log status colors ───────────────────────────────────────── */
[b-rm5ilf1qay] .sha-status-success {
    color: #059669;
    font-weight: 600;
}

[b-rm5ilf1qay] .sha-status-info {
    color: #2563eb;
    font-weight: 600;
}

[b-rm5ilf1qay] .sha-status-warning {
    color: #d97706;
    font-weight: 600;
}

[b-rm5ilf1qay] .sha-status-error {
    color: #dc2626;
    font-weight: 600;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .sha-page[b-rm5ilf1qay] {
        flex-direction: column;
    }

    .sha-list-column[b-rm5ilf1qay] {
        width: 100%;
        min-width: unset;
    }

    .sha-list-scroll[b-rm5ilf1qay] {
        max-height: 50vh;
    }

    .sha-detail-scroll[b-rm5ilf1qay] {
        max-height: none;
    }

    .sha-two-col[b-rm5ilf1qay] {
        grid-template-columns: 1fr;
    }

    .sha-kv-grid[b-rm5ilf1qay] {
        grid-template-columns: 1fr;
    }

    .sha-detail-header[b-rm5ilf1qay] {
        flex-wrap: wrap;
    }

    .sha-detail-title[b-rm5ilf1qay] {
        font-size: 12px;
    }

    .sha-grid th[b-rm5ilf1qay],
    .sha-grid td[b-rm5ilf1qay] {
        padding: 5px 6px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .sha-filter-bar[b-rm5ilf1qay] {
        flex-wrap: wrap;
        gap: 8px;
    }

    .sha-detail-actions[b-rm5ilf1qay] {
        flex-wrap: wrap;
    }

    .sha-btn[b-rm5ilf1qay] {
        padding: 6px 12px;
        font-size: 11px;
    }
}
/* /Components/Pages/Exceptions/StraddleOnHold.razor.rz.scp.css */
/* ── Straddle On Hold Report ── */

.soh-page[b-xjmjnldh0l] {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 30px 20px;
}

/* ── Table Card ── */

.soh-card[b-xjmjnldh0l] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #c0c8d2;
    overflow: clip;
}

.soh-table[b-xjmjnldh0l] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12.5px;
}

/* ── Header ── */

.soh-th[b-xjmjnldh0l] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 10px 10px;
    border-bottom: 2px solid #15223a;
    border-right: 1px solid #2a3f5c;
    white-space: nowrap;
    user-select: none;
    position: sticky;
    top: var(--sticky-top, 0px);
    z-index: 10;
}

.soh-th:last-child[b-xjmjnldh0l] {
    border-right: none;
}

.soh-th-sortable[b-xjmjnldh0l] {
    cursor: pointer;
    transition: background 0.1s ease;
}

.soh-th-sortable:hover[b-xjmjnldh0l] {
    background: #283d5a;
}

.soh-th-active[b-xjmjnldh0l] {
    background: #253752;
}

.soh-th-inner[b-xjmjnldh0l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.soh-sort-svg[b-xjmjnldh0l] {
    flex-shrink: 0;
}

.soh-sort-active[b-xjmjnldh0l] {
    color: #7eb8f0;
}

.soh-sort-idle[b-xjmjnldh0l] {
    opacity: 0.3;
}

/* ── Cells ── */

.soh-td[b-xjmjnldh0l] {
    padding: 7px 10px;
    border-bottom: 1px solid #d0d7e0;
    border-right: 1px solid #d0d7e0;
    color: #1a2332;
    height: 43px;
    font-weight: 500;
}

.soh-td:last-child[b-xjmjnldh0l] {
    border-right: none;
}

.soh-td-center[b-xjmjnldh0l] {
    text-align: center;
}

.soh-td-right[b-xjmjnldh0l] {
    text-align: right;
    padding-right: 12px;
}

.soh-td-nowrap[b-xjmjnldh0l] {
    white-space: nowrap;
}

/* ── Rows ── */

.soh-row-even[b-xjmjnldh0l] {
    background: #ffffff;
}

.soh-row-odd[b-xjmjnldh0l] {
    background: #f4f7fa;
}

.soh-row-clickable[b-xjmjnldh0l] {
    cursor: pointer;
    transition: background 0.08s ease;
}

.soh-row-clickable:hover[b-xjmjnldh0l] {
    background: #dbe8f8 !important;
    color: #1e293b;
}

/* ── Status badge ── */

.soh-status-badge[b-xjmjnldh0l] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: #fef3cd;
    color: #856404;
    white-space: nowrap;
}

/* ── Empty state ── */

.soh-empty[b-xjmjnldh0l] {
    text-align: center;
    padding: 40px 20px;
    color: #7a8ea0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: none;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .soh-card[b-xjmjnldh0l] {
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .soh-th[b-xjmjnldh0l],
    .soh-td[b-xjmjnldh0l] {
        padding: 6px 6px;
        font-size: 11px;
    }
}
/* /Components/Pages/Exceptions/StuckOnScheduled.razor.rz.scp.css */
/* ── Stuck on Scheduled Report ── */

.sos-page[b-yb3t9jlx9v] {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 30px 20px;
}

/* ── Table Card ── */

.sos-card[b-yb3t9jlx9v] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #c0c8d2;
    overflow: clip;
}

.sos-table[b-yb3t9jlx9v] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12.5px;
}

/* ── Header ── */

.sos-th[b-yb3t9jlx9v] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 10px 10px;
    border-bottom: 2px solid #15223a;
    border-right: 1px solid #2a3f5c;
    white-space: nowrap;
    user-select: none;
    position: sticky;
    top: var(--sticky-top, 0px);
    z-index: 10;
}

.sos-th:last-child[b-yb3t9jlx9v] {
    border-right: none;
}

.sos-th-sortable[b-yb3t9jlx9v] {
    cursor: pointer;
    transition: background 0.1s ease;
}

.sos-th-sortable:hover[b-yb3t9jlx9v] {
    background: #283d5a;
}

.sos-th-active[b-yb3t9jlx9v] {
    background: #253752;
}

.sos-th-inner[b-yb3t9jlx9v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sos-sort-svg[b-yb3t9jlx9v] {
    flex-shrink: 0;
}

.sos-sort-active[b-yb3t9jlx9v] {
    color: #7eb8f0;
}

.sos-sort-idle[b-yb3t9jlx9v] {
    opacity: 0.3;
}

/* ── Cells ── */

.sos-td[b-yb3t9jlx9v] {
    padding: 7px 10px;
    border-bottom: 1px solid #d0d7e0;
    border-right: 1px solid #d0d7e0;
    color: #1a2332;
    height: 43px;
    font-weight: 500;
}

.sos-td:last-child[b-yb3t9jlx9v] {
    border-right: none;
}

.sos-td-center[b-yb3t9jlx9v] {
    text-align: center;
}

.sos-td-right[b-yb3t9jlx9v] {
    text-align: right;
    padding-right: 12px;
}

/* ── Rows ── */

.sos-row-even[b-yb3t9jlx9v] {
    background: #ffffff;
}

.sos-row-odd[b-yb3t9jlx9v] {
    background: #f4f7fa;
}

.sos-row-clickable[b-yb3t9jlx9v] {
    cursor: pointer;
    transition: background 0.08s ease;
}

.sos-row-clickable:hover[b-yb3t9jlx9v] {
    background: #dbe8f8 !important;
    color: #1e293b;
}

/* ── Merchant cell ── */

.sos-td-merchant[b-yb3t9jlx9v] {
    white-space: nowrap;
}

.sos-td-customer[b-yb3t9jlx9v] {
    white-space: nowrap;
}

.sos-merchant-link[b-yb3t9jlx9v] {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    color: #5a7da0;
    vertical-align: middle;
    transition: color 0.1s ease;
}

.sos-merchant-link:hover[b-yb3t9jlx9v] {
    color: #2563a0;
}

/* ── Status badge ── */

.sos-status-badge[b-yb3t9jlx9v] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: #e0ecff;
    color: #1e3a6e;
    white-space: nowrap;
}

/* ── Empty state ── */

.sos-empty[b-yb3t9jlx9v] {
    text-align: center;
    padding: 40px 20px;
    color: #7a8ea0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: none;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .sos-card[b-yb3t9jlx9v] {
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .sos-th[b-yb3t9jlx9v],
    .sos-td[b-yb3t9jlx9v] {
        padding: 6px 6px;
        font-size: 11px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.system-status-section[b-ktgis2txb5] {
    margin-bottom: 24px;
}

.system-status-grid[b-ktgis2txb5] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

/* ── Shared tile base ── */

.queue-status-tile[b-ktgis2txb5],
.system-work-tile[b-ktgis2txb5] {
    border-radius: 12px;
    border: 1px solid #dfe4ee;
    background:
        linear-gradient(180deg, rgba(247, 249, 253, 0.92) 0%, rgba(255, 255, 255, 0.98) 44%, #ffffff 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 16px rgba(31, 41, 55, 0.07);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.queue-status-tile:hover[b-ktgis2txb5],
.system-work-tile:hover[b-ktgis2txb5] {
    transform: translateY(-1px);
    border-color: #c0c9d8;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 24px rgba(31, 41, 55, 0.11);
}

/* ── Work tiles ── */

.system-work-tile[b-ktgis2txb5] {
    border-color: #d5dbe6;
    background:
        linear-gradient(155deg, #eef1f7 0%, #f4f6fa 35%, #fafbfd 70%, #ffffff 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.90) inset,
        0 4px 12px rgba(31, 41, 55, 0.05);
}

.system-work-tile:hover[b-ktgis2txb5] {
    background:
        linear-gradient(155deg, #e8ecf4 0%, #eff2f8 35%, #f7f8fc 70%, #ffffff 100%);
}

.system-work-tile:disabled[b-ktgis2txb5] {
    opacity: 1;
}

/* ── Tile internals ── */

.status-tile-icon[b-ktgis2txb5] {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: 1px solid #dde3ed;
    background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
    color: #56708e;
    flex: 0 0 auto;
}

.status-tile-icon-svg[b-ktgis2txb5] {
    width: 14px;
    height: 14px;
    stroke-width: 1.85;
}

.status-tile-heading[b-ktgis2txb5] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #4d627a;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.queue-status-state[b-ktgis2txb5] {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #1f2937;
    margin: auto;
}

/* ── Work tile layout ── */

.work-tile-row[b-ktgis2txb5] {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    margin-left: 12px;
}

.system-work-count[b-ktgis2txb5] {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #c62828;
    flex: 0 0 auto;
}

.work-tile-count-stack[b-ktgis2txb5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.work-tile-unit[b-ktgis2txb5] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #a0aec0;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    margin-top: 2px;
    margin-left: 2px;
}

.work-tile-desc[b-ktgis2txb5] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.25;
}


.work-tile-badge[b-ktgis2txb5] {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b0bcc9;
    opacity: 0.45;
}

[b-ktgis2txb5] .work-tile-badge-svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

/* ── Queue state: Healthy (green) ── */

.queue-state-healthy[b-ktgis2txb5] {
    border-color: #b6e2c8;
    background: linear-gradient(180deg, rgba(232, 248, 238, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.queue-state-healthy .status-tile-icon[b-ktgis2txb5] {
    border-color: #b6e2c8;
    background: linear-gradient(180deg, #f0faf4 0%, #dcf5e6 100%);
    color: #2d8659;
}

.queue-state-healthy .queue-status-state[b-ktgis2txb5] {
    color: #1a7a3e;
}

.queue-state-healthy .queue-status-chip[b-ktgis2txb5] {
    background: #dcfce7;
    color: #1a7a3e;
}

/* ── Queue state: Stalled (red) ── */

.queue-state-stalled[b-ktgis2txb5] {
    border-color: #f0c4bf;
    background: linear-gradient(180deg, rgba(254, 237, 234, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.queue-state-stalled .status-tile-icon[b-ktgis2txb5] {
    border-color: #f0c4bf;
    background: linear-gradient(180deg, #fef5f3 0%, #fde4e0 100%);
    color: #b42318;
}

.queue-state-stalled .queue-status-state[b-ktgis2txb5] {
    color: #b42318;
}

.queue-state-stalled .queue-status-chip[b-ktgis2txb5] {
    background: #fee4e2;
    color: #b42318;
}

/* ── Queue state: Disabled / no data ── */

.queue-state-disabled .queue-status-state[b-ktgis2txb5] {
    color: #8d9caf;
}

.queue-state-disabled .queue-status-chip[b-ktgis2txb5] {
    background: #e9eff6;
    color: #5f7188;
}

/* ── Queue details modal ── */

.queue-details-overlay[b-ktgis2txb5] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1000;
}

.queue-details-modal[b-ktgis2txb5] {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(540px, calc(100vw - 32px));
    transform: translate(-50%, -50%);
    border-radius: 16px;
    border: 1px solid #d7dee8;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    padding: 20px;
    z-index: 1001;
}

.queue-details-header[b-ktgis2txb5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.queue-details-title[b-ktgis2txb5] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #17324d;
}

.queue-details-subtitle[b-ktgis2txb5] {
    margin-top: 4px;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #5f7188;
}

.queue-details-header-actions[b-ktgis2txb5] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.queue-details-refresh[b-ktgis2txb5] {
    width: 32px;
    height: 32px;
    border: 1px solid #d7dee8;
    border-radius: 999px;
    background: #f8fafc;
    color: #4d627a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

    .queue-details-refresh:hover:not(:disabled)[b-ktgis2txb5] {
        background: #e8eef5;
        border-color: #b8c6d6;
    }

    .queue-details-refresh:disabled[b-ktgis2txb5] {
        cursor: default;
        opacity: 0.6;
    }

[b-ktgis2txb5] .queue-details-refresh-svg {
    width: 16px;
    height: 16px;
}

.queue-details-refresh.spinning[b-ktgis2txb5]  .queue-details-refresh-svg {
    animation: spin-refresh-b-ktgis2txb5 0.8s linear infinite;
}

@keyframes spin-refresh-b-ktgis2txb5 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.queue-details-close[b-ktgis2txb5] {
    width: 32px;
    height: 32px;
    border: 1px solid #d7dee8;
    border-radius: 999px;
    background: #f8fafc;
    color: #4d627a;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
}

.queue-details-state-row[b-ktgis2txb5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.queue-status-chip[b-ktgis2txb5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.queue-details-last[b-ktgis2txb5] {
    font-size: 0.83rem;
    color: #5f7188;
}

.queue-details-metrics[b-ktgis2txb5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.queue-detail-metric[b-ktgis2txb5] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5ebf2;
    background: #f8fbff;
}

.queue-detail-label[b-ktgis2txb5] {
    display: block;
    margin-bottom: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.queue-detail-metric strong[b-ktgis2txb5] {
    font-size: 1.1rem;
    color: #13263c;
}

.queue-details-error[b-ktgis2txb5] {
    margin-top: 16px;
    color: #b42318;
    font-size: 0.83rem;
    font-weight: 700;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
    .system-status-grid[b-ktgis2txb5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .system-status-grid[b-ktgis2txb5],
    .queue-details-metrics[b-ktgis2txb5] {
        grid-template-columns: 1fr;
    }

    .queue-details-state-row[b-ktgis2txb5] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .queue-status-tile[b-ktgis2txb5],
    .system-work-tile[b-ktgis2txb5] {
        padding: 8px 10px;
    }

    .work-tile-row[b-ktgis2txb5] {
        gap: 16px;
        margin-left: 4px;
    }

    .system-work-count[b-ktgis2txb5] {
        font-size: 1.3rem;
    }

    .queue-details-modal[b-ktgis2txb5] {
        padding: 14px;
        border-radius: 12px;
    }

    .queue-details-title[b-ktgis2txb5] {
        font-size: 1rem;
    }

    .status-tile-heading[b-ktgis2txb5] {
        font-size: 0.65rem;
    }
}
/* /Components/Pages/Merchants/MerchantEdit.razor.rz.scp.css */
.me-page[b-3ygs81gk2b] {
    --me-bg: #f3f6fb;
    --me-card: #ffffff;
    --me-border: #d8e0ea;
    --me-border-strong: #c7d2df;
    --me-text: #1d2939;
    --me-muted: #64748b;
    --me-primary: #2f6f66;
    --me-primary-deep: #1f534b;
    --me-accent: #1d4ed8;
    --me-success-bg: #e8f5e9;
    --me-success-fg: #256b2e;
    --me-danger-bg: #fdf0ed;
    --me-danger-fg: #b63a24;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px 32px;
}

.me-alert[b-3ygs81gk2b] {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.me-alert-error[b-3ygs81gk2b] {
    background: var(--me-danger-bg);
    color: var(--me-danger-fg);
    border: 1px solid #f3c4bb;
}

.me-alert-success[b-3ygs81gk2b] {
    background: var(--me-success-bg);
    color: var(--me-success-fg);
    border: 1px solid #b7dfbe;
}

.me-empty[b-3ygs81gk2b],
.me-loading[b-3ygs81gk2b] {
    color: var(--me-muted);
    font-size: 14px;
    margin: 0;
}

.me-shell[b-3ygs81gk2b] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.me-section-shell[b-3ygs81gk2b] {
    display: flex;
    flex-direction: column;
    gap: 0;
    scroll-margin-top: 24px;
}

.me-config-panel[b-3ygs81gk2b] {
    background: var(--me-card);
    border: 1px solid var(--me-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.05);
}

.me-config-panel:focus-within[b-3ygs81gk2b] {
    border-color: #97b4d2;
    box-shadow: 0 18px 42px rgba(29, 78, 216, 0.08);
    transform: translateY(-1px);
}

.me-config-panel .ms-section-title[b-3ygs81gk2b] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 0 0 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7edf3;
    color: var(--me-text);
    font-size: 18px;
    font-weight: 700;
}

.me-config-grid[b-3ygs81gk2b] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.me-config-cell[b-3ygs81gk2b] {
    padding: 16px 20px;
    border-bottom: 1px solid #e7edf3;
    border-right: 1px solid #e7edf3;
}

.me-config-cell:nth-child(2n)[b-3ygs81gk2b] {
    border-right: none;
}

.me-config-cell:nth-last-child(-n+2)[b-3ygs81gk2b] {
    border-bottom: none;
}

@media (max-width: 760px) {
    .me-config-grid[b-3ygs81gk2b] {
        grid-template-columns: minmax(0, 1fr);
    }

    .me-config-cell[b-3ygs81gk2b] {
        border-right: none;
    }

    .me-config-cell:last-child[b-3ygs81gk2b] {
        border-bottom: none;
    }

    .me-config-cell:nth-last-child(2)[b-3ygs81gk2b] {
        border-bottom: 1px solid #e7edf3;
    }
}

[b-3ygs81gk2b] .me-cfg-block + .me-cfg-block {
    padding-top: 0;
    border-top: none;
}

[b-3ygs81gk2b] .me-cfg-block-title {
    margin: 0 0 10px;
    color: #1e2d45;
    font-size: 14px;
    font-weight: 700;
}

[b-3ygs81gk2b] .me-cfg-block > *:not(.me-cfg-block-title) {
    margin-left: 10px;
}

[b-3ygs81gk2b] .me-cfg-toggle {
    margin-bottom: 10px;
}

[b-3ygs81gk2b] .me-cfg-fieldset {
    margin: 0;
    padding: 0 0 0 20px;
    border: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[b-3ygs81gk2b] .me-cfg-fieldset:disabled {
    opacity: 0.6;
}

[b-3ygs81gk2b] .me-cfg-field-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[b-3ygs81gk2b] .me-cfg-field-row-top {
    align-items: start;
}

[b-3ygs81gk2b] .me-cfg-field-label {
    color: #5f7185;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

[b-3ygs81gk2b] .me-cfg-select {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    background: #fcfdff;
    color: var(--me-text);
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

[b-3ygs81gk2b] .me-cfg-select:focus {
    outline: none;
    background: #ffffff;
    border-color: #8fb0d4;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

[b-3ygs81gk2b] .me-cfg-radio-stack,
[b-3ygs81gk2b] .me-cfg-checkbox-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

[b-3ygs81gk2b] .me-cfg-fixed-check {
    color: #60738b;
}

[b-3ygs81gk2b] .me-cfg-notify-group + .me-cfg-notify-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e7edf3;
}

[b-3ygs81gk2b] .me-tag-editor {
    min-width: 0;
}

[b-3ygs81gk2b] .me-tag-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #cfd8e3;
    border-radius: 14px;
    background: #fcfdff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

[b-3ygs81gk2b] .me-tag-shell:focus-within {
    background: #ffffff;
    border-color: #8fb0d4;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

[b-3ygs81gk2b] .me-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef5fb;
    color: #1d4f8d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

[b-3ygs81gk2b] .me-tag-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(29, 79, 141, 0.12);
    color: inherit;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

[b-3ygs81gk2b] .me-tag-chip-remove:hover {
    background: rgba(29, 79, 141, 0.2);
}

[b-3ygs81gk2b] .me-tag-input {
    flex: 1 1 180px;
    min-width: 160px;
    padding: 6px 2px;
    border: none;
    background: transparent;
    color: var(--me-text);
    font-size: 14px;
    font-family: inherit;
}

[b-3ygs81gk2b] .me-tag-input:focus {
    outline: none;
}

[b-3ygs81gk2b] .me-tag-input:disabled {
    display: none;
}

[b-3ygs81gk2b] .me-cfg-caption {
    margin: 4px 0 0;
    color: #70859b;
    font-size: 11px;
    line-height: 1.4;
}

.me-shell-wide[b-3ygs81gk2b] {
    grid-column: 1 / -1;
}

.me-page[b-3ygs81gk2b]  .ph-header-row {
    align-items: flex-end;
}

.me-page[b-3ygs81gk2b]  .ph-header-right {
    align-items: flex-end;
    padding-top: 0;
}

@media (min-width: 1040px) {
    .me-shell[b-3ygs81gk2b] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .me-shell-wide[b-3ygs81gk2b] {
        grid-column: 1 / -1;
    }
}

.me-header-actions[b-3ygs81gk2b] {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
}

.me-header-primary-actions[b-3ygs81gk2b] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.me-btn-cancel[b-3ygs81gk2b],
[b-3ygs81gk2b] .me-btn-cancel,
.me-btn-primary[b-3ygs81gk2b],
[b-3ygs81gk2b] .me-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.16s ease;
    cursor: pointer;
}

.me-btn-cancel[b-3ygs81gk2b],
[b-3ygs81gk2b] .me-btn-cancel {
    background: #ffffff;
    border: 1px solid var(--me-border-strong);
    color: #40617f;
}

.me-btn-cancel:hover[b-3ygs81gk2b],
[b-3ygs81gk2b] .me-btn-cancel:hover {
    background: #f8fafc;
    border-color: #95a7bb;
}

.me-btn-primary[b-3ygs81gk2b],
[b-3ygs81gk2b] .me-btn-primary {
    background: linear-gradient(135deg, var(--me-primary) 0%, #3b8a7f 100%);
    border: none;
    color: white;
    box-shadow: 0 14px 28px rgba(47, 111, 102, 0.25);
}

.me-btn-header-cancel[b-3ygs81gk2b],
.me-btn-header-primary[b-3ygs81gk2b] {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 12px;
}

.me-btn-primary:hover:not(:disabled)[b-3ygs81gk2b],
[b-3ygs81gk2b] .me-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(47, 111, 102, 0.3);
}

.me-btn-primary:disabled[b-3ygs81gk2b],
[b-3ygs81gk2b] .me-btn-primary:disabled {
    opacity: 0.58;
    cursor: default;
    box-shadow: none;
}

[b-3ygs81gk2b] .ms-section {
    background: var(--me-card);
    border: 1px solid var(--me-border);
    border-radius: 22px;
    padding: 24px;
    margin: 0;
    flex: 1;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.05);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

[b-3ygs81gk2b] .ms-section:focus-within {
    border-color: #97b4d2;
    box-shadow: 0 18px 42px rgba(29, 78, 216, 0.08);
    transform: translateY(-1px);
}

[b-3ygs81gk2b] .ms-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7edf3;
    color: var(--me-text);
    font-size: 18px;
    font-weight: 700;
}

[b-3ygs81gk2b] .ms-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7edf3;
}

[b-3ygs81gk2b] .ms-section-header .ms-section-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

[b-3ygs81gk2b] .ms-merchant-id {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 18px;
    background: #eef4fb;
    border: 1px solid #cfdfee;
    border-radius: 999px;
    flex-shrink: 0;
}

[b-3ygs81gk2b] .ms-merchant-id-label {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #5d7ba0;
    text-transform: uppercase;
}

[b-3ygs81gk2b] .ms-merchant-id-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    line-height: 1;
}

[b-3ygs81gk2b] .ms-section-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #7a8ea0;
}

[b-3ygs81gk2b] .ma-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e7edf3;
}

[b-3ygs81gk2b] .ma-status-toggle {
    display: flex;
    gap: 8px;
}

[b-3ygs81gk2b] .ma-status-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

[b-3ygs81gk2b] .ma-status-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* ── Active button ── */

[b-3ygs81gk2b] .ma-status-active {
    background: #e8e8e8;
    color: #8a8a8a;
    border-color: #d5d5d5;
}

[b-3ygs81gk2b] .ma-status-active:hover {
    background: #d8ebd9;
    color: #587b5c;
    border-color: #a9cfac;
}

[b-3ygs81gk2b] .ma-status-active:active,
[b-3ygs81gk2b] .ma-status-active.ma-status-on {
    background: #c8eeca;
    color: #256b2e;
    border-color: #7dc883;
}

/* ── Disabled button ── */

[b-3ygs81gk2b] .ma-status-disabled {
    background: #e8e8e8;
    color: #8a8a8a;
    border-color: #d5d5d5;
}

[b-3ygs81gk2b] .ma-status-disabled:hover {
    background: #f1ddd9;
    color: #9a645a;
    border-color: #debbb3;
}

[b-3ygs81gk2b] .ma-status-disabled:active,
[b-3ygs81gk2b] .ma-status-disabled.ma-status-on {
    background: #f9d2ca;
    color: #a93d29;
    border-color: #e6a090;
}

[b-3ygs81gk2b] .ma-stop-activity {
    margin-top: 14px;
    padding: 10px 14px;
    background: #fdf0ed;
    border-radius: 10px;
}

[b-3ygs81gk2b] .ms-subsection-title {
    margin: 22px 0 12px;
    color: #375170;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

[b-3ygs81gk2b] .ms-subsection-title:first-of-type {
    margin-top: 0;
}

[b-3ygs81gk2b] .ms-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

[b-3ygs81gk2b] .ms-full {
    grid-column: 1 / -1;
}

[b-3ygs81gk2b] .ms-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

[b-3ygs81gk2b] .ms-field > label {
    color: #5f7185;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[b-3ygs81gk2b] .ms-field input[type="text"],
[b-3ygs81gk2b] .ms-field input[type="email"],
[b-3ygs81gk2b] .ms-field input[type="tel"],
[b-3ygs81gk2b] .ms-field input[type="url"],
[b-3ygs81gk2b] .ms-field input[type="number"],
[b-3ygs81gk2b] .ms-field select,
[b-3ygs81gk2b] .ms-field textarea {
    width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 14px;
    background: #fcfdff;
    color: var(--me-text);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

[b-3ygs81gk2b] .ms-field input[type="text"],
[b-3ygs81gk2b] .ms-field input[type="email"],
[b-3ygs81gk2b] .ms-field input[type="tel"],
[b-3ygs81gk2b] .ms-field input[type="url"],
[b-3ygs81gk2b] .ms-field input[type="number"],
[b-3ygs81gk2b] .ms-field select {
    min-height: 44px;
    padding: 0 13px;
}

[b-3ygs81gk2b] .ms-field textarea {
    padding: 12px 13px;
    resize: vertical;
    min-height: 112px;
}

[b-3ygs81gk2b] .ms-field input:focus,
[b-3ygs81gk2b] .ms-field select:focus,
[b-3ygs81gk2b] .ms-field textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #8fb0d4;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

[b-3ygs81gk2b] .ms-readonly-value {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 2px;
    color: var(--me-text);
    font-size: 14px;
    font-weight: 600;
}

[b-3ygs81gk2b] .ms-radio-group,
[b-3ygs81gk2b] .ms-checkbox-group {
    display: flex;
    gap: 12px 18px;
    flex-wrap: wrap;
    padding-top: 6px;
}

[b-3ygs81gk2b] .ms-radio-vertical,
[b-3ygs81gk2b] .ms-checkbox-group {
    flex-direction: column;
    align-items: flex-start;
}

[b-3ygs81gk2b] .ms-radio-label,
[b-3ygs81gk2b] .ms-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--me-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

[b-3ygs81gk2b] .ms-radio-label input[type="radio"],
[b-3ygs81gk2b] .ms-checkbox-label input[type="checkbox"] {
    accent-color: var(--me-primary);
    margin: 0;
}

[b-3ygs81gk2b] .ms-hint {
    margin: 0;
    color: #70859b;
    font-size: 12px;
}

[b-3ygs81gk2b] .pm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7edf3;
    margin-bottom: 16px;
}

[b-3ygs81gk2b] .pm-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 12px;
    background: #eef5fb;
    color: #1d4f8d;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

[b-3ygs81gk2b] .pm-add-btn:hover {
    background: #ddebf7;
}

[b-3ygs81gk2b] .pm-empty,
[b-3ygs81gk2b] .pm-loading {
    margin: 0;
    color: #60738b;
    font-size: 13px;
}

[b-3ygs81gk2b] .pm-table-wrap {
    overflow-x: auto;
}

[b-3ygs81gk2b] .pm-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 13px;
}

[b-3ygs81gk2b] .pm-table thead th {
    padding: 9px 10px;
    text-align: left;
    color: #60738b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid #e7edf3;
}

[b-3ygs81gk2b] .pm-table tbody td {
    padding: 12px 10px;
    color: var(--me-text);
    border-bottom: 1px solid #edf2f6;
}

[b-3ygs81gk2b] .pm-table tbody tr:hover {
    background: #f9fbfd;
}

[b-3ygs81gk2b] .pm-actions-cell {
    display: flex;
    gap: 6px;
}

[b-3ygs81gk2b] .pm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.16s ease;
}

[b-3ygs81gk2b] .pm-edit-btn {
    color: #2460a7;
    background: #eef5fb;
    border-color: #d6e6f5;
}

[b-3ygs81gk2b] .pm-edit-btn svg {
    width: 16px;
    height: 16px;
}

[b-3ygs81gk2b] .pm-edit-btn:hover {
    background: #ddeaf6;
    border-color: #b8d1ea;
}

[b-3ygs81gk2b] .pm-del-btn {
    color: #bb3f2a;
}

[b-3ygs81gk2b] .pm-del-btn:hover {
    background: #fff3ef;
    border-color: #f0c9bf;
}

[b-3ygs81gk2b] .pm-confirm-overlay,
[b-3ygs81gk2b] .pmm-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1100;
    padding: 20px;
}

[b-3ygs81gk2b] .pm-confirm-box,
[b-3ygs81gk2b] .pmm-dialog {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 30px 65px rgba(15, 23, 42, 0.28);
}

[b-3ygs81gk2b] .pm-confirm-box {
    width: min(420px, 100%);
    padding: 24px;
}

[b-3ygs81gk2b] .pm-confirm-box p {
    margin: 0 0 8px;
    color: var(--me-text);
    font-size: 14px;
    line-height: 1.55;
}

[b-3ygs81gk2b] .pm-confirm-sub {
    color: #60738b !important;
    font-size: 13px !important;
}

[b-3ygs81gk2b] .pm-confirm-actions,
[b-3ygs81gk2b] .pmm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

[b-3ygs81gk2b] .pm-confirm-delete-btn {
    min-height: 42px;
    padding: 0 18px;
    border: none;
    border-radius: 12px;
    background: #c54930;
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

[b-3ygs81gk2b] .pm-confirm-delete-btn:hover:not(:disabled) {
    background: #a93d29;
}

[b-3ygs81gk2b] .pm-confirm-delete-btn:disabled {
    opacity: 0.58;
    cursor: default;
}

[b-3ygs81gk2b] .pmm-dialog {
    width: min(760px, 100%);
    max-height: min(90vh, 940px);
    display: flex;
    flex-direction: column;
}

[b-3ygs81gk2b] .pmm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #e7edf3;
}

[b-3ygs81gk2b] .pmm-header h3 {
    margin: 0;
    color: var(--me-text);
    font-size: 18px;
    font-weight: 700;
}

[b-3ygs81gk2b] .pmm-close {
    border: none;
    background: transparent;
    color: #60738b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

[b-3ygs81gk2b] .pmm-body {
    overflow-y: auto;
    padding: 22px;
}

[b-3ygs81gk2b] .pmm-section {
    margin-bottom: 22px;
}

[b-3ygs81gk2b] .pmm-section:last-child {
    margin-bottom: 0;
}

[b-3ygs81gk2b] .pmm-section-header {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    align-items: baseline;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f6;
}

[b-3ygs81gk2b] .pmm-section-header .pmm-section-label {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

[b-3ygs81gk2b] .pmm-select-all {
    font-size: 12px;
    color: #60738b;
}

[b-3ygs81gk2b] .pmm-section-label {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 8px;
    color: #3f5874;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #edf2f6;
}

[b-3ygs81gk2b] .pmm-sec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

[b-3ygs81gk2b] .pmm-footer {
    margin-top: 0;
    padding: 16px 22px 22px;
    border-top: 1px solid #e7edf3;
}

@media (max-width: 760px) {
    .me-page[b-3ygs81gk2b] {
        padding: 0 14px 24px;
    }

    [b-3ygs81gk2b] .ms-form-grid,
    [b-3ygs81gk2b] .pmm-sec-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    [b-3ygs81gk2b] .me-cfg-field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    [b-3ygs81gk2b] .me-cfg-fieldset {
        padding-left: 0;
    }

    .me-header-actions[b-3ygs81gk2b] {
        width: 100%;
        align-items: stretch;
    }

    .me-btn-header-cancel[b-3ygs81gk2b],
    .me-btn-header-primary[b-3ygs81gk2b] {
        flex: 1;
    }

    .me-header-primary-actions[b-3ygs81gk2b] {
        width: 100%;
    }

    [b-3ygs81gk2b] .ms-section,
    .me-config-panel[b-3ygs81gk2b] {
        border-radius: 18px;
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 480px) {
    .me-page[b-3ygs81gk2b] {
        padding: 0 8px 20px;
    }

    [b-3ygs81gk2b] .ms-section,
    .me-config-panel[b-3ygs81gk2b] {
        border-radius: 14px;
        padding: 16px 12px;
    }

    [b-3ygs81gk2b] .ms-section-title,
    .me-config-panel .ms-section-title[b-3ygs81gk2b] {
        font-size: 15px;
    }

    [b-3ygs81gk2b] .ms-field > label {
        font-size: 10px;
    }

    [b-3ygs81gk2b] .ms-field input[type="text"],
    [b-3ygs81gk2b] .ms-field input[type="email"],
    [b-3ygs81gk2b] .ms-field input[type="tel"],
    [b-3ygs81gk2b] .ms-field input[type="url"],
    [b-3ygs81gk2b] .ms-field input[type="number"],
    [b-3ygs81gk2b] .ms-field select {
        min-height: 40px;
        font-size: 13px;
        border-radius: 10px;
    }

    .me-btn-cancel[b-3ygs81gk2b],
    [b-3ygs81gk2b] .me-btn-cancel,
    .me-btn-primary[b-3ygs81gk2b],
    [b-3ygs81gk2b] .me-btn-primary {
        min-height: 38px;
        font-size: 12px;
        border-radius: 10px;
    }
}
/* /Components/Pages/Merchants/MerchantList.razor.rz.scp.css */
/* ── Merchant List Page ── */

.ml-page[b-kys9g7a2wr] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px 20px;
}

/* ── Status Banners ── */

.ml-status-banner[b-kys9g7a2wr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.ml-status-error[b-kys9g7a2wr] {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.ml-status-info[b-kys9g7a2wr] {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.ml-dismiss-btn[b-kys9g7a2wr] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
    color: inherit;
    opacity: 0.7;
}

.ml-dismiss-btn:hover[b-kys9g7a2wr] {
    opacity: 1;
}

/* ── Add Button ── */

.ml-action-btn[b-kys9g7a2wr] {
    border: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    padding: 8px 14px;
    transition: background 0.12s ease;
}

.ml-add-btn[b-kys9g7a2wr] {
    background: #2563eb;
}

.ml-add-btn:hover[b-kys9g7a2wr] {
    background: #1d4ed8;
}

/* ── Tools Dropdown ── */

.ml-tools-container[b-kys9g7a2wr] {
    position: relative;
}

.ml-tools-btn[b-kys9g7a2wr] {
    padding: 7px 14px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #2f6f66 0%, #3b8a7f 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.12s ease;
}

.ml-tools-btn:hover[b-kys9g7a2wr] {
    background: linear-gradient(135deg, #1f534b 0%, #2f6f66 100%);
}

.ml-tools-backdrop[b-kys9g7a2wr] {
    position: fixed;
    inset: 0;
    z-index: 99;
    cursor: default;
}

.ml-tools-dropdown[b-kys9g7a2wr] {
    position: fixed;
    min-width: 180px;
    background: white;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 100;
    overflow: hidden;
    animation: mlDropIn-b-kys9g7a2wr 0.12s ease-out;
}

.ml-tools-item[b-kys9g7a2wr] {
    width: 100%;
    padding: 9px 14px;
    border: none;
    background: none;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s ease;
}

.ml-tools-item:hover[b-kys9g7a2wr] {
    background: #f1f5f9;
}

@keyframes mlDropIn-b-kys9g7a2wr {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Toolbar ── */

.ml-toolbar[b-kys9g7a2wr] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ml-search[b-kys9g7a2wr] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 240px;
}

.ml-search-input[b-kys9g7a2wr] {
    flex: 1;
    max-width: 320px;
    padding: 7px 12px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    background: white;
    color: #1e293b;
    outline: none;
    transition: border-color 0.15s ease;
}

.ml-search-input:focus[b-kys9g7a2wr] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.ml-search-input[b-kys9g7a2wr]::placeholder {
    color: #94a3b8;
}

.ml-search-btn[b-kys9g7a2wr] {
    padding: 7px 14px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: white;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease;
}

.ml-search-btn:hover[b-kys9g7a2wr] {
    background: #f1f5f9;
}

.ml-clear-btn[b-kys9g7a2wr] {
    padding: 7px 10px;
    border: none;
    background: none;
    color: #64748b;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

.ml-clear-btn:hover[b-kys9g7a2wr] {
    color: #334155;
}

/* ── Filter Group ── */

.ml-filter-group[b-kys9g7a2wr] {
    display: flex;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    overflow: hidden;
}

.ml-filter-btn[b-kys9g7a2wr] {
    padding: 7px 14px;
    border: none;
    border-right: 1px solid #d0d7de;
    background: white;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s ease;
}

.ml-filter-btn:last-child[b-kys9g7a2wr] {
    border-right: none;
}

.ml-filter-btn:hover:not(.ml-filter-active)[b-kys9g7a2wr] {
    background: #f1f5f9;
}

.ml-filter-active[b-kys9g7a2wr] {
    background: #2563eb;
    color: white;
}

/* ── Status Badges ── */

.ml-badge-active[b-kys9g7a2wr],
.ml-badge-inactive[b-kys9g7a2wr] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ml-badge-active[b-kys9g7a2wr] {
    background: #dcfce7;
    color: #166534;
}

.ml-badge-inactive[b-kys9g7a2wr] {
    background: #fef2f2;
    color: #991b1b;
}

/* ── Show All Button ── */

.ml-show-all-wrap[b-kys9g7a2wr] {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.ml-show-all-btn[b-kys9g7a2wr] {
    padding: 10px 28px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: white;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ml-show-all-btn:hover:not(:disabled)[b-kys9g7a2wr] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.ml-show-all-btn:disabled[b-kys9g7a2wr] {
    opacity: 0.6;
    cursor: default;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .ml-page[b-kys9g7a2wr] {
        padding: 0 16px 16px;
    }

    .ml-toolbar[b-kys9g7a2wr] {
        flex-direction: column;
        align-items: stretch;
    }

    .ml-search[b-kys9g7a2wr] {
        min-width: unset;
    }

    .ml-search-input[b-kys9g7a2wr] {
        max-width: none;
    }

    .ml-filter-group[b-kys9g7a2wr] {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .ml-page[b-kys9g7a2wr] {
        padding: 0 8px 12px;
    }

    .ml-action-btn[b-kys9g7a2wr] {
        font-size: 11px;
        padding: 6px 10px;
    }

    .ml-filter-btn[b-kys9g7a2wr] {
        padding: 6px 10px;
        font-size: 11px;
    }

    .ml-search-btn[b-kys9g7a2wr] {
        padding: 6px 10px;
        font-size: 12px;
    }
}
/* /Components/Pages/Merchants/MerchantView.razor.rz.scp.css */
/* ── Merchant Profile (Read-Only) ── */

.mv-page[b-875fstx1c4] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px 40px;
}

/* ── Hero Card ── */

.mv-hero[b-875fstx1c4] {
    background: radial-gradient(circle at top right, rgba(29, 78, 216, 0.14), transparent 45%),
        linear-gradient(135deg, #ffffff 20%, #f6fafc 80%, #eef5fb 100%);
    border: 1px solid #d5d9e0;
    border-radius: 10px;
    padding: 26px 28px 22px;
    margin-bottom: 16px;
    
}

.mv-hero-top[b-875fstx1c4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mv-hero-identity h1[b-875fstx1c4] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.mv-aka[b-875fstx1c4] {
    display: block;
    font-size: 13px;
    color: #5a7090;
    font-style: italic;
    margin-top: 2px;
}

/* ── Status Badge ── */

.mv-status[b-875fstx1c4] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;    
}

.mv-status-dot[b-875fstx1c4] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.mv-status-active[b-875fstx1c4] {
    background: #e8f5e9;
    color: #2e7d32;
}

.mv-status-active .mv-status-dot[b-875fstx1c4] {
    background: #43a047;
}

.mv-status-disabled[b-875fstx1c4] {
    background: #fbe9e7;
    color: #c62828;
}

.mv-status-disabled .mv-status-dot[b-875fstx1c4] {
    background: #e53935;
}

/* ── Hero Detail Rows ── */

.mv-hero-details[b-875fstx1c4] {
    display: inline-flex;
    gap: 10px 36px;
    margin-bottom: 6px;
}


.mv-hero-item[b-875fstx1c4] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #3a4a5e;
}

.mv-icon[b-875fstx1c4] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    stroke: #7a8ea0;
}

.mv-hero-mid[b-875fstx1c4] {
    gap: 6px;
}

.mv-mid-label[b-875fstx1c4] {
    font-size: 14px;
    font-weight: 700;
    color: #7a8ea0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 4px;
    border-radius: 3px;
}

.mv-mid-value[b-875fstx1c4] {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

/* ── Hero Description ── */

.mv-hero-desc[b-875fstx1c4] {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef1f4;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.55;
}

/* ── Detail Cards Grid ── */

.mv-cards[b-875fstx1c4] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

/* ── Card ── */

.mv-card[b-875fstx1c4] {
    background: #ffffff;
    border: 1px solid #d5d9e0;
    border-radius: 10px;
    padding: 22px 24px;
}

.mv-card h2[b-875fstx1c4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1e2d45;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ecf0;
}

.mv-card-icon[b-875fstx1c4] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: #7a8ea0;
}

/* ── Definition-list rows ── */

.mv-dl[b-875fstx1c4] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mv-row[b-875fstx1c4] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f7f9;
}

.mv-row:last-child[b-875fstx1c4] {
    border-bottom: none;
    padding-bottom: 0;
}

.mv-row:first-child[b-875fstx1c4] {
    padding-top: 0;
}

.mv-row-label[b-875fstx1c4] {
    font-size: 12px;
    font-weight: 600;
    color: #7a8ea0;
    white-space: nowrap;
    flex-shrink: 0;
}

.mv-row-val[b-875fstx1c4] {
    font-size: 13px;
    color: #1a2332;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.mv-divider[b-875fstx1c4] {
    height: 1px;
    background: #e8ecf0;
    margin: 6px 0;
}

/* ── Configuration Section ── */

.mv-config[b-875fstx1c4] {
    background: #ffffff;
    border: 1px solid #d5d9e0;
    border-radius: 10px;
    padding: 22px 24px;
}

.mv-config h2[b-875fstx1c4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1e2d45;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ecf0;
}

/* ── Configuration Grid ── */

.mv-cfg-grid[b-875fstx1c4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 36px;
}

.mv-cfg-item[b-875fstx1c4] {
    padding: 0;
}

.mv-cfg-header[b-875fstx1c4] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mv-cfg-name[b-875fstx1c4] {
    font-size: 13px;
    font-weight: 600;
    color: #1e2d45;
}

.mv-cfg-state[b-875fstx1c4] {
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

.mv-cfg-state-on[b-875fstx1c4] {
    color: #2e7d32;
}

.mv-cfg-state-off[b-875fstx1c4] {
    color: #9aa8b8;
}

.mv-cfg-detail[b-875fstx1c4] {
    margin-top: 4px;
    padding-left: 16px;
    font-size: 12px;
    color: #4a5568;
    line-height: 1.5;
    word-break: break-word;
}

/* ── Misc ── */

.mv-empty[b-875fstx1c4],
.mv-loading[b-875fstx1c4] {
    color: #5a7090;
    font-size: 14px;
    margin: 0;
}

/* ── Responsive ── */

@media (min-width: 900px) {
    .mv-cards[b-875fstx1c4] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .mv-page[b-875fstx1c4] {
        padding: 0 16px 32px;
    }

    .mv-hero[b-875fstx1c4] {
        padding: 20px 18px 18px;
    }

    .mv-hero-identity h1[b-875fstx1c4] {
        font-size: 20px;
    }

    .mv-hero-top[b-875fstx1c4] {
        flex-direction: column;
        gap: 10px;
    }

    .mv-hero-details[b-875fstx1c4] {
        flex-direction: column;
        gap: 6px;
    }

    .mv-card[b-875fstx1c4] {
        padding: 18px;
    }

    .mv-row[b-875fstx1c4] {
        flex-direction: column;
        gap: 1px;
    }

    .mv-row-val[b-875fstx1c4] {
        text-align: left;
    }

    .mv-cfg-grid[b-875fstx1c4] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mv-page[b-875fstx1c4] {
        padding: 0 8px 24px;
    }

    .mv-hero[b-875fstx1c4] {
        padding: 16px 14px;
    }

    .mv-hero-identity h1[b-875fstx1c4] {
        font-size: 18px;
    }

    .mv-card[b-875fstx1c4] {
        padding: 14px;
        border-radius: 8px;
    }

    .mv-config[b-875fstx1c4] {
        padding: 14px;
    }
}
/* /Components/Pages/Merchants/StraddleConversion.razor.rz.scp.css */
/* ── Straddle Conversion Page ── */

.sc-page[b-jcnqhoncc0] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 20px;
}

/* ── Status Banners ── */

.sc-status-banner[b-jcnqhoncc0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.sc-status-error[b-jcnqhoncc0] {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.sc-status-success[b-jcnqhoncc0] {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ── Input Methods ── */

.sc-input-section[b-jcnqhoncc0] {
    margin-bottom: 20px;
}

.sc-input-methods[b-jcnqhoncc0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sc-method-card[b-jcnqhoncc0] {
    background: white;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 16px;
}

.sc-method-title[b-jcnqhoncc0] {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.sc-method-desc[b-jcnqhoncc0] {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.sc-paste-area[b-jcnqhoncc0] {
    width: 100%;
    min-height: 120px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 10px;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: #1e293b;
    background: #fafbfc;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.sc-paste-area:focus[b-jcnqhoncc0] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.sc-paste-area[b-jcnqhoncc0]::placeholder {
    color: #94a3b8;
}

/* ── Upload Zone ── */

.sc-upload-zone[b-jcnqhoncc0] {
    display: block;
    border: 2px dashed #d0d7de;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease;
}

.sc-upload-zone:hover[b-jcnqhoncc0] {
    border-color: #3b82f6;
}

[b-jcnqhoncc0] .sc-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.sc-upload-icon[b-jcnqhoncc0] {
    font-size: 28px;
    margin-bottom: 6px;
}

.sc-upload-text[b-jcnqhoncc0] {
    font-size: 12px;
    line-height: 1.5;
}

.sc-upload-browse[b-jcnqhoncc0] {
    color: #3b82f6;
    text-decoration: underline;
}

.sc-upload-filename[b-jcnqhoncc0] {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.sc-upload-parsing[b-jcnqhoncc0] {
    pointer-events: none;
    opacity: 0.7;
}

.sc-upload-spinner[b-jcnqhoncc0] {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: sc-spin-b-jcnqhoncc0 0.7s linear infinite;
    margin: 0 auto 8px;
}

@keyframes sc-spin-b-jcnqhoncc0 {
    to { transform: rotate(360deg); }
}

.sc-upload-error[b-jcnqhoncc0] {
    margin-top: 8px;
    font-size: 12px;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 5px;
    padding: 6px 10px;
}

.sc-data-source[b-jcnqhoncc0] {
    font-weight: 400;
    color: #94a3b8;
    font-size: 11px;
    margin-left: 4px;
    font-style: italic;
}

/* ── Preview Section ── */

.sc-preview-section[b-jcnqhoncc0] {
    background: white;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    overflow: hidden;
}

.sc-preview-header[b-jcnqhoncc0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.sc-preview-title[b-jcnqhoncc0] {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.sc-row-count[b-jcnqhoncc0] {
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
    margin-left: 6px;
}

.sc-clear-btn[b-jcnqhoncc0] {
    padding: 5px 12px;
    border: 1px solid #d0d7de;
    border-radius: 5px;
    background: white;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s ease;
}

.sc-clear-btn:hover[b-jcnqhoncc0] {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* ── Preview Table ── */

.sc-preview-table-wrap[b-jcnqhoncc0] {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

.sc-preview-table[b-jcnqhoncc0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.sc-th[b-jcnqhoncc0] {
    padding: 6px 8px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sc-th-clickable[b-jcnqhoncc0] {
    cursor: pointer;
    user-select: none;
    border-bottom: 1px dashed #94a3b8;
}

.sc-th-clickable:hover[b-jcnqhoncc0] {
    color: #1e293b;
    background: #eef2f6;
}

.sc-th-editing[b-jcnqhoncc0] {
    padding: 4px 6px;
}

.sc-header-input[b-jcnqhoncc0] {
    width: 100%;
    min-width: 80px;
    border: 1px solid #3b82f6;
    border-radius: 3px;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    background: white;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.sc-th-row[b-jcnqhoncc0] {
    width: 40px;
    text-align: center;
    color: #94a3b8;
}

.sc-td[b-jcnqhoncc0] {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    white-space: nowrap;
}

.sc-td-row[b-jcnqhoncc0] {
    text-align: center;
    color: #94a3b8;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.sc-row-even[b-jcnqhoncc0] {
    background: white;
}

.sc-row-odd[b-jcnqhoncc0] {
    background: #fafbfc;
}

/* ── Preview Header Actions ── */

.sc-preview-actions[b-jcnqhoncc0] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-action-btn[b-jcnqhoncc0] {
    border: none;
    border-radius: 5px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s ease;
}

.sc-btn-primary[b-jcnqhoncc0] {
    background: #3b6e3b;
    color: white;
}

.sc-btn-primary:hover:not(:disabled)[b-jcnqhoncc0] {
    background: #2d5a2d;
}

.sc-btn-primary:disabled[b-jcnqhoncc0] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Button Spinner ── */

.sc-btn-spinner[b-jcnqhoncc0] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: sc-spin-b-jcnqhoncc0 0.7s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

/* ── Row Validation Errors ── */

.sc-validation-errors[b-jcnqhoncc0] {
    padding: 10px 16px;
    background: #fff8e1;
    border-bottom: 1px solid #ffe082;
    font-size: 12px;
}

.sc-validation-title[b-jcnqhoncc0] {
    font-weight: 600;
    color: #e65100;
    margin-bottom: 4px;
}

.sc-validation-row[b-jcnqhoncc0] {
    color: #bf360c;
    padding: 2px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.sc-validation-more[b-jcnqhoncc0] {
    color: #94a3b8;
    font-style: italic;
}

/* ── Lookup Column Separator ── */

.sc-th-separator[b-jcnqhoncc0],
.sc-td-separator[b-jcnqhoncc0] {
    width: 8px;
    min-width: 8px;
    max-width: 8px;
    padding: 0;
    background: #e2e8f0;
    border-bottom-color: #e2e8f0;
}

.sc-th-lookup[b-jcnqhoncc0] {
    background: #f0f4ff;
    font-size: 10px;
    line-height: 1.3;
}

.sc-td-lookup[b-jcnqhoncc0] {
    color: #64748b;
    font-style: italic;
    font-size: 10px;
}

/* ── Skip Row (already on Straddle) ── */

.sc-row-skip[b-jcnqhoncc0] {
    background: #fef2f2 !important;
}

.sc-row-skip .sc-td[b-jcnqhoncc0] {
    color: #b91c1c;
}

.sc-row-skip .sc-td-separator[b-jcnqhoncc0] {
    background: #fecaca;
}

.sc-skip-note[b-jcnqhoncc0] {
    padding: 8px 16px;
    font-size: 10px;
    color: #94a3b8;
    font-style: italic;
}

/* ── Converted Row (post-success, now on Straddle) ── */

.sc-td-converted[b-jcnqhoncc0] {
    background: #e8f5e9;
    color: #2e7d32;
    font-style: normal;
    font-weight: 500;
}

/* ── Column Validation ── */

.sc-column-error[b-jcnqhoncc0] {
    padding: 8px 16px;
    font-size: 12px;
    color: #dc2626;
    background: #fef2f2;
    border-bottom: 1px solid #fecaca;
}

.sc-column-info[b-jcnqhoncc0] {
    padding: 8px 16px;
    font-size: 11px;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .sc-page[b-jcnqhoncc0] {
        padding: 0 16px 16px;
    }

    .sc-input-methods[b-jcnqhoncc0] {
        grid-template-columns: 1fr;
    }

    .sc-preview-header[b-jcnqhoncc0] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .sc-preview-table-wrap[b-jcnqhoncc0] {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .sc-page[b-jcnqhoncc0] {
        padding: 0 8px 12px;
    }

    .sc-method-card[b-jcnqhoncc0] {
        padding: 12px;
    }
}
/* /Components/Pages/Payments/PaymentList.razor.rz.scp.css */
/* Payment List Page */

.pl-page[b-x844orpxp7] {
    margin: 0 30px;
}

.pl-date-group[b-x844orpxp7] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pl-label[b-x844orpxp7] {
    font-size: 12px;
    font-weight: 600;
    color: #4a6a8a;
}

.pl-date-sep[b-x844orpxp7] {
    font-size: 12px;
    color: #7a8fa6;
    padding: 0 2px;
}

/* Form Controls */

.pl-input[b-x844orpxp7] {
    height: 30px;
    border: 1px solid #bcc6d2;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 12px;
    font-family: inherit;
    color: #1a2332;
    box-sizing: border-box;
}

.pl-date-input[b-x844orpxp7] {
    width:112px;
}

.pl-date-type[b-x844orpxp7] {
    width: 114px;
}

.pl-input:focus[b-x844orpxp7] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

/* Apply Button */

.pl-apply-btn[b-x844orpxp7] {
    background: #3b6e3b;
    border: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 7px 20px;
    border-radius: 4px;
    transition: background 0.15s;
}

.pl-apply-btn:hover:not(:disabled)[b-x844orpxp7] {
    background: #2d5a2d;
}

.pl-apply-btn:disabled[b-x844orpxp7] {
    opacity: 0.5;
    cursor: default;
}

/* CSV Button */

.pl-csv-btn[b-x844orpxp7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #3B4C4A;
    border: 1px solid #2b3a38;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 5px;
    transition: background 0.15s;
}

.pl-csv-btn:hover:not(:disabled)[b-x844orpxp7] {
    background: #2a3836;
}

.pl-csv-btn:disabled[b-x844orpxp7] {
    opacity: 0.5;
    cursor: default;
}

/* Status Column Header */

[b-x844orpxp7] .pl-status-header {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

[b-x844orpxp7] .pl-filter-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 3px;
    color: #7a8fa6;
    transition: color 0.15s, background 0.15s;
    line-height: 1;
}

[b-x844orpxp7] .pl-filter-icon-btn:hover {
    color: #1e3a5c;
    background: rgba(30, 58, 92, 0.1);
}

/* Status Filter Popup */

.pl-status-overlay[b-x844orpxp7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.pl-status-popup[b-x844orpxp7] {
    position: absolute;
    right: 60px;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #b0bec5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    max-width: 280px;
    padding: 0;
    overflow: hidden;
}

.pl-status-popup-title[b-x844orpxp7] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 14px;
    letter-spacing: 0.3px;
}

.pl-status-actions[b-x844orpxp7] {
    display: flex;
    gap: 12px;
    padding: 8px 14px 4px;
    border-bottom: 1px solid #e0e6ec;
}

.pl-status-action-link[b-x844orpxp7] {
    background: none;
    border: none;
    color: #3b6e9f;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.pl-status-action-link:hover[b-x844orpxp7] {
    color: #1e3a5c;
}

.pl-status-list[b-x844orpxp7] {
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.pl-status-item[b-x844orpxp7] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #1a2332;
    cursor: pointer;
    padding: 3px 0;
    font-weight: 500;
}

.pl-status-item input[type="checkbox"][b-x844orpxp7] {
    accent-color: #3b6e3b;
}

.pl-status-popup-footer[b-x844orpxp7] {
    padding: 8px 14px 10px;
    border-top: 1px solid #e0e6ec;
    display: flex;
    justify-content: flex-end;
}

/* Grid Cell Overrides */

[b-x844orpxp7] .pl-amount-negative {
    color: #c62828;
    font-weight: 600;
}

[b-x844orpxp7] .pl-footer-td {
    padding: 9px 10px;
    font-size: 13px;
    border-top: 2px solid #1e2d45;
}

[b-x844orpxp7] .pl-footer-count {
    text-align: left;
    font-weight: 700;
    color: #1e293b;
}

[b-x844orpxp7] .pl-footer-amount {
    text-align: right;
    padding-right: 12px;
    font-weight: 700;
    color: #1e293b;
}

[b-x844orpxp7] .pl-footer-amount.pl-amount-negative {
    color: #c62828;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .pl-page[b-x844orpxp7] {
        margin: 0 12px;
    }

    .pl-date-group[b-x844orpxp7] {
        flex-direction: column;
        align-items: stretch;
    }

    .pl-date-input[b-x844orpxp7] {
        width: 100%;
    }

    .pl-date-type[b-x844orpxp7] {
        width: 100%;
    }

    .pl-status-popup[b-x844orpxp7] {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }

    .pl-status-list[b-x844orpxp7] {
        max-height: min(40vh, 300px);
    }
}

@media (max-width: 480px) {
    .pl-page[b-x844orpxp7] {
        margin: 0 8px;
    }
}
/* /Components/Pages/Payments/TransactionDetail.razor.rz.scp.css */
/* ── Transaction Detail Page ── */

/* ── Amount + Status Hero Banner ── */

.txd-hero[b-tfof7dntov] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 4px 10px 4px;
}

.txd-hero-left[b-tfof7dntov],
.txd-hero-right[b-tfof7dntov] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.txd-hero-value[b-tfof7dntov] {
    font-size: 22px;
    font-weight: 700;
    color: #1a2332;
}

.txd-hero-direction[b-tfof7dntov] {
    font-size: 12px;
    font-weight: 500;
    color: #7a8ea0;
}

.txd-hero-status-badge[b-tfof7dntov] {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    line-height: 1.3;
}

.txd-hero-return[b-tfof7dntov] {
    font-size: 11.5px;
    font-weight: 500;
    color: #7d1010;
}

/* Status badge color variants */
.txd-status-scheduled[b-tfof7dntov] {
    background: #e8f0fe;
    color: #1a56db;
}

.txd-status-processing[b-tfof7dntov] {
    background: #fef3cd;
    color: #856404;
}

.txd-status-settled[b-tfof7dntov] {
    background: #d4edda;
    color: #155724;
}

.txd-status-returned[b-tfof7dntov] {
    background: #f8d7da;
    color: #721c24;
}

.txd-status-cancelled[b-tfof7dntov] {
    background: #f0f0f0;
    color: #5a5a5a;
}

.txd-status-default[b-tfof7dntov] {
    background: #e9ecef;
    color: #495057;
}

/* ── Back Button ── */

.txd-back-btn[b-tfof7dntov] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #bcc6d2;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    color: #4a6a8a;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    transition: all 0.1s ease;
}

.txd-back-btn:hover[b-tfof7dntov] {
    background: #e8f0fe;
    border-color: #8aa4c0;
    color: #1e3a5c;
}

/* ── Loading / Empty States ── */

.txd-loading[b-tfof7dntov],
.txd-not-found[b-tfof7dntov] {
    text-align: center;
    padding: 40px;
    color: #7a8ea0;
    font-size: 13px;
}

/* ── Response Message Banner ── */

.txd-message[b-tfof7dntov] {
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
}

.txd-message-success[b-tfof7dntov] {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.txd-message-error[b-tfof7dntov] {
    background: #fff3f3;
    border: 1px solid #d2a3a3;
    color: #7d1010;
}

/* ── API Error Detail Block ── */

.txd-api-error[b-tfof7dntov] {
    margin: 6px auto;
    max-width: 760px;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid #d2a3a3;
    border-radius: 4px;
    background: #fff3f3;
    color: #7d1010;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.35;
}

.txd-api-error-title[b-tfof7dntov] {
    text-align: center;
    color: #b00000;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.txd-api-error-row[b-tfof7dntov] {
    margin: 4px 0;
}

.txd-api-error-label[b-tfof7dntov] {
    display: inline-block;
    width: 145px;
    font-weight: bold;
    vertical-align: top;
}

/* ── Two-Panel Layout ── */

.txd-panels[b-tfof7dntov] {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}

/* ── Card Style ── */

.txd-card[b-tfof7dntov] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #c0c8d2;
    overflow: clip;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.txd-card-full[b-tfof7dntov] {
    margin-bottom: 16px;
}

.txd-card-header[b-tfof7dntov] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 14px;
    letter-spacing: 0.3px;
}

.txd-customer-header[b-tfof7dntov] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.txd-txn-header[b-tfof7dntov] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.txd-txn-header-actions[b-tfof7dntov] {
    display: flex;
    gap: 8px;
}

.txd-email-btn[b-tfof7dntov] {
    background: #3B4C4A;
    border: 1px solid #ceceff;
    color: white;
    font-size: 9px;
    font-weight: bold;
    cursor: pointer;
    padding: 2px 8px;
    height: 19px;
    border-radius: 2px;
}

.txd-email-btn:disabled[b-tfof7dntov] {
    opacity: 0.5;
    cursor: default;
}

.txd-card-body[b-tfof7dntov] {
    padding: 10px 0;
}

.txd-card-body-flex[b-tfof7dntov] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Customer Profile Block ── */

.txd-customer-block[b-tfof7dntov] {
    padding: 4px 14px 8px;
}

.txd-customer-name[b-tfof7dntov] {
    font-size: 15px;
    font-weight: 600;
    color: #1a2332;
}

.txd-customer-address[b-tfof7dntov],
.txd-customer-city[b-tfof7dntov] {
    font-size: 12px;
    color: #1a2332;
    margin-top: 2px;
}

/* ── Field Rows ── */

.txd-field-row[b-tfof7dntov] {
    display: flex;
    padding: 5px 14px;
    min-height: 28px;
    align-items: center;
}

.txd-field-label[b-tfof7dntov] {
    width: 160px;
    min-width: 160px;
    font-weight: 600;
    font-size: 12px;
    color: #4a6a8a;
    margin-right: 8px;
}

.txd-field-value[b-tfof7dntov] {
    flex: 1;
    font-size: 12.5px;
    color: #1a2332;
    font-weight: 500;
}

[b-tfof7dntov] .txd-sec-desc {
    margin-left: 12px;
    color: #6b7a8f;
    font-weight: 400;
}

.txd-field-row-full[b-tfof7dntov] {
    grid-column: 1 / -1;
}

/* ── Edit Button Row ── */

.txd-edit-row[b-tfof7dntov] {
    text-align: right;
    padding: 6px 14px;
}

.txd-edit-btn[b-tfof7dntov] {
    background: #3b6e3b;
    border: none;
    color: white;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 20px;
    border-radius: 4px;
    transition: background 0.15s;
}

.txd-edit-btn:hover:not(:disabled)[b-tfof7dntov] {
    background: #2d5a2d;
}

.txd-edit-btn:disabled[b-tfof7dntov] {
    opacity: 0.5;
    cursor: default;
}

/* ── Header Edit Button ── */

.txd-header-edit-btn[b-tfof7dntov] {
    background: #4a6a8a;
    border: 1px solid #6a8aaa;
    color: white;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 14px;
    border-radius: 4px;
    transition: all 0.15s;
}

.txd-header-edit-btn:hover:not(:disabled)[b-tfof7dntov] {
    background: #5a7a9a;
    border-color: #7a9aba;
}

.txd-header-edit-btn:disabled[b-tfof7dntov] {
    opacity: 0.5;
    cursor: default;
}

/* ── Straddle Row (Bottom Aligned) ── */

.txd-straddle-row[b-tfof7dntov] {
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 5px;
}

/* ── Bank Account Divider ── */

.txd-bank-divider[b-tfof7dntov] {
    border-top: 1px solid #ccc;
    margin: 6px 14px;
}

/* ── Transaction Info Grid (2 columns) ── */

.txd-txn-grid[b-tfof7dntov] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px 0;
}

/* ── Editable Inputs ── */

.txd-input[b-tfof7dntov] {
    height: 28px;
    border: 1px solid #bcc6d2;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 12px;
    font-family: inherit;
    color: #1a2332;
}

.txd-input:focus[b-tfof7dntov] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

.txd-input-wide[b-tfof7dntov] {
    width: 210px;
}

.txd-select[b-tfof7dntov] {
    height: 28px;
    padding: 0 4px;
}

/* ── Status Display ── */

.txd-status[b-tfof7dntov] {
    color: #4a4fa0;
    font-size: 14px;
    font-weight: 600;
}

.txd-return-code[b-tfof7dntov] {
    color: #1e3a5c;
    font-size: 12px;
    font-weight: 500;
}

/* ── Action Buttons Row ── */

.txd-actions[b-tfof7dntov] {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.txd-action-btn[b-tfof7dntov] {
    background: #3b6e3b;
    border: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 7px 18px;
    height: 30px;
    border-radius: 4px;
    transition: background 0.15s;
}

.txd-action-btn:hover:not(:disabled)[b-tfof7dntov] {
    background: #2d5a2d;
}

.txd-action-btn:disabled[b-tfof7dntov] {
    opacity: 0.5;
    cursor: default;
}

.txd-action-danger[b-tfof7dntov] {
    background: #8b3d3d;
}

.txd-action-danger:hover:not(:disabled)[b-tfof7dntov] {
    background: #6e2d2d;
}

/* ── Customer Edit Modal ── */

.txd-modal-backdrop[b-tfof7dntov] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 50;
}

.txd-modal[b-tfof7dntov] {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    background: #f3f3f3;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 51;
}

.txd-modal-title[b-tfof7dntov] {
    font-size: 14px;
    font-weight: 700;
    color: #1e2d45;
    margin-bottom: 14px;
    text-align: center;
}

.txd-modal-body[b-tfof7dntov] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.txd-modal-field[b-tfof7dntov] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.txd-modal-field label[b-tfof7dntov] {
    width: 130px;
    min-width: 130px;
    font-size: 12px;
    font-weight: 600;
    color: #1a2332;
    text-align: right;
}

.txd-modal-field input[b-tfof7dntov],
.txd-modal-field select[b-tfof7dntov] {
    flex: 1;
    padding: 7px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    font-family: inherit;
    box-sizing: border-box;
}

.txd-modal-field input:focus[b-tfof7dntov],
.txd-modal-field select:focus[b-tfof7dntov] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

.txd-modal-error[b-tfof7dntov] {
    color: #b00000;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 6px 0;
}

.txd-modal-buttons[b-tfof7dntov] {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.txd-modal-btn[b-tfof7dntov] {
    background: #3b546e;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    width: 110px;
    padding: 8px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
    transition: background 0.15s;
}

.txd-modal-btn:hover:not(:disabled)[b-tfof7dntov] {
    background: #2d4058;
}

.txd-modal-btn:disabled[b-tfof7dntov] {
    opacity: 0.5;
    cursor: default;
}

.txd-modal-btn-save[b-tfof7dntov] {
    background: #3b6e3b;
}

.txd-modal-btn-save:hover:not(:disabled)[b-tfof7dntov] {
    background: #2d5a2d;
}

/* ── Bank Account Header ── */

.txd-bank-header[b-tfof7dntov] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Straddle Audit Mode ── */

.txd-straddle-audit-card[b-tfof7dntov] { margin-bottom: 16px; }

.txd-straddle-audit-header[b-tfof7dntov] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2d1e45 !important;
}

.txd-straddle-kv-grid[b-tfof7dntov] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 4px 0;
}

.txd-failed-step[b-tfof7dntov] { color: #c0392b; font-weight: 600; }

.txd-header-actions[b-tfof7dntov] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.txd-header-log-btn[b-tfof7dntov] {
    background: #4a6a8a;
    border: 1px solid #6a8aaa;
    color: white;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 3px;
    transition: all 0.15s;
}

.txd-header-log-btn:hover:not(:disabled)[b-tfof7dntov] { background: #5a7a9a; border-color: #7a9aba; }
.txd-header-log-btn:disabled[b-tfof7dntov] { opacity: 0.5; cursor: default; }

.txd-action-requeue[b-tfof7dntov] { background: #2d6a4f; }
.txd-action-requeue:hover:not(:disabled)[b-tfof7dntov] { background: #1b4332; }

/* ── API Log Modal ── */

.txd-apilog-modal[b-tfof7dntov] {
    width: min(900px, calc(100vw - 48px));
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.txd-apilog-body[b-tfof7dntov] {
    overflow-y: auto;
    max-height: 70vh;
    padding: 12px 16px !important;
}

.txd-apilog-kv-grid[b-tfof7dntov] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
}

.txd-apilog-kv[b-tfof7dntov] { display: flex; gap: 8px; padding: 3px 4px; font-size: 11.5px; }
.txd-apilog-label[b-tfof7dntov] { font-weight: 600; color: #495057; min-width: 120px; flex-shrink: 0; }
.txd-apilog-section[b-tfof7dntov] { margin-bottom: 12px; }

.txd-apilog-section-title[b-tfof7dntov] {
    font-size: 11px; font-weight: 700; color: #495057;
    text-transform: uppercase; letter-spacing: 0.5px;
    padding: 6px 0 4px; border-bottom: 1px solid #dee2e6; margin-bottom: 4px;
}

.txd-apilog-pre[b-tfof7dntov] {
    font-size: 11px; line-height: 1.45; background: #f8f9fa;
    border: 1px solid #dee2e6; border-radius: 4px; padding: 10px 12px;
    margin: 0; overflow-x: auto; white-space: pre-wrap; word-break: break-all;
    max-height: 300px; overflow-y: auto;
}

.txd-muted[b-tfof7dntov] { color: #6c757d; font-size: 12px; padding: 12px 0; }

.sha-status-success[b-tfof7dntov] { color: #155724; font-weight: 600; }
.sha-status-info[b-tfof7dntov] { color: #0c5460; }
.sha-status-warning[b-tfof7dntov] { color: #856404; font-weight: 600; }
.sha-status-error[b-tfof7dntov] { color: #721c24; font-weight: 600; }

/* ── Straddle Cancel Modal ── */

.txd-modal-label[b-tfof7dntov] { display: block; font-size: 12px; font-weight: 600; color: #333; margin-bottom: 6px; }

.txd-modal-textarea[b-tfof7dntov] {
    width: 100%; font-size: 12px; padding: 8px 10px;
    border: 1px solid #ccc; border-radius: 4px; resize: vertical; font-family: inherit;
}

.txd-modal-textarea:focus[b-tfof7dntov] {
    outline: none; border-color: #4a90d9;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
}

/* ── Content Wrapper ── */

.txd-content-wrapper[b-tfof7dntov] {
    position: relative;
}

/* ── Status Event History ── */

.txd-history-card[b-tfof7dntov] {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 24px;
    width: 350px;
}

.txd-history-body[b-tfof7dntov] { padding: 0 !important; }

.txd-history-event[b-tfof7dntov] {
    padding: 28px 22px;
    border-bottom: 1px solid #e4e8ed;
}

.txd-history-event-last[b-tfof7dntov] { border-bottom: none; }

.txd-history-status[b-tfof7dntov] { font-size: 18px; font-weight: 700; line-height: 1.3; }
.txd-history-date[b-tfof7dntov] { font-size: 15px; color: #45474b; margin-top: 9px; }

.txd-history-link[b-tfof7dntov] {
    display: inline-block; margin-top: 10px; font-size: 13px;
    font-weight: 600; color: #1a56db; text-decoration: none;
}
.txd-history-link:hover[b-tfof7dntov] { text-decoration: underline; }

.txd-history-return[b-tfof7dntov] { margin-top: 10px; font-size: 13px; font-weight: 500; color: #7d1010; }

.txd-history-verify[b-tfof7dntov] {
    margin-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.txd-history-verify-label[b-tfof7dntov] { width: 100%; font-size: 12.5px; font-weight: 700; color: #6b7a8f; margin-bottom: 2px; }
.txd-history-verify-text[b-tfof7dntov] { font-size: 13px; font-weight: 500; color: #7d1010; }

.txd-verify-info-wrapper[b-tfof7dntov] { position: relative; display: inline-flex; align-items: center; }
.txd-verify-info-icon[b-tfof7dntov] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 14px; height: 14px; color: #5a6d80; cursor: pointer; transition: color 0.15s;
}
.txd-verify-info-icon:hover[b-tfof7dntov] { color: #1e3a5c; }
.txd-verify-info-icon svg[b-tfof7dntov] { width: 100%; height: 100%; }

.txd-verify-popup-backdrop[b-tfof7dntov] { position: fixed; inset: 0; z-index: 99; }
.txd-verify-popup[b-tfof7dntov] {
    position: absolute; bottom: calc(100% + 8px); right: 0;
    background: #1a2332; color: #f0f2f5; font-size: 12.5px; line-height: 1.45;
    padding: 10px 14px; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    min-width: 240px; max-width: 380px; white-space: normal; z-index: 100;
}
.txd-verify-popup[b-tfof7dntov]::after {
    content: ''; position: absolute; bottom: -6px; right: 4px;
    border: 6px solid transparent; border-top-color: #1a2332; border-bottom: none;
}

/* Event status color variants */
.txd-evt-scheduled[b-tfof7dntov] { color: #1a56db; }
.txd-evt-processing[b-tfof7dntov] { color: #856404; }
.txd-evt-settled[b-tfof7dntov] { color: #155724; }
.txd-evt-returned[b-tfof7dntov] { color: #721c24; }
.txd-evt-default[b-tfof7dntov] { color: #495057; }

/* Force history inline when in audit/embedded mode */
.txd-history-inline[b-tfof7dntov] {
    position: static;
    width: auto;
    margin-left: 0;
    margin-bottom: 16px;
}

/* ── Responsive: History card reflows below on narrow viewports ── */
@media (max-width: 1660px) {
    .txd-history-card[b-tfof7dntov] {
        position: static;
        width: auto;
        margin-left: 0;
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .txd-panels[b-tfof7dntov] { flex-direction: column; }
    .txd-hero[b-tfof7dntov] { flex-direction: column; align-items: flex-start; gap: 8px; }
    .txd-txn-grid[b-tfof7dntov] { grid-template-columns: 1fr; }
    .txd-field-row[b-tfof7dntov] { flex-direction: column; align-items: flex-start; gap: 2px; }
    .txd-field-label[b-tfof7dntov] { width: auto; min-width: auto; }
    .txd-modal[b-tfof7dntov] { width: calc(100vw - 32px); }
    .txd-modal-field[b-tfof7dntov] { flex-direction: column; align-items: stretch; gap: 4px; }
    .txd-modal-field label[b-tfof7dntov] { width: auto; min-width: auto; text-align: left; }
    .txd-action-btn[b-tfof7dntov] { flex: 1; min-width: 0; }
}

@media (max-width: 480px) {
    .txd-hero-value[b-tfof7dntov] { font-size: 18px; }
    .txd-hero-status-badge[b-tfof7dntov] { font-size: 13px; }
    .txd-card-header[b-tfof7dntov] { font-size: 11px; padding: 8px 10px; }
    .txd-field-row[b-tfof7dntov] { padding: 5px 10px; }
    .txd-customer-block[b-tfof7dntov] { padding: 4px 10px 8px; }
}
/* /Components/Pages/Payments/TransactionSearch.razor.rz.scp.css */
/* ── Transaction Search Form Page ── */

.txs-page[b-2y23ou7ozy] {
    margin: 0 30px;
}

/* ── Header Actions ── */

.txs-header-actions[b-2y23ou7ozy] {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-right: calc((100vw - 1400px - 60px - 16px) / 2);
}

@media (max-width: 1476px) {
    .txs-header-actions[b-2y23ou7ozy] {
        margin-right: 0;
    }
}

/* ── Validation Error ── */

.txs-validation-error[b-2y23ou7ozy] {
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    background: #fff3f3;
    border: 1px solid #d2a3a3;
    color: #7d1010;
}

/* ── Two-Column Form Layout ── */

.txs-form-columns[b-2y23ou7ozy] {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.txs-form-col[b-2y23ou7ozy] {
    flex: 1 1 auto;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Section Cards ── */

.txs-section[b-2y23ou7ozy] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #c0c8d2;
    overflow: clip;
}

.txs-section-title[b-2y23ou7ozy] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 14px;
    letter-spacing: 0.3px;
}

.txs-section-body[b-2y23ou7ozy] {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Field Rows ── */

.txs-field-row[b-2y23ou7ozy] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.txs-field-label[b-2y23ou7ozy] {
    width: 120px;
    min-width: 120px;
    font-size: 12px;
    font-weight: 600;
    color: #4a6a8a;
    text-align: right;
}

/* ── Form Controls ── */

.txs-input[b-2y23ou7ozy] {
    flex: 1;
    max-width: 400px;
    height: 30px;
    border: 1px solid #bcc6d2;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 12px;
    font-family: inherit;
    color: #1a2332;
    box-sizing: border-box;
}

.txs-date-input[b-2y23ou7ozy] {
    max-width: 160px;
}

.txs-input:focus[b-2y23ou7ozy] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

/* ── Radio Row (horizontal) ── */

.txs-radio-row[b-2y23ou7ozy] {
    display: flex;
    gap: 20px;
    padding: 4px 0;
    font-size: 12px;
    color: #1a2332;
}

.txs-radio-row label[b-2y23ou7ozy] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* ── Radio Column (vertical, for Search Scope) ── */

.txs-radio-col[b-2y23ou7ozy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0;
    font-size: 12px;
    color: #1a2332;
}

.txs-radio-col label[b-2y23ou7ozy] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 500;
}

.txs-scope-radios[b-2y23ou7ozy] {
    gap: 10px;
}

.txs-scope-mid-row[b-2y23ou7ozy] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.txs-scope-mid-input[b-2y23ou7ozy] {
    width: 80px;
    flex: 0 0 80px;
    text-align: center;
}

/* ── Date Inputs ── */

.txs-date-inputs[b-2y23ou7ozy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Amount Composite ── */

.txs-amount-group[b-2y23ou7ozy] {
    flex: 1;
    display: flex;
    gap: 6px;
}

.txs-amount-op[b-2y23ou7ozy] {
    flex: 0 0 50px;
}

.txs-amount-val[b-2y23ou7ozy] {
    flex: 0 1 auto;
    max-width: 120px;
}

/* ── Form Action Buttons ── */

.txs-btn[b-2y23ou7ozy] {
    border: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 9px 28px;
    border-radius: 4px;
    transition: background 0.15s;
}

.txs-btn:disabled[b-2y23ou7ozy] {
    opacity: 0.5;
    cursor: default;
}

.txs-btn-search[b-2y23ou7ozy] {
    background: #3b6e3b;
}

.txs-btn-search:hover:not(:disabled)[b-2y23ou7ozy] {
    background: #2d5a2d;
}

.txs-btn-reset[b-2y23ou7ozy] {
    background: #3b546e;
}

.txs-btn-reset:hover:not(:disabled)[b-2y23ou7ozy] {
    background: #2d4058;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .txs-header-actions[b-2y23ou7ozy] {
        width: 100%;
        flex-wrap: wrap;
        margin-right: 0;
    }
}

@media (max-width: 960px) {
    .txs-form-columns[b-2y23ou7ozy] {
        flex-direction: column;
    }

    .txs-form-col[b-2y23ou7ozy] {
        max-width: none;
    }

    .txs-field-row[b-2y23ou7ozy] {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .txs-field-label[b-2y23ou7ozy] {
        width: auto;
        min-width: auto;
        text-align: left;
    }

    .txs-input[b-2y23ou7ozy] {
        max-width: none;
    }

    .txs-date-input[b-2y23ou7ozy] {
        max-width: none;
    }

    .txs-amount-group[b-2y23ou7ozy] {
        flex-wrap: wrap;
    }

    .txs-amount-op[b-2y23ou7ozy] {
        flex: 1 1 100%;
    }

    .txs-amount-val[b-2y23ou7ozy] {
        max-width: none;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .txs-page[b-2y23ou7ozy] {
        margin: 0 12px;
    }
}

@media (max-width: 480px) {
    .txs-page[b-2y23ou7ozy] {
        margin: 0 8px;
    }

    .txs-section-title[b-2y23ou7ozy] {
        font-size: 11px;
        padding: 8px 10px;
    }

    .txs-section-body[b-2y23ou7ozy] {
        padding: 8px 10px;
    }
}
/* /Components/Pages/Payments/TransactionSearchResults.razor.rz.scp.css */
/* ── Transaction Search Results Page ── */

.txsr-page[b-cj48zmur9o] {
    margin: 0 30px;
}

/* ── Return to Advanced Search Button ── */

.txsr-btn-new-search[b-cj48zmur9o] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #bcc6d2;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    color: #4a6a8a;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    transition: all 0.1s ease;
}

.txsr-btn-new-search:hover[b-cj48zmur9o] {
    background: #e8f0fe;
    border-color: #8aa4c0;
    color: #1e3a5c;
}

/* ── CSV Export Button ── */

.txsr-csv-btn[b-cj48zmur9o] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #3B4C4A;
    border: 1px solid #2b3a38;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 5px;
    transition: background 0.15s;
}

.txsr-csv-btn:hover:not(:disabled)[b-cj48zmur9o] {
    background: #2a3836;
}

.txsr-csv-btn:disabled[b-cj48zmur9o] {
    opacity: 0.5;
    cursor: default;
}

/* ── Quick Search Date Range (in toolbar) ── */

.txsr-date-range[b-cj48zmur9o] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.txsr-date-label[b-cj48zmur9o] {
    font-size: 12px;
    font-weight: 600;
    color: #4a6a8a;
}

.txsr-date-sep[b-cj48zmur9o] {
    font-size: 12px;
    color: #7a8a9a;
    padding: 0 2px;
}

.txsr-input[b-cj48zmur9o] {
    height: 30px;
    border: 1px solid #bcc6d2;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 12px;
    font-family: inherit;
    color: #1a2332;
    box-sizing: border-box;
}

.txsr-date-input[b-cj48zmur9o] {
    max-width: 160px;
}

.txsr-input:focus[b-cj48zmur9o] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

.txsr-date-warning[b-cj48zmur9o] {
    font-size: 11px;
    font-weight: 600;
    color: #b45309;
    margin-left: 6px;
    white-space: nowrap;
}

/* ── Grid Cell Overrides ── */

[b-cj48zmur9o] .txsr-amount-negative {
    color: #c62828;
    font-weight: 600;
}

[b-cj48zmur9o] .txsr-footer-td {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #1e2d45;
    border-top: 2px solid #1e2d45;
    text-align: left;
}

/* ── Loading State ── */

.txsr-searching[b-cj48zmur9o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
}

.txsr-searching-spinner[b-cj48zmur9o] {
    width: 32px;
    height: 32px;
    border: 3px solid #cbd5e1;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: txsr-spin-b-cj48zmur9o 0.7s linear infinite;
}

.txsr-searching-text[b-cj48zmur9o] {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

@keyframes txsr-spin-b-cj48zmur9o {
    to { transform: rotate(360deg); }
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .txsr-page[b-cj48zmur9o] {
        margin: 0 12px;
    }

    .txsr-date-range[b-cj48zmur9o] {
        flex-wrap: wrap;
        margin-left: 0;
    }

    .txsr-date-input[b-cj48zmur9o] {
        max-width: none;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .txsr-page[b-cj48zmur9o] {
        margin: 0 8px;
    }
}
/* /Components/Pages/PlatformUserEdit.razor.rz.scp.css */
/* ── Platform User Edit Page ── */

.ue-page[b-ib1ggcclny] {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 30px 20px;
}

/* ── Alerts ── */

.ue-alert[b-ib1ggcclny] {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.ue-alert-error[b-ib1ggcclny] {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.ue-alert-success[b-ib1ggcclny] {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ── Sections (Edit mode) ── */

.ue-section[b-ib1ggcclny] {
    background: #ffffff;
    border: 1px solid #d5d9e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.ue-section-title[b-ib1ggcclny] {
    font-size: 15px;
    font-weight: 700;
    color: #1e2d45;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ecf0;
}

.ue-section-title-row[b-ib1ggcclny] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ecf0;
}

.ue-section-title-row .ue-section-title[b-ib1ggcclny] {
    margin: 0;
    padding: 0;
    border: none;
}

.ue-btn-outline[b-ib1ggcclny] {
    background: #ffffff;
    border: 1px solid #bcc6d2;
    color: #3b6e9f;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 14px;
    border-radius: 4px;
    transition: all 0.15s;
}

.ue-btn-group[b-ib1ggcclny] {
    display: flex;
    gap: 8px;
}

.ue-btn-outline:hover:not(:disabled)[b-ib1ggcclny] {
    background: #f0f4f8;
    border-color: #8a9ab0;
    color: #1e3a5c;
}

.ue-btn-outline:disabled[b-ib1ggcclny] {
    opacity: 0.5;
    cursor: default;
}

.ue-password-hint[b-ib1ggcclny] {
    font-size: 13px;
    color: #7a8ea0;
    margin: 0;
}

/* ── Two-column form grid ── */

.ue-form-grid[b-ib1ggcclny] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* ── Card (New User mode) ── */

.ue-card[b-ib1ggcclny] {
    background: #ffffff;
    border: 1px solid #d5d9e0;
    border-radius: 8px;
    overflow: hidden;
}

.ue-card-body[b-ib1ggcclny] {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ue-card-footer[b-ib1ggcclny] {
    padding: 14px 24px;
    border-top: 1px solid #e0e6ec;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ── Mode Toggle ── */

.ue-mode-toggle[b-ib1ggcclny] {
    display: flex;
    border-bottom: 1px solid #e0e6ec;
}

.ue-mode-btn[b-ib1ggcclny] {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5a7090;
    cursor: pointer;
    transition: all 0.15s;
}

.ue-mode-btn:hover[b-ib1ggcclny] {
    color: #1e293b;
    background: #f5f7fa;
}

.ue-mode-active[b-ib1ggcclny] {
    color: #1e293b;
    border-bottom-color: #3b6e3b;
}

/* ── Form Fields ── */

.ue-field[b-ib1ggcclny] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ue-field label[b-ib1ggcclny] {
    font-size: 12px;
    font-weight: 600;
    color: #4a6a8a;
}

.ue-field input[b-ib1ggcclny],
.ue-field select[b-ib1ggcclny] {
    height: 36px;
    border: 1px solid #bcc6d2;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 13px;
    font-family: inherit;
    color: #1a2332;
    box-sizing: border-box;
}

.ue-field input:focus[b-ib1ggcclny],
.ue-field select:focus[b-ib1ggcclny] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

/* ── Read-only value ── */

.ue-readonly-value[b-ib1ggcclny] {
    font-size: 14px;
    color: #1a2332;
    font-weight: 500;
    padding: 6px 0;
}

/* ── Radio Group ── */

.ue-radio-group[b-ib1ggcclny] {
    display: flex;
    gap: 20px;
    padding: 6px 0;
}

.ue-radio-label[b-ib1ggcclny] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1a2332;
    cursor: pointer;
    font-weight: 500;
}

.ue-radio-label input[type="radio"][b-ib1ggcclny] {
    accent-color: #3b6e3b;
    margin: 0;
}

/* ── Action Bar (Edit mode) ── */

.ue-actions[b-ib1ggcclny] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

/* ── Buttons ── */

.ue-btn-cancel[b-ib1ggcclny] {
    background: #ffffff;
    border: 1px solid #bcc6d2;
    color: #4a6a8a;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.15s;
}

.ue-btn-cancel:hover[b-ib1ggcclny] {
    background: #f5f7fa;
    border-color: #8a9ab0;
}

.ue-btn-primary[b-ib1ggcclny] {
    background: #3b6e3b;
    border: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 22px;
    border-radius: 4px;
    transition: background 0.15s;
}

.ue-btn-primary:hover:not(:disabled)[b-ib1ggcclny] {
    background: #2d5a2d;
}

.ue-btn-primary:disabled[b-ib1ggcclny] {
    opacity: 0.5;
    cursor: default;
}

/* ── Create Result ── */

.ue-result-heading[b-ib1ggcclny] {
    color: #2e7d32;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.ue-info-text[b-ib1ggcclny] {
    color: #5a7090;
    font-size: 13px;
    margin: 0;
}

.ue-generated-password[b-ib1ggcclny] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f4f8;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid #d5d9e0;
}

.ue-generated-password code[b-ib1ggcclny] {
    font-size: 16px;
    font-weight: 600;
    color: #1e2d45;
    letter-spacing: 1px;
    flex: 1;
}

.ue-copy-btn[b-ib1ggcclny] {
    background: #3b6e9f;
    border: none;
    color: white;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 3px;
    transition: background 0.15s;
    white-space: nowrap;
}

.ue-copy-btn:hover[b-ib1ggcclny] {
    background: #2d5a82;
}

.ue-btn-send-email[b-ib1ggcclny] {
    background: #3B4C4A;
    border: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 4px;
    transition: background 0.15s;
    align-self: flex-start;
}

.ue-btn-send-email:hover:not(:disabled)[b-ib1ggcclny] {
    background: #2a3836;
}

.ue-btn-send-email:disabled[b-ib1ggcclny] {
    opacity: 0.5;
    cursor: default;
}

/* ── Misc ── */

.ue-empty[b-ib1ggcclny],
.ue-loading[b-ib1ggcclny] {
    color: #5a7090;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 600px) {
    .ue-page[b-ib1ggcclny] {
        padding: 0 16px 16px;
    }

    .ue-form-grid[b-ib1ggcclny] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/PlatformUsers.razor.rz.scp.css */
/* ── Platform Users Page ── */

.pu-page[b-uwsdh5p0mb] {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px 20px;
}

/* ── Status Banners ── */

.pu-status-banner[b-uwsdh5p0mb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.pu-status-error[b-uwsdh5p0mb] {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.pu-dismiss-btn[b-uwsdh5p0mb] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
    color: inherit;
    opacity: 0.7;
}

.pu-dismiss-btn:hover[b-uwsdh5p0mb] {
    opacity: 1;
}

/* ── Action Buttons ── */

.pu-action-btn[b-uwsdh5p0mb] {
    border: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 7px 16px;
    border-radius: 4px;
    transition: background 0.15s;
    white-space: nowrap;
}

.pu-add-btn[b-uwsdh5p0mb] {
    background: #3b6e3b;
}

.pu-add-btn:hover[b-uwsdh5p0mb] {
    background: #2d5a2d;
}

.pu-invite-btn[b-uwsdh5p0mb] {
    background: #3B4C4A;
}

.pu-invite-btn:hover[b-uwsdh5p0mb] {
    background: #2a3836;
}

/* ── Grid Cell Overrides ── */

[b-uwsdh5p0mb] .pu-badge-active {
    color: #2d8659;
    font-weight: 600;
    font-size: 12px;
}

[b-uwsdh5p0mb] .pu-badge-inactive {
    color: #c62828;
    font-weight: 600;
    font-size: 12px;
}

/* ── Filter Row ── */

.pu-filter-row[b-uwsdh5p0mb] {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.pu-checkbox-label[b-uwsdh5p0mb] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #4a6a8a;
    cursor: pointer;
}

.pu-checkbox-label input[type="checkbox"][b-uwsdh5p0mb] {
    accent-color: #3b6e3b;
    margin: 0;
}

/* ── Success Banner ── */

.pu-status-success[b-uwsdh5p0mb] {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ── Pending Invitations Section ── */

.pu-invites-section[b-uwsdh5p0mb] {
    margin-top: 32px;
}

.pu-section-title[b-uwsdh5p0mb] {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.pu-invites-table-wrap[b-uwsdh5p0mb] {
    overflow-x: auto;
}

.pu-invites-table[b-uwsdh5p0mb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pu-invites-table thead[b-uwsdh5p0mb] {
    background: #1e2d45;
    color: #fff;
}

.pu-invites-table th[b-uwsdh5p0mb] {
    text-align: left;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
}

.pu-invites-table td[b-uwsdh5p0mb] {
    padding: 8px 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.pu-invites-table tbody tr:hover[b-uwsdh5p0mb] {
    background: #f8fafc;
}

.pu-date-cell[b-uwsdh5p0mb] {
    white-space: nowrap;
    font-size: 12px;
    color: #64748b;
}

.pu-badge-pending[b-uwsdh5p0mb] {
    color: #e65100;
    font-weight: 600;
    font-size: 12px;
}

.pu-invite-actions[b-uwsdh5p0mb] {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.pu-link-btn[b-uwsdh5p0mb] {
    background: none;
    border: none;
    color: #1565c0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 4px;
    text-decoration: underline;
}

.pu-link-btn:hover[b-uwsdh5p0mb] {
    color: #0d47a1;
}

.pu-link-btn:disabled[b-uwsdh5p0mb] {
    color: #90a4ae;
    cursor: default;
}

.pu-link-btn-danger[b-uwsdh5p0mb] {
    color: #c62828;
}

.pu-link-btn-danger:hover[b-uwsdh5p0mb] {
    color: #b71c1c;
}

@media (max-width: 768px) {
    .pu-page[b-uwsdh5p0mb] {
        padding: 0 16px 16px;
    }

    .pu-invites-table-wrap[b-uwsdh5p0mb] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .pu-page[b-uwsdh5p0mb] {
        padding: 0 8px 12px;
    }

    .pu-action-btn[b-uwsdh5p0mb] {
        font-size: 11px;
        padding: 6px 12px;
    }
}
/* /Components/Pages/ResetPassword.razor.rz.scp.css */
/* ── Reset Password Page — matches Login/AcceptInvite styling ── */

.rp-shell[b-rejh809gz3] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e2d45 0%, #2a4060 50%, #1a2a40 100%);
    padding: 20px;
}

.rp-panel[b-rejh809gz3] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    padding: 40px 36px;
    width: 420px;
    max-width: 90vw;
    animation: rpSlideUp-b-rejh809gz3 0.3s ease-out;
}

.rp-header[b-rejh809gz3] {
    text-align: center;
    margin-bottom: 28px;
}

.rp-kicker[b-rejh809gz3] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3b6e3b;
    margin: 0 0 8px 0;
}

.rp-header h1[b-rejh809gz3] {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* ── Error / Success Boxes ── */

.rp-error-box[b-rejh809gz3] {
    background: #fbe9e7;
    border: 1px solid #ef9a9a;
    color: #c62828;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.rp-error-box p[b-rejh809gz3] {
    margin: 0 0 8px 0;
}

.rp-error-box p:last-child[b-rejh809gz3] {
    margin-bottom: 0;
}

.rp-success-box[b-rejh809gz3] {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.rp-success-box p[b-rejh809gz3] {
    margin: 0 0 8px 0;
}

.rp-success-box p:last-child[b-rejh809gz3] {
    margin-bottom: 0;
}

.rp-form-error[b-rejh809gz3] {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 4px;
}

/* ── Form ── */

.rp-form[b-rejh809gz3] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rp-field[b-rejh809gz3] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rp-field label[b-rejh809gz3] {
    font-size: 12px;
    font-weight: 600;
    color: #4a6a8a;
}

.rp-field input[b-rejh809gz3] {
    height: 38px;
    border: 1px solid #bcc6d2;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1a2332;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rp-field input:focus[b-rejh809gz3] {
    outline: none;
    border-color: #6a9fd8;
    box-shadow: 0 0 0 2px rgba(106, 159, 216, 0.2);
}

/* ── Buttons ── */

.rp-submit-btn[b-rejh809gz3] {
    height: 42px;
    background: #3b6e3b;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s;
    margin-top: 4px;
}

.rp-submit-btn:hover:not(:disabled)[b-rejh809gz3] {
    background: #2d5a2d;
}

.rp-submit-btn:disabled[b-rejh809gz3] {
    opacity: 0.5;
    cursor: default;
}

.rp-footer-link[b-rejh809gz3] {
    text-align: center;
    margin-top: 20px;
}

.rp-footer-link a[b-rejh809gz3] {
    color: #3b6e9f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.rp-footer-link a:hover[b-rejh809gz3] {
    text-decoration: underline;
}

.rp-login-btn[b-rejh809gz3] {
    display: inline-block;
    padding: 10px 24px;
    background: #3b6e3b;
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.15s;
}

.rp-login-btn:hover[b-rejh809gz3] {
    background: #2d5a2d;
    text-decoration: none !important;
}

/* ── Animations ── */

@keyframes rpSlideUp-b-rejh809gz3 {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .rp-panel[b-rejh809gz3] {
        padding: 30px 24px;
    }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-page[b-1a13rwdmvb] {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeUp-b-1a13rwdmvb 0.2s ease-out;
}

.settings-header[b-1a13rwdmvb] {
    margin-bottom: 32px;
}

.settings-header h1[b-1a13rwdmvb] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.settings-subtitle[b-1a13rwdmvb] {
    font-size: 14px;
    color: #5a7090;
    margin: 0;
}

.settings-content[b-1a13rwdmvb] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-section[b-1a13rwdmvb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title[b-1a13rwdmvb] {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.settings-card[b-1a13rwdmvb] {
    background: #ffffff;
    border: 1px solid #d5d9e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.settings-card p[b-1a13rwdmvb] {
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.settings-card p:last-child[b-1a13rwdmvb] {
    margin-bottom: 0;
}

.settings-card ul[b-1a13rwdmvb] {
    margin: 12px 0;
    padding-left: 20px;
}

.settings-card li[b-1a13rwdmvb] {
    font-size: 14px;
    color: #5a7090;
    margin-bottom: 4px;
}

.settings-card strong[b-1a13rwdmvb] {
    color: #2d3748;
}

@keyframes fadeUp-b-1a13rwdmvb {
    from { 
        opacity: 0; 
        transform: translateY(8px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@media (max-width: 768px) {
    .settings-page[b-1a13rwdmvb] {
        padding: 16px;
    }
    
    .settings-header h1[b-1a13rwdmvb] {
        font-size: 20px;
    }
    
    .settings-card[b-1a13rwdmvb] {
        padding: 16px;
    }
}
/* /Components/Pages/Settlements/PlatformSettlements.razor.rz.scp.css */
/* ── Platform Settlements Page ── */

.ps-page[b-udyf3xpk9t] {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ── Toolbar ── */

.ps-toolbar[b-udyf3xpk9t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.ps-toolbar-left[b-udyf3xpk9t],
.ps-toolbar-right[b-udyf3xpk9t] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ps-date-label[b-udyf3xpk9t] {
    font-size: 12px;
    font-weight: 600;
    color: #4a6a8a;
}

.ps-date-input[b-udyf3xpk9t] {
    height: 32px;
    border: 1px solid #bcc6d2;
    border-radius: 5px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    padding: 0 8px;
    cursor: pointer;
}

.ps-btn[b-udyf3xpk9t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 32px;
    border: 1px solid #bcc6d2;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    color: #4a6a8a;
    font-size: 12px;
    font-weight: 600;
    padding: 0 10px;
    transition: all 0.1s ease;
}

.ps-btn:hover:not(:disabled)[b-udyf3xpk9t] {
    background: #e8f0fe;
    border-color: #8aa4c0;
    color: #1e3a5c;
}

.ps-btn:disabled[b-udyf3xpk9t] {
    opacity: 0.35;
    cursor: default;
}

.ps-btn-csv[b-udyf3xpk9t] {
    background: #1e2d45;
    border-color: #1e2d45;
    color: #e4ecf4;
    padding: 0 12px;
}

.ps-btn-csv:hover:not(:disabled)[b-udyf3xpk9t] {
    background: #283d5a;
    border-color: #283d5a;
    color: #ffffff;
}

.ps-check[b-udyf3xpk9t] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #4a6a8a;
    cursor: pointer;
    padding: 0 8px;
    user-select: none;
}

.ps-check input[type="checkbox"][b-udyf3xpk9t] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #3a5a8a;
}

/* ── Table Card ── */

.ps-card[b-udyf3xpk9t] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #c0c8d2;
    overflow: clip;
}

.ps-table[b-udyf3xpk9t] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12.5px;
}

/* ── Header ── */

.ps-th[b-udyf3xpk9t] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 10px 10px;
    border-bottom: 2px solid #15223a;
    border-right: 1px solid #2a3f5c;
    white-space: nowrap;
    user-select: none;
    position: sticky;
    top: var(--sticky-top, 0px);
    z-index: 10;
}

.ps-th:last-child[b-udyf3xpk9t] {
    border-right: none;
}

.ps-th-sortable[b-udyf3xpk9t] {
    cursor: pointer;
    transition: background 0.1s ease;
}

.ps-th-sortable:hover[b-udyf3xpk9t] {
    background: #283d5a;
}

.ps-th-active[b-udyf3xpk9t] {
    background: #253752;
}

.ps-th-inner[b-udyf3xpk9t] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ps-th-right[b-udyf3xpk9t] {
    justify-content: flex-end;
}

.ps-sort-svg[b-udyf3xpk9t] {
    flex-shrink: 0;
}

.ps-sort-active[b-udyf3xpk9t] {
    color: #7eb8f0;
}

.ps-sort-idle[b-udyf3xpk9t] {
    opacity: 0.3;
}

/* ── Cells ── */

.ps-td[b-udyf3xpk9t] {
    padding: 7px 10px;
    border-bottom: 1px solid #d0d7e0;
    border-right: 1px solid #d0d7e0;
    color: #1a2332;
    height: 43px;
    font-weight: 500;
}

.ps-td:last-child[b-udyf3xpk9t] {
    border-right: none;
}

.ps-td-center[b-udyf3xpk9t] {
    text-align: center;
}

.ps-td-mid[b-udyf3xpk9t] {
    font-family: "Consolas", "Cascadia Code", "SF Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.ps-td-right[b-udyf3xpk9t] {
    text-align: right;
    padding-right: 12px;
}

.ps-td-debit[b-udyf3xpk9t] {
    color: #c0392b;
}

/* ── Rows ── */

.ps-row-even[b-udyf3xpk9t] {
    background: #ffffff;
}

.ps-row-odd[b-udyf3xpk9t] {
    background: #f4f7fa;
}

.ps-row-clickable[b-udyf3xpk9t] {
    cursor: pointer;
    transition: background 0.08s ease;
}

.ps-row-clickable:hover[b-udyf3xpk9t] {
    background: #dbe8f8 !important;
    color: #1e293b;
}

/* ── Group styling ── */

.ps-group-header[b-udyf3xpk9t] {
    background: #e2e8f0;
}

.ps-group-header-td[b-udyf3xpk9t] {
    padding: 8px 15px !important;
    font-size: 11.5px;
    font-weight: 700;
    color: #1e3a5c;
    border-top: 2px solid #3a5070;
    border-bottom: 1px solid #3a5070;
}

.ps-group-total[b-udyf3xpk9t] {
    background: #edf1f7;
    font-weight: 700;
    border-top: 1px solid #3a5070;
}

.ps-group-total .ps-td[b-udyf3xpk9t] {
    font-weight: 700;
}

.ps-group-spacer[b-udyf3xpk9t] {
    height: 12px;
}

.ps-group-spacer td[b-udyf3xpk9t] {
    border-bottom: none;
    border-right: none;
    padding: 0;
}

/* ── Empty state ── */

.ps-empty[b-udyf3xpk9t] {
    text-align: center;
    padding: 40px 20px;
    color: #7a8ea0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: none;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .ps-page[b-udyf3xpk9t] {
        padding: 0 12px;
    }

    .ps-toolbar[b-udyf3xpk9t] {
        flex-direction: column;
        align-items: stretch;
    }

    .ps-toolbar-left[b-udyf3xpk9t],
    .ps-toolbar-right[b-udyf3xpk9t] {
        flex-wrap: wrap;
    }

    .ps-card[b-udyf3xpk9t] {
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .ps-page[b-udyf3xpk9t] {
        padding: 0 8px;
    }
}
/* /Components/Pages/Settlements/SettlementDetail.razor.rz.scp.css */
/* ── Settlement Detail Page ── */

.sd-page[b-rgj4rskgka] {
    margin: 0 30px 0 30px;
}

[b-rgj4rskgka] .sd-header-amount {
    font-weight: 800;
    font-size: 1.05em;
}

[b-rgj4rskgka] .sd-header-date {
    font-size: 0.85em;
}

.sd-back-btn[b-rgj4rskgka] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #bcc6d2;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    color: #4a6a8a;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    transition: all 0.1s ease;
}

.sd-back-btn:hover[b-rgj4rskgka] {
    background: #e8f0fe;
    border-color: #8aa4c0;
    color: #1e3a5c;
}

/* ── CSV Button (inside grid toolbar) ── */

.sd-csv-btn[b-rgj4rskgka] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    border: 1px solid #1e2d45;
    background: #1e2d45;
    border-radius: 5px;
    cursor: pointer;
    color: #e4ecf4;
    font-size: 12px;
    font-weight: 600;
    padding: 0 10px;
    transition: all 0.1s ease;
}

.sd-csv-btn:hover:not(:disabled)[b-rgj4rskgka] {
    background: #283d5a;
}

.sd-csv-btn:disabled[b-rgj4rskgka] {
    opacity: 0.35;
    cursor: default;
}

/* ── Amount formatting ── */

[b-rgj4rskgka] .sd-amount-negative {
    color: #c0392b;
}

/* ── Status formatting ── */

[b-rgj4rskgka] .sd-status-alert {
    color: #c0392b;
    font-weight: 700;
}

/* ── Footer cells ── */

[b-rgj4rskgka] .sd-footer-td {
    padding: 9px 10px;
    font-size: 13px;
}

[b-rgj4rskgka] .sd-footer-count {
    text-align: left;
    font-weight: 700;
    color: #1e293b;
}

[b-rgj4rskgka] .sd-footer-amount {
    text-align: right;
    padding-right: 12px;
    font-weight: 700;
    color: #1e293b;
}

[b-rgj4rskgka] .sd-footer-amount.sd-amount-negative {
    color: #c0392b;
}

/* ── Processing Method Row ── */

.sd-processing-row[b-rgj4rskgka] {
    padding: 0px 7px 10px 2px;
    font-size: 13px;
    color: #1e293b;
}

/* ── Settlement IDs (TID / Trace Number) ── */

.sd-settlement-ids[b-rgj4rskgka] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 7px 10px 2px;
    font-size: 13px;
    color: #1e293b;
}

.sd-settlement-ids-left[b-rgj4rskgka] {
    display: flex;
    gap: 24px;
}

.sd-settlement-ids-right[b-rgj4rskgka] {
    display: flex;
    align-items: center;
}

/* ── Note ── */

.sd-note[b-rgj4rskgka] {
    margin-top: 10px;
    padding-left: 4px;
    color: #8b3d4a;
    font-size: 11px;
    font-weight: 600;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .sd-page[b-rgj4rskgka] {
        margin: 0 12px;
    }

    .sd-settlement-ids[b-rgj4rskgka] {
        flex-direction: column;
        gap: 6px;
    }

    .sd-settlement-ids-left[b-rgj4rskgka] {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .sd-page[b-rgj4rskgka] {
        margin: 0 8px;
    }
}

/* /Components/Pages/Settlements/SettlementSummary.razor.rz.scp.css */
/* ── Settlement Summary Page ── */

.settle-page[b-jz1xe1lazg] {
    max-width: 860px;
    margin: 0 auto;
}

/* Align header rows with the centered card */
[b-jz1xe1lazg] .mh-header-row,
[b-jz1xe1lazg] .mh-title-row {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Toolbar ── */

.settle-toolbar[b-jz1xe1lazg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.settle-toolbar-left[b-jz1xe1lazg],
.settle-toolbar-right[b-jz1xe1lazg] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.settle-select[b-jz1xe1lazg] {
    height: 32px;
    border: 1px solid #bcc6d2;
    border-radius: 5px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    padding: 0 8px;
    cursor: pointer;
}

.settle-btn[b-jz1xe1lazg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 32px;
    border: 1px solid #bcc6d2;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    color: #4a6a8a;
    font-size: 12px;
    font-weight: 600;
    padding: 0 10px;
    transition: all 0.1s ease;
}

.settle-btn:hover:not(:disabled)[b-jz1xe1lazg] {
    background: #e8f0fe;
    border-color: #8aa4c0;
    color: #1e3a5c;
}

.settle-btn:disabled[b-jz1xe1lazg] {
    opacity: 0.35;
    cursor: default;
}

.settle-btn-sm[b-jz1xe1lazg] {
    width: 32px;
    padding: 0;
}

.settle-btn-csv[b-jz1xe1lazg] {
    background: #1e2d45;
    border-color: #1e2d45;
    color: #e4ecf4;
    padding: 0 12px;
}

.settle-btn-csv:hover:not(:disabled)[b-jz1xe1lazg] {
    background: #283d5a;
    border-color: #283d5a;
    color: #ffffff;
}

.settle-check[b-jz1xe1lazg] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #4a6a8a;
    cursor: pointer;
    padding: 0 8px;
    user-select: none;
}

.settle-check input[type="checkbox"][b-jz1xe1lazg] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #3a5a8a;
}

/* ── Table Card ── */

.settle-card[b-jz1xe1lazg] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #c0c8d2;
    overflow: clip;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.settle-table[b-jz1xe1lazg] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12.5px;
}

/* ── Header ── */

.settle-th[b-jz1xe1lazg] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 10px 10px;
    border-bottom: 2px solid #15223a;
    border-right: 1px solid #2a3f5c;
    white-space: nowrap;
    user-select: none;
    position: sticky;
    top: var(--sticky-top, 0px);
    z-index: 10;
}

.settle-th:last-child[b-jz1xe1lazg] {
    border-right: none;
}

.settle-th-sortable[b-jz1xe1lazg] {
    cursor: pointer;
    transition: background 0.1s ease;
}

.settle-th-sortable:hover[b-jz1xe1lazg] {
    background: #283d5a;
}

.settle-th-active[b-jz1xe1lazg] {
    background: #253752;
}

.settle-th-inner[b-jz1xe1lazg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.settle-th-right[b-jz1xe1lazg] {
    justify-content: flex-end;
}

.settle-sort-svg[b-jz1xe1lazg] {
    flex-shrink: 0;
}

.settle-sort-active[b-jz1xe1lazg] {
    color: #7eb8f0;
}

.settle-sort-idle[b-jz1xe1lazg] {
    opacity: 0.3;
}

/* ── Cells ── */

.settle-td[b-jz1xe1lazg] {
    padding: 7px 10px;
    border-bottom: 1px solid #d0d7e0;
    border-right: 1px solid #d0d7e0;
    color: #1a2332;
    height: 43px;
    font-weight: 500;
}

.settle-td:last-child[b-jz1xe1lazg] {
    border-right: none;
}

.settle-td-right[b-jz1xe1lazg] {
    text-align: right;
    padding-right: 12px;
}

.settle-td-debit[b-jz1xe1lazg] {
    color: #c0392b;
}

/* ── Rows ── */

.settle-row-even[b-jz1xe1lazg] {
    background: #ffffff;
}

.settle-row-odd[b-jz1xe1lazg] {
    background: #f4f7fa;
}

.settle-row-clickable[b-jz1xe1lazg] {
    cursor: pointer;
    transition: background 0.08s ease;
}

.settle-row-clickable:hover[b-jz1xe1lazg] {
    background: #dbe8f8 !important;
    color: #1e293b;
}

/* ── Group styling ── */

.settle-group-header[b-jz1xe1lazg] {
    background: #e2e8f0;
}

.settle-group-header-td[b-jz1xe1lazg] {
    padding: 8px 15px !important;
    font-size: 11.5px;
    font-weight: 700;
    color: #1e3a5c;
    border-top: 2px solid #3a5070;
    border-bottom: 1px solid #3a5070;
}

.settle-group-total[b-jz1xe1lazg] {
    background: #edf1f7;
    font-weight: 700;
    border-top: 1px solid #3a5070;
}

.settle-group-total .settle-td[b-jz1xe1lazg] {
    font-weight: 700;
}

.settle-group-spacer[b-jz1xe1lazg] {
    height: 12px;
}

.settle-group-spacer td[b-jz1xe1lazg] {
    border-bottom: none;
    border-right: none;
    padding: 0;
}

/* ── Empty state ── */

.settle-empty[b-jz1xe1lazg] {
    text-align: center;
    padding: 40px 20px;
    color: #7a8ea0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: none;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .settle-toolbar[b-jz1xe1lazg] {
        flex-direction: column;
        align-items: stretch;
    }

    .settle-toolbar-left[b-jz1xe1lazg],
    .settle-toolbar-right[b-jz1xe1lazg] {
        flex-wrap: wrap;
    }

    .settle-card[b-jz1xe1lazg] {
        overflow: visible;
    }

    [b-jz1xe1lazg] .mh-header-row,
    [b-jz1xe1lazg] .mh-title-row {
        max-width: none;
    }

    .settle-toolbar[b-jz1xe1lazg] {
        max-width: none;
    }

    .settle-card[b-jz1xe1lazg] {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .settle-select[b-jz1xe1lazg] {
        font-size: 12px;
    }
}

/* /Components/Shared/DashboardCard.razor.rz.scp.css */
.dashboard-card[b-t7vtbwe816] {
    text-align: left;
    width: 100%;
    padding: 13px 16px 15px 16px;
    background: #2c3e5e;
    border: none;
    /* border-left: 3px solid var(--accent); */
    border-radius: 8px;
    cursor: pointer;
    color: #edf0f5;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.18s ease;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.dashboard-card:hover:not(.disabled)[b-t7vtbwe816] {
    background: #172238;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.dashboard-card.disabled[b-t7vtbwe816] {
    opacity: 0.56;
    cursor: not-allowed;
}

.card-title-row[b-t7vtbwe816] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.card-icon[b-t7vtbwe816] {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
    line-height: 0;
}

.card-icon-svg[b-t7vtbwe816] {
    width: 1.1rem;
    height: 1.1rem;
    stroke-width: 1.9;
    color: var(--accent);
    display: block;
}

.card-top h3[b-t7vtbwe816] {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #f1f3f7;
    letter-spacing: 0.01em;
}

.card-top p[b-t7vtbwe816] {
    margin: 3px 0 0;
    color: #a0bcd8;
    font-size: 11px;
    line-height: 1.35;
}
/* /Components/Shared/MerchantPageHeader.razor.rz.scp.css */
/* ── MerchantPageHeader ── */

.mh-page[b-r4p0ywkwrw] {
    animation: mhFadeUp-b-r4p0ywkwrw 0.2s ease-out;
}

.mh-page.txd-page[b-r4p0ywkwrw] {
    max-width: 1200px;
    margin: 0 0;
    padding: 0 30px;
}

.mh-sticky-header[b-r4p0ywkwrw] {
    background: #f0f4f8;
    display: flow-root;
}

.mh-header-row[b-r4p0ywkwrw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 12px;
}

.mh-header-left[b-r4p0ywkwrw] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mh-merchant-name[b-r4p0ywkwrw] {
    font-size: 21px;
    color: #1e293b;
}

.mh-merchant-mid[b-r4p0ywkwrw] {
    font-size: 13px;
    font-weight: 500;
    color: #4a6a8a;
}

.mh-title-row[b-r4p0ywkwrw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 16px;
}

.mh-title[b-r4p0ywkwrw] {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0;
    flex-wrap: wrap;
}

.mh-title-meta[b-r4p0ywkwrw] {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
}

.mh-title-actions[b-r4p0ywkwrw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Stub (no merchant selected) ── */

.mh-stub[b-r4p0ywkwrw] {
    text-align: center;
    padding: 80px 20px;
}

.mh-stub h1[b-r4p0ywkwrw] {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.mh-stub p[b-r4p0ywkwrw] {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* ── Animation ── */

@keyframes mhFadeUp-b-r4p0ywkwrw {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .mh-page.txd-page[b-r4p0ywkwrw] {
        padding: 0 12px;
    }

    .mh-header-row[b-r4p0ywkwrw] {
        flex-direction: column;
        align-items: flex-start;
    }

    .mh-title-row[b-r4p0ywkwrw] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mh-merchant-name[b-r4p0ywkwrw] {
        font-size: 18px;
    }

    .mh-title[b-r4p0ywkwrw] {
        font-size: 16px;
    }

    .mh-title-actions[b-r4p0ywkwrw] {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .mh-merchant-name[b-r4p0ywkwrw] {
        font-size: 16px;
    }

    .mh-title[b-r4p0ywkwrw] {
        font-size: 14px;
    }

    .mh-stub[b-r4p0ywkwrw] {
        padding: 40px 16px;
    }

    .mh-stub h1[b-r4p0ywkwrw] {
        font-size: 18px;
    }
}
/* /Components/Shared/MerchantPicker.razor.rz.scp.css */
.merchant-picker[b-s7apdgvgiz] {
    position: relative;
    width: 360px;
    max-width: 100%;
    flex: 0 0 360px;
}

/* ── Trigger ── */
.picker-trigger[b-s7apdgvgiz] {
    width: 100%;
    border: 1px solid #b0c4d8;
    background: #ffffff;
    color: #1e293b;
    border-radius: 6px;
    padding: 7px 34px 7px 11px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
    min-height: 34px;
    user-select: none;
    position: relative;
}

.picker-trigger:hover[b-s7apdgvgiz] {
    border-color: #5b8abf;
}

.picker-trigger.open[b-s7apdgvgiz] {
    border-color: #5b8abf;
    box-shadow: 0 0 0 2px rgba(59, 130, 191, 0.2);
}

.trigger-content[b-s7apdgvgiz] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.selected-name[b-s7apdgvgiz] {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #3b4e7e;
}

.selected-mid[b-s7apdgvgiz] {
    font-size: 11px;
    font-weight: 700;
    color: #5d7ba0;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 15px;
    margin-top: 1px;
}

.selected-placeholder[b-s7apdgvgiz] {
    font-size: 13px;
    color: #8aa0ba;
}

/* ── Status dot ── */
.status-dot[b-s7apdgvgiz] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.active[b-s7apdgvgiz] {
    background: #22c55e;
}

.status-dot.suspended[b-s7apdgvgiz] {
    background: #f59e0b;
}

/* ── Chevron ── */
.chevron[b-s7apdgvgiz] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.2s;
    font-size: 9px;
    color: #8aa0ba;
    line-height: 1;
}

.chevron.up[b-s7apdgvgiz] {
    transform: translateY(-50%) rotate(180deg);
}

/* ── Backdrop (click-outside-to-close) ── */
.picker-backdrop[b-s7apdgvgiz] {
    position: fixed;
    inset: 0;
    z-index: 99;
    cursor: default;
}

/* ── Dropdown ── */
.picker-dropdown[b-s7apdgvgiz] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #182542;
    border: 1px solid #2a5280;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    z-index: 100;
    overflow: hidden;
    animation: dropIn-b-s7apdgvgiz 0.12s ease-out;
}

.search-wrap[b-s7apdgvgiz] {
    padding: 8px 10px;
    border-bottom: 1px solid #2a5280;
}

.picker-search[b-s7apdgvgiz] {
    width: 100%;
    border: 1px solid #2a5280;
    background: #f8fbff;
    color: #000 ;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.picker-search[b-s7apdgvgiz]::placeholder {
    color: #8aa0ba;
}

.picker-search:focus[b-s7apdgvgiz] {
    border-color: #5b8abf;
}

/* ── Status / empty ── */
.picker-status[b-s7apdgvgiz] {
    color: #8aa0ba;
    font-size: 12px;
    padding: 12px 14px;
    text-align: center;
}

.picker-status.error[b-s7apdgvgiz] {
    color: #ffb0b0;
}

/* ── Results list ── */
.picker-results[b-s7apdgvgiz] {
    max-height: 220px;
    overflow-y: auto;
}

.picker-option[b-s7apdgvgiz] {
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d0e0f0;
    background: transparent;
    border-left: 3px solid transparent;
    transition: background 0.08s;
}

.picker-option:hover[b-s7apdgvgiz] {
    background: rgba(255, 255, 255, 0.04);
}

.picker-option.highlighted[b-s7apdgvgiz] {
    background: rgb(59 130 191 / 62%);
    border-left-color: #60a5fa;
    color: #ffffff;
}

.picker-option.selected[b-s7apdgvgiz] {
    background: rgba(59, 130, 191, 0.12);
    border-left-color: #3b82f6;
}

.picker-option.selected.highlighted[b-s7apdgvgiz] {
    background: rgb(59 130 191 / 62%);;
    border-left-color: #60a5fa;
}

.option-left[b-s7apdgvgiz] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.picker-option .name[b-s7apdgvgiz] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.picker-option .mid[b-s7apdgvgiz] {
    font-size: 11px;
    color: #8aa0ba;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Scrollbar ── */
.picker-results[b-s7apdgvgiz]::-webkit-scrollbar {
    width: 5px;
}

.picker-results[b-s7apdgvgiz]::-webkit-scrollbar-track {
    background: transparent;
}

.picker-results[b-s7apdgvgiz]::-webkit-scrollbar-thumb {
    background: #3a6a9a;
    border-radius: 3px;
}

/* ── Animation ── */
@keyframes dropIn-b-s7apdgvgiz {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .merchant-picker[b-s7apdgvgiz] {
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .picker-dropdown[b-s7apdgvgiz] {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        max-height: 60vh;
    }

    .picker-results[b-s7apdgvgiz] {
        max-height: 40vh;
    }
}
/* /Components/Shared/PlatformDataGrid.razor.rz.scp.css */
/* ── PlatformDataGrid ── */

.pdg-container[b-jvuq1mhden] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #c0c8d2;
    overflow: clip;
    animation: pdgFadeIn-b-jvuq1mhden 0.2s ease-out;
}

/* ── Toolbar ── */

.pdg-toolbar[b-jvuq1mhden] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #f6f8fa;
    border-bottom: 1px solid #c0c8d2;
    gap: 12px;
    flex-wrap: wrap;
}

.pdg-toolbar-left[b-jvuq1mhden] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.pdg-toolbar-center[b-jvuq1mhden] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.pdg-toolbar-right[b-jvuq1mhden] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
}

/* ── Paging ── */

.pdg-paging[b-jvuq1mhden] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #4a6a8a;
    font-weight: 500;
}

.pdg-page-btn[b-jvuq1mhden] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #cdd5de;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    color: #4a6a8a;
    transition: all 0.1s ease;
    padding: 0;
}

.pdg-page-btn:hover:not(:disabled)[b-jvuq1mhden] {
    background: #e8f0fe;
    border-color: #a0b4cc;
    color: #1e3a5c;
}

.pdg-page-btn:disabled[b-jvuq1mhden] {
    opacity: 0.35;
    cursor: default;
}

.pdg-page-label[b-jvuq1mhden] {
    padding: 0 8px;
    white-space: nowrap;
}

.pdg-page-size-label[b-jvuq1mhden] {
    padding-left: 10px;
}

.pdg-page-size[b-jvuq1mhden] {
    height: 28px;
    border: 1px solid #cdd5de;
    border-radius: 5px;
    background: #ffffff;
    color: #1e293b;
    font-size: 12px;
    font-weight: 600;
    padding: 0 6px;
    cursor: pointer;
}

/* ── Table ── */

.pdg-table-wrap[b-jvuq1mhden] {
    overflow-x: clip;
}

.pdg-table[b-jvuq1mhden] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 11.5px;
    font-family: 'Inter', 'DM Sans', 'Verdana', sans-serif;
    font-variant-numeric: tabular-nums;
}

/* ── Header ── */

.pdg-th[b-jvuq1mhden] {
    background: #1e2d45;
    color: #e4ecf4;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 10px 10px;
    border-bottom: 2px solid #15223a;
    border-right: 1px solid #2a3f5c;
    white-space: nowrap;
    user-select: none;
    position: sticky;
    top: var(--sticky-top, 0px);
    z-index: 10;
}

.pdg-th:last-child[b-jvuq1mhden] {
    border-right: none;
}

.pdg-th-sortable[b-jvuq1mhden] {
    cursor: pointer;
    transition: background 0.1s ease;
}

.pdg-th-sortable:hover[b-jvuq1mhden] {
    background: #283d5a;
}

.pdg-th-active[b-jvuq1mhden] {
    background: #253752;
}

.pdg-th-content[b-jvuq1mhden] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pdg-sort-icon[b-jvuq1mhden] {
    display: inline-flex;
    align-items: center;
}

.pdg-sort-active[b-jvuq1mhden] {
    color: #7eb8f0;
}

/* ── Cells ── */

.pdg-td[b-jvuq1mhden] {
    padding: 7px 10px;
    border-bottom: 1px solid #d0d7e0;
    border-right: 1px solid #e4e9f0;
    color: #1a2332;
    vertical-align: middle;
    height: 43px;
    font-weight: 500;
}

.pdg-td:last-child[b-jvuq1mhden] {
    border-right: none;
}

.pdg-td-right[b-jvuq1mhden] {
    text-align: right;
}

.pdg-td-center[b-jvuq1mhden] {
    text-align: center;
}

/* ── Rows ── */

.pdg-row-even[b-jvuq1mhden] {
    background: #ffffff;
}

.pdg-row-odd[b-jvuq1mhden] {
    background: #f4f7fa;
}

.pdg-row-clickable[b-jvuq1mhden] {
    cursor: pointer;
    transition: background 0.08s ease;
}

.pdg-row-clickable:hover[b-jvuq1mhden] {
    background: #dbe8f8 !important;
}

.pdg-table tbody tr:last-child .pdg-td[b-jvuq1mhden] {
    border-bottom: 3px solid #ffffff;
}

/* ── Group Header ── */

.pdg-group-header[b-jvuq1mhden] {
    background: #e2e8f0;
}

.pdg-group-header-td[b-jvuq1mhden] {
    padding: 8px 15px !important;
    font-size: 11.5px;
    font-weight: 700;
    color: #1e3a5c;
    border-top: 2px solid #3a5070;
    border-bottom: 1px solid #3a5070;
    border-right: none;
}

/* ── Footer ── */

[b-jvuq1mhden] tfoot tr {
    background: #f0f4f8;
    border-top: 2px solid #c0c8d2;
}

[b-jvuq1mhden] tfoot td {
    padding: 9px 10px;
    font-weight: 700;
    font-size: 12px;
    color: #1e293b;
    border-bottom: none;
}

/* ── Loading & Empty ── */

.pdg-loading-row td[b-jvuq1mhden],
.pdg-empty-row td[b-jvuq1mhden] {
    border-bottom: none;
}

.pdg-loading[b-jvuq1mhden],
.pdg-empty[b-jvuq1mhden] {
    text-align: center;
    padding: 40px 20px;
    color: #7a8ea0;
    font-size: 13px;
    font-weight: 500;
}

.pdg-loading[b-jvuq1mhden] {
    color: #4a6a8a;
}

/* ── Animation ── */

@keyframes pdgFadeIn-b-jvuq1mhden {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .pdg-toolbar-left[b-jvuq1mhden],
    .pdg-toolbar-center[b-jvuq1mhden],
    .pdg-toolbar-right[b-jvuq1mhden] {
        flex: 1 1 100%;
        justify-content: flex-start;
        min-width: 0;
    }

    .pdg-paging[b-jvuq1mhden] {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .pdg-container[b-jvuq1mhden] {
        overflow: visible;
    }

    .pdg-table-wrap[b-jvuq1mhden] {
        overflow: visible;
    }

    .pdg-toolbar[b-jvuq1mhden] {
        padding: 8px 10px;
        gap: 8px;
    }

    .pdg-page-label[b-jvuq1mhden] {
        display: none;
    }

    .pdg-page-size-label[b-jvuq1mhden] {
        display: none;
    }
}

@media (max-width: 480px) {
    .pdg-th[b-jvuq1mhden],
    .pdg-td[b-jvuq1mhden] {
        padding: 6px 6px;
        font-size: 11px;
    }

    .pdg-toolbar[b-jvuq1mhden] {
        padding: 6px 8px;
    }
}
/* /Components/Shared/PlatformPageHeader.razor.rz.scp.css */
/* ── PlatformPageHeader ── */

.ph-page[b-90l9x9s11p] {
    animation: phFadeUp-b-90l9x9s11p 0.2s ease-out;
}

.ph-sticky-header[b-90l9x9s11p] {
    background: #f0f4f8;
    display: flow-root;
}

.ph-header-row[b-90l9x9s11p] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ph-header-left[b-90l9x9s11p] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ph-title[b-90l9x9s11p] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.ph-subtitle[b-90l9x9s11p] {
    font-size: 13px;
    color: #7a8ea0;
    margin: 0;
}

.ph-header-right[b-90l9x9s11p] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding-top: 4px;
    margin-left: auto;
}

/* ── Back button (child content via ::deep) ── */

[b-90l9x9s11p] .ph-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #bcc6d2;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    color: #4a6a8a;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    transition: all 0.1s ease;
    white-space: nowrap;
}

[b-90l9x9s11p] .ph-back-btn:hover {
    background: #e8f0fe;
    border-color: #8aa4c0;
    color: #1e3a5c;
}

/* ── Animation ── */

@keyframes phFadeUp-b-90l9x9s11p {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .ph-header-row[b-90l9x9s11p] {
        flex-direction: column;
        align-items: flex-start;
    }

    .ph-header-right[b-90l9x9s11p] {
        margin-left: 0;
        width: 100%;
        padding-top: 0;
        flex-wrap: wrap;
    }

    .ph-title[b-90l9x9s11p] {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ph-title[b-90l9x9s11p] {
        font-size: 18px;
    }
}
/* /Components/Shared/Toast.razor.rz.scp.css */
.platform-toast[b-r1b68kmnn2] {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    background: #fde8e8;
    color: #991b1b;
    border: 1px solid #f5c6c6;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: toast-fade-in-b-r1b68kmnn2 0.25s ease-out, toast-fade-out-b-r1b68kmnn2 0.4s ease-in 3.6s forwards;
}

.platform-toast-text[b-r1b68kmnn2] {
    display: inline-block;
}

@keyframes toast-fade-in-b-r1b68kmnn2 {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes toast-fade-out-b-r1b68kmnn2 {
    from { opacity: 1; }
    to   { opacity: 0; }
}
