@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Components/Layout/GenericLayout.razor.rz.scp.css */
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
*/
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
*/

[b-gddi0ufvah] .business-switcher-popover div[style*="overflow-y"] {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.3) transparent;
}

    [b-gddi0ufvah] .business-switcher-popover div[style*="overflow-y"]::-webkit-scrollbar {
        width: 6px;
    }

    [b-gddi0ufvah] .business-switcher-popover div[style*="overflow-y"]::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.3);
        border-radius: 3px;
    }

    [b-gddi0ufvah] .business-switcher-popover div[style*="overflow-y"]::-webkit-scrollbar-track {
        background: transparent;
    }




/* Container sizing */
.business-header-context[b-gddi0ufvah] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Wrapper for relative positioning of the dropdown */
.business-switcher-wrapper[b-gddi0ufvah] {
    position: relative;
}

/* Switching Indicator */
.switching-indicator[b-gddi0ufvah] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
    color: white;
}

.spinner-icon[b-gddi0ufvah] {
    width: 20px;
    height: 20px;
    animation: spin-b-gddi0ufvah 1s linear infinite;
}

.opacity-25[b-gddi0ufvah] {
    opacity: 0.25;
}

.opacity-75[b-gddi0ufvah] {
    opacity: 0.75;
}

@keyframes spin-b-gddi0ufvah {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.switching-text[b-gddi0ufvah] {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Trigger Button (The white header text) */
.business-switcher-trigger[b-gddi0ufvah] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .business-switcher-trigger:hover[b-gddi0ufvah] {
        background: rgba(255, 255, 255, 0.1);
    }

.chevron-icon[b-gddi0ufvah] {
    width: 20px;
    height: 20px;
}

/* Fallback for single business */
.single-business-title[b-gddi0ufvah] {
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin: 0 0 0 12px;
}

.current-name[b-gddi0ufvah] {
    font-family: 'Poppins';
}

/* Meta Data at the bottom */
.business-meta-info[b-gddi0ufvah] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75); /* Subtle white */
    margin-top: 4px;
    padding-left: 4px;
    font-family: 'Poppins';
}

.meta-divider[b-gddi0ufvah] {
    margin: 0 4px;
    opacity: 0.5;
}

/* Overlay for click-to-close */
.dropdown-overlay[b-gddi0ufvah] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    cursor: default;
}

/* Popover Dropdown Window */
.business-dropdown-menu[b-gddi0ufvah] {
    position: absolute;
    top: calc(100% + 8px);
    left: calc(100% - 350px);
    width: 350px;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 100; /* Stays above the overlay */
    overflow: hidden;
}

/* Search Box Area */
.dropdown-search-wrapper[b-gddi0ufvah] {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.search-icon[b-gddi0ufvah] {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

.dropdown-search-input[b-gddi0ufvah] {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

    .dropdown-search-input:focus[b-gddi0ufvah] {
        border-color: #3b82f6; /* Modern focus ring */
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }

/* Scrollable List */
.dropdown-list[b-gddi0ufvah] {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    overflow-y: auto;
    flex: 1;
}

    .dropdown-list[b-gddi0ufvah]::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-list[b-gddi0ufvah]::-webkit-scrollbar-track {
        background: transparent;
    }

    .dropdown-list[b-gddi0ufvah]::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

/* Dropdown Items */
.dropdown-list-item[b-gddi0ufvah] {
    margin: 0;
    padding: 0;
}

.dropdown-btn[b-gddi0ufvah] {
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s;
    justify-content: flex-start;
}

    .dropdown-btn:hover:not(:disabled)[b-gddi0ufvah] {
        background-color: #f8fafc;
    }

.btn-content[b-gddi0ufvah] {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.btn-content-inner[b-gddi0ufvah] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Styling for the active (currently selected) item */
.dropdown-btn.is-active[b-gddi0ufvah] {
    cursor: default;
    background-color: #042f341c;
}

    .dropdown-btn.is-active .biz-name[b-gddi0ufvah] {
        font-weight: 700;
        color: #042f35; /* Primary color */
    }

    .dropdown-btn.is-active .biz-alt[b-gddi0ufvah] {
        color: #042f35;
        opacity: 0.8;
    }

/* Icons & Text inside buttons */
.check-icon[b-gddi0ufvah] {
    width: 16px;
    height: 16px;
    color: #042f35; /* Primary color */
    flex-shrink: 0;
}

.icon-spacer[b-gddi0ufvah] {
    width: 16px;
    flex-shrink: 0;
}

.biz-name[b-gddi0ufvah] {
    font-size: 0.9rem;
    color: #334155;
}

.biz-alt[b-gddi0ufvah] {
    font-size: 0.8rem;
    color: #64748b;
}

.dropdown-empty[b-gddi0ufvah] {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}
/* /Components/Pages/Dashboard/Components/AMLRiskConfiguration/AMLRiskConfiguration.razor.rz.scp.css */
/* No component-scoped styles needed after overlay removal */
/* /Components/Pages/Dashboard/Components/Clients/Components/AMLScreening/AMLScreening.razor.rz.scp.css */
.aml-container[b-y9imwdvfr4] {
    padding: 1rem;
}


[b-y9imwdvfr4] .mud-timeline-vertical {
    width: 600px;
    margin: 0 auto;
}

[b-y9imwdvfr4] .mud-link {
    border: 1px solid #fff;
    padding: 8px;
    border-radius: 8px;
    background-color: var(--mud-palette-primary) !important;
    color: white !important;
    text-decoration: none;
}

    [b-y9imwdvfr4] .mud-link:hover {
        border: 1px solid black;
        background-color: white !important;
        color: black !important;
        text-decoration: none;
    }

[b-y9imwdvfr4] .mud-button-text {
    padding: 0px !important
}
/* /Components/Pages/Dashboard/Components/Clients/Components/ClientView/ClientView.razor.rz.scp.css */
@media (min-width: 1200px) {
  [b-woih7zvxo0] .modal-xl {
    --bs-modal-width: 900px;
  }
}
[b-woih7zvxo0] .modal-xl .mud-input-control.mud-input-control-boolean-input {
  flex: 40%;
  margin: 0;
}
[b-woih7zvxo0] .modal-xl .mud-icon-button {
  padding: 5px !important;
}
[b-woih7zvxo0] .modal-xl .mud-paper {
  border: 1px solid #ccc;
  border-radius: 5px;
}
[b-woih7zvxo0] .modal-xl .disabled-field input, [b-woih7zvxo0] .modal-xl .disabled-field textarea {
  background-color: #f3f3f3 !important;
}
/* /Components/Pages/Dashboard/Components/Clients/Components/DataRequests/FormViewer.razor.rz.scp.css */
.my-component[b-j8myc5dr07] {
    border: 2px dashed red;
    padding: 1em;
    margin: 1em 0;
    background-image: url('background.png');
}
/* /Components/Pages/Dashboard/Components/Clients/ManageClients.razor.rz.scp.css */
.info-c .card-panel[b-kpw9x2e9fg] {
  padding: 20px;
  background: #fff;
  text-align: center;
  border-right: 1px solid #ccc;
  min-width: 150px;
}
.info-c .card-panel:first-child[b-kpw9x2e9fg] {
  border-radius: 5px 0px 0px 5px;
}
.info-c .card-panel:last-child[b-kpw9x2e9fg] {
  border-right: none;
  border-radius: 0px 5px 5px 0px;
}/*# sourceMappingURL=ManageClients.razor.css.map */
/* /Components/Pages/Dashboard/Components/Employees/ManageEmployees.razor.rz.scp.css */
.info-c .card-panel[b-a6x7brvkp7] {
  padding: 20px;
  background: #fff;
  text-align: center;
  border-right: 1px solid #ccc;
  min-width: 150px;
}
.info-c .card-panel:first-child[b-a6x7brvkp7] {
  border-radius: 5px 0px 0px 5px;
}
.info-c .card-panel:last-child[b-a6x7brvkp7] {
  border-right: none;
  border-radius: 0px 5px 5px 0px;
}/*# sourceMappingURL=ManageEmployees.razor.css.map */
/* /Components/Pages/Dashboard/Components/Forms/Components/ConditionsDialog.razor.rz.scp.css */
.mud-dialog .mud-dialog-content[b-38ge2h2g2r]{
    gap: 0px !important;
}
/* /Components/Pages/Dashboard/Components/Forms/ManageForms.razor.rz.scp.css */
.info-c .card-panel[b-yfs4ur7itb] {
  padding: 20px;
  background: #fff;
  text-align: center;
  border-right: 1px solid #ccc;
  min-width: 150px;
}
.info-c .card-panel:first-child[b-yfs4ur7itb] {
  border-radius: 5px 0px 0px 5px;
}
.info-c .card-panel:last-child[b-yfs4ur7itb] {
  border-right: none;
  border-radius: 0px 5px 5px 0px;
}/*# sourceMappingURL=ManageForms.razor.css.map */
/* /Components/Pages/Features/V1/EntityProfiles/Components/AMLScreening/BPAMLScreening.razor.rz.scp.css */
.aml-container[b-1hhnwxdenp] {
    padding: 1rem;
}


[b-1hhnwxdenp] .mud-timeline-vertical {
    width: 600px;
    margin: 0 auto;
}

[b-1hhnwxdenp] .mud-link {
    border: 1px solid #fff;
    padding: 8px;
    border-radius: 8px;
    background-color: var(--mud-palette-primary) !important;
    color: white !important;
    text-decoration: none;
}

    [b-1hhnwxdenp] .mud-link:hover {
        border: 1px solid black;
        background-color: white !important;
        color: black !important;
        text-decoration: none;
    }

[b-1hhnwxdenp] .mud-button-text {
    padding: 0px !important
}
/* /Components/Pages/Features/V1/EntityProfiles/Components/DataRequests/FormViewer.razor.rz.scp.css */
.my-component[b-7n4f3m70xd] {
    border: 2px dashed red;
    padding: 1em;
    margin: 1em 0;
    background-image: url('background.png');
}
/* /Components/Pages/Features/V1/EntityProfiles/Components/UBOChart/BPUBOChart.razor.rz.scp.css */
/* ── Container ── */
.ubo-container[b-wdp0lqxasg] {
    padding: 1rem;
}

.ubo-hint-alert[b-wdp0lqxasg] {
    margin-bottom: 0.5rem;
}

.pause-reason-list[b-wdp0lqxasg] {
    margin: 0.25rem 0 0 1rem;
    padding: 0;
    list-style: disc;
    font-size: 0.85rem;
}

.ubo-toolbar[b-wdp0lqxasg] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.5rem;
    gap: 2px;
}

.zoom-label[b-wdp0lqxasg] {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.ubo-chart-wrapper[b-wdp0lqxasg] {
    overflow: auto;
    padding: 1.5rem 1rem 2rem;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    max-height: 80vh;
}

.ubo-chart-wrapper.is-panning[b-wdp0lqxasg] {
    cursor: grabbing;
}

.ubo-chart[b-wdp0lqxasg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: fit-content;
}

.chart-empty[b-wdp0lqxasg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

/* ── Root connector line ── */
.chart-children-connector[b-wdp0lqxasg] {
    width: 2px;
    height: 24px;
    background: #90a4ae;
}

/* ── Root container ── */
.chart-root[b-wdp0lqxasg] {
    display: flex;
    justify-content: center;
}

/* ── Each level = horizontal row of nodes ── */
[b-wdp0lqxasg] ul.chart-level {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* ── Each <li> is a column: node + its sub-tree ── */
[b-wdp0lqxasg] ul.chart-level > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 24px 12px 0;
}

/* ── Vertical line from top connector down to node ── */
[b-wdp0lqxasg] ul.chart-level > li::before {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 24px;
    background: #90a4ae;
}

/* ── Horizontal line across siblings ── */
[b-wdp0lqxasg] ul.chart-level > li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #90a4ae;
}

/* First child: clip left half of horizontal line */
[b-wdp0lqxasg] ul.chart-level > li:first-child::after {
    left: 50%;
}

/* Last child: clip right half of horizontal line */
[b-wdp0lqxasg] ul.chart-level > li:last-child::after {
    right: 50%;
}

/* Only child: no horizontal line at all */
[b-wdp0lqxasg] ul.chart-level > li:only-child::after {
    display: none;
}

/* ── Node card (shared) ── */
.chart-node[b-wdp0lqxasg] {
    width: 190px;
    min-height: 120px;
    border-radius: 10px;
    padding: 14px 12px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    border: 2px solid #e0e0e0;
    background: #fff;
}

.chart-node:hover[b-wdp0lqxasg] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* ── Root styling ── */
.root-node[b-wdp0lqxasg] {
    width: 220px;
    border-color: var(--mud-palette-primary);
    background: linear-gradient(135deg, #e3f2fd 0%, #fff 100%);
}

/* ── Entity node (company, trust, etc) ── */
.entity-node[b-wdp0lqxasg] {
    cursor: pointer;
    border-color: #bbdefb;
    background: #fafcff;
}

/* ── Person node ── */
.person-node[b-wdp0lqxasg] {
    border-color: #e0e0e0;
    background: #fafafa;
}

/* ── Inactive overlay ── */
.inactive-node[b-wdp0lqxasg] {
    opacity: 0.6;
}

/* ── Avatar ── */
.node-avatar[b-wdp0lqxasg] {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem;
}

.node-icon-row[b-wdp0lqxasg] {
    margin-bottom: 2px;
}

/* ── Text lines ── */
.node-name[b-wdp0lqxasg] {
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #212121;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.node-role[b-wdp0lqxasg] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mud-palette-primary);
}

.node-ownership[b-wdp0lqxasg] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1565c0;
}

.node-type[b-wdp0lqxasg] {
    font-size: 0.68rem;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.node-detail[b-wdp0lqxasg] {
    font-size: 0.65rem;
    color: #9e9e9e;
}

/* ── AO Name on entity nodes ── */
.node-ao[b-wdp0lqxasg] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #5c6bc0;
    margin-top: 1px;
}

.ao-icon :deep(.mud-icon-root)[b-wdp0lqxasg] {
    font-size: 13px !important;
    color: #5c6bc0;
}

/* ── Badges ── */
.node-badge-row[b-wdp0lqxasg] {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
    margin-top: 2px;
}

.node-badge[b-wdp0lqxasg] {
    font-size: 0.6rem;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-source[b-wdp0lqxasg] {
    background: #e8eaf6;
    color: #3949ab;
}

.badge-status[b-wdp0lqxasg] {
    background: #e0f2f1;
    color: #00695c;
}

.badge-inactive[b-wdp0lqxasg] {
    background: #fff3e0;
    color: #e65100;
}

.badge-warning[b-wdp0lqxasg] {
    background: #fff8e1;
    color: #f57f17;
}

.badge-info[b-wdp0lqxasg] {
    background: #e1f5fe;
    color: #0277bd;
}

.badge-kyc-verified[b-wdp0lqxasg] {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-kyc-pending[b-wdp0lqxasg] {
    background: #fff3e0;
    color: #e65100;
}

/* ── Membership lifecycle chips (KYB target design, Section 7) ── */
.badge-ms-discovered[b-wdp0lqxasg],
.badge-ms-invited[b-wdp0lqxasg],
.badge-ms-verifying[b-wdp0lqxasg],
.badge-ms-needsreview[b-wdp0lqxasg],
.badge-ms-verified[b-wdp0lqxasg],
.badge-ms-manual[b-wdp0lqxasg],
.badge-ms-rejected[b-wdp0lqxasg] {
    cursor: help;
}

.badge-ms-discovered[b-wdp0lqxasg] {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.badge-ms-invited[b-wdp0lqxasg] {
    background: #dbeafe;
    color: #1e40af;
    border: 1px dashed #1e40af;
}

.badge-ms-verifying[b-wdp0lqxasg] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-ms-needsreview[b-wdp0lqxasg] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.badge-ms-verified[b-wdp0lqxasg] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Manually verified is deliberately a solid dark-teal chip so it never reads as an automated Verified. */
.badge-ms-manual[b-wdp0lqxasg] {
    background: #042f34;
    color: #cbfbf1;
    border: 1px solid #042f34;
}

.badge-ms-rejected[b-wdp0lqxasg] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #991b1b;
}

/* ── Sub-threshold + beneficiary-class badges (KYB target design, Section 10/UBO) ── */
.badge-subthreshold[b-wdp0lqxasg] {
    background: #eceff1;
    color: #546e7a;
    border: 1px solid #cfd8dc;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: help;
}

.badge-class[b-wdp0lqxasg] {
    background: #ede7f6;
    color: #5e35b1;
    border: 1px solid #d1c4e9;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: help;
}

/* Muted/secondary treatment for sub-threshold and beneficiary-class nodes: retained, not hidden,
   but visibly de-emphasised so they are not read as full beneficial owners. */
.muted-node[b-wdp0lqxasg] {
    opacity: 0.7;
    background: #f7f8f9;
    border-style: dashed;
}

/* ── Paused badge with tooltip icon ── */
.badge-paused[b-wdp0lqxasg] {
    background: #fff3e0;
    color: #e65100;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: help;
}

.badge-info-icon :deep(.mud-icon-root)[b-wdp0lqxasg] {
    font-size: 12px !important;
    vertical-align: middle;
}

/* ── Document badges ── */
.node-docs[b-wdp0lqxasg] {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
    margin-top: 2px;
}

.badge-doc-required[b-wdp0lqxasg] {
    background: #fce4ec;
    color: #c62828;
}

.badge-doc-uploaded[b-wdp0lqxasg] {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-doc-clickable[b-wdp0lqxasg] {
    cursor: pointer;
    transition: filter 0.15s;
}

.badge-doc-clickable:hover[b-wdp0lqxasg] {
    filter: brightness(0.9);
}

.badge-warning[b-wdp0lqxasg] {
    background: #fff8e1;
    color: #f57f17;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* ── 3-dot override menu ── */
.node-menu[b-wdp0lqxasg] {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 10;
}

/* ── Expand/collapse hint ── */
.node-expand-hint[b-wdp0lqxasg] {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

    .node-expand-hint :deep(.mud-icon-root)[b-wdp0lqxasg] {
        font-size: 14px !important;
    }

/* Designer panel (in-flow, contained within the tab/body area) */
.designer-overlay[b-wdp0lqxasg] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 240px);
    min-height: 460px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.designer-overlay-bar[b-wdp0lqxasg] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 8px 0 16px;
    background: #042f34;
    color: #ffffff;
}

.designer-overlay-title[b-wdp0lqxasg] {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.designer-overlay-body[b-wdp0lqxasg] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
/* /Components/Pages/Features/V1/EntityProfiles/Components/UBOChart/BPUBODesigner.razor.rz.scp.css */
.designer-container[b-mazpsz2x4d] {
    display: flex;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
}

.designer-toolbox[b-mazpsz2x4d] {
    width: 240px;
    min-width: 240px;
    background: #f5f5f5;
    border-right: 1px solid #e0e0e0;
    padding: 12px;
    overflow-y: auto;
}

.toolbox-group[b-mazpsz2x4d] {
    margin-bottom: 16px;
}

.toolbox-group-label[b-mazpsz2x4d] {
    font-size: 10px;
    letter-spacing: 1px;
    color: #757575;
    display: block;
    margin-bottom: 6px;
}

.toolbox-item[b-mazpsz2x4d] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: grab;
    margin-bottom: 4px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.toolbox-item:hover[b-mazpsz2x4d] {
    border-color: #042f34;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Match the portal primary (teal) for designer primary buttons */
.btn-primary[b-mazpsz2x4d] {
    --bs-btn-bg: #042f34;
    --bs-btn-border-color: #042f34;
    --bs-btn-hover-bg: #063f46;
    --bs-btn-hover-border-color: #063f46;
    --bs-btn-active-bg: #063f46;
    --bs-btn-active-border-color: #063f46;
    --bs-btn-disabled-bg: #042f34;
    --bs-btn-disabled-border-color: #042f34;
}

.toolbox-item:active[b-mazpsz2x4d] {
    cursor: grabbing;
}

.toolbox-icon[b-mazpsz2x4d] {
    font-size: 18px;
}

.toolbox-name[b-mazpsz2x4d] {
    color: #212121;
    font-size: 12px;
    font-weight: 600;
}

.toolbox-code[b-mazpsz2x4d] {
    color: #9e9e9e;
    font-size: 10px;
}

.toolbox-divider[b-mazpsz2x4d] {
    border-color: #e0e0e0;
    margin: 12px 0;
}

.toolbox-action[b-mazpsz2x4d] {
    text-align: left;
    font-size: 12px;
    color: #616161;
    border-color: #bdbdbd;
}

.designer-main[b-mazpsz2x4d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.designer-canvas[b-mazpsz2x4d] {
    flex: 1;
    overflow: hidden;
    background: #fafafa;
}

.designer-loading[b-mazpsz2x4d] {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(250, 250, 250, 0.85);
}

.designer-loading-text[b-mazpsz2x4d] {
    font-size: 13px;
    color: #042f34;
    font-weight: 600;
}

.designer-statusbar[b-mazpsz2x4d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #616161;
}

.draft-status[b-mazpsz2x4d] {
    flex: 1;
}

.zoom-controls[b-mazpsz2x4d] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 12px;
}

.zoom-label[b-mazpsz2x4d] {
    min-width: 40px;
    text-align: center;
}

.zoom-controls .btn[b-mazpsz2x4d] {
    padding: 2px 8px;
    font-size: 12px;
}

.draft-actions[b-mazpsz2x4d] {
    display: flex;
    gap: 6px;
}

.draft-actions .btn[b-mazpsz2x4d] {
    font-size: 12px;
}

/* Node context menu */
.ctx-backdrop[b-mazpsz2x4d] {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: transparent;
}

.ctx-menu[b-mazpsz2x4d] {
    position: fixed;
    z-index: 1081;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 4px 0;
    overflow: hidden;
}

.ctx-title[b-mazpsz2x4d] {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background: #042f34;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ctx-state[b-mazpsz2x4d] {
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #042f34;
    background: #b7ed3f;
}

.ctx-item[b-mazpsz2x4d] {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 7px 14px;
    font-size: 13px;
    color: #212121;
    cursor: pointer;
}

.ctx-item:hover[b-mazpsz2x4d] {
    background: #f0f5f5;
}

.ctx-item.ctx-danger[b-mazpsz2x4d] {
    color: #c62828;
}

.ctx-item.ctx-danger:hover[b-mazpsz2x4d] {
    background: #fdecea;
}

.ctx-sep[b-mazpsz2x4d] {
    height: 1px;
    background: #e0e0e0;
    margin: 4px 0;
}

[b-mazpsz2x4d] .add-entity-modal .modal-body {
    min-height: 480px;
}

.client-picker-list[b-mazpsz2x4d] {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: .375rem;
}

.client-picker-item[b-mazpsz2x4d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    cursor: pointer;
    transition: background-color .15s;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.client-picker-item:last-child[b-mazpsz2x4d] {
    border-bottom: none;
}

.client-picker-item:hover[b-mazpsz2x4d] {
    background-color: var(--bs-tertiary-bg);
}

.client-picker-item.selected[b-mazpsz2x4d] {
    background-color: var(--bs-primary);
    color: #fff;
}

.client-picker-check[b-mazpsz2x4d] {
    font-weight: bold;
}
/* /Components/Pages/Login/Login.razor.rz.scp.css */
/* Container styling */
.business-selector-container[b-y2znxn28d3] {
    display: flex;
    flex-direction: column;
    max-height: 350px; /* slightly taller for better UX, but adjustable */
    background-color: #ffffff;
    border-radius: 8px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);*/ /* Soft modern shadow */
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden; /* Keeps rounded corners clean */
}

/* Header styling */
.business-selector-header[b-y2znxn28d3] {
    padding: 20px 24px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.business-selector-title[b-y2znxn28d3] {
    margin: 0 0 4px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.business-selector-subtitle[b-y2znxn28d3] {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Scrollable List styling */
.business-list[b-y2znxn28d3] {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    overflow-y: auto;
    flex-grow: 1;
}

    /* Custom Scrollbar for webkit browsers */
    .business-list[b-y2znxn28d3]::-webkit-scrollbar {
        width: 6px;
    }

    .business-list[b-y2znxn28d3]::-webkit-scrollbar-track {
        background: transparent;
    }

    .business-list[b-y2znxn28d3]::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

        .business-list[b-y2znxn28d3]::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

.business-list-item[b-y2znxn28d3] {
    margin: 0;
    padding: 0;
}

/* Button/Row styling */
.business-btn[b-y2znxn28d3] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    justify-content: flex-start;
    border-bottom: 1px solid #cccccc5e;
}

    .business-btn:hover[b-y2znxn28d3], .business-btn:focus-visible[b-y2znxn28d3] {
        background-color: #f3f4f6;
        outline: none;
    }

    .business-btn:active[b-y2znxn28d3] {
        background-color: #e5e7eb;
    }

    .business-btn:last-child[b-y2znxn28d3] {
        border-bottom: none; /* Remove border for the last item */
    }

/* Icon styling */
.business-icon[b-y2znxn28d3] {
    width: 24px;
    height: 24px;
    color: #64748b; /* Subtle muted icon color */
    flex-shrink: 0;
}

.business-btn:hover .business-icon[b-y2znxn28d3] {
    color: #042f35; /* Dark teal pop on hover */
}

/* Text Content styling */
.business-text-content[b-y2znxn28d3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.business-name[b-y2znxn28d3] {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
}

.business-alt-name[b-y2znxn28d3] {
    font-size: 0.75rem;
    color: #042f35; /* Your original dark teal color */
    opacity: 0.8;
}
