@import '_content/iBrokr.Components/iBrokr.Components.pilh77yfl7.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Base layout */
.page[b-06nc7awy8z] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top bar */
.top-row[b-06nc7awy8z] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5rem;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    z-index: 1000;
}

.logo-container img[b-06nc7awy8z] {
    height: 38px;
}

/* Sidebar base */
.sidebar[b-06nc7awy8z] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #224DB6 70%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1050;
}

/* Mobile: sidebar slides from right */
@media (max-width: 640.98px) {
    .sidebar[b-06nc7awy8z] {
        position: fixed;
        top: 3.5rem;
        right: 0;
        width: 250px;
        height: calc(100% - 3.5rem);
        transform: translateX(100%);
    }

        .sidebar.open[b-06nc7awy8z] {
            transform: translateX(0);
        }

    .content-area[b-06nc7awy8z] {
        margin-left: 0;
        margin-top: 3.5rem;
        width: 100%;
    }
}

/* Desktop layout */
@media (min-width: 641px) {
    .page[b-06nc7awy8z] {
        flex-direction: row;
    }

    .sidebar[b-06nc7awy8z] {
        position: fixed;
        top: 3.5rem; /* below top bar */
        left: 0;
        bottom: 0;
        width: 250px;
        transform: none;
    }

    .hamburger[b-06nc7awy8z] {
        display: none;
    }
}

.content-area[b-06nc7awy8z] {
    padding: 1rem; 
}

@media (min-width: 641px) {
    .content-area[b-06nc7awy8z] {
        margin-left: 250px;
        margin-top: 3.5rem; 
        width: calc(100% - 250px); 
        padding: 1rem;
    }
}

/* Mobile adjustments */
@media (max-width: 640.98px) {
    .content-area[b-06nc7awy8z] {
        margin-left: 0;
        margin-top: 3.5rem;
        width: 100%;
        padding: 1rem;
    }
}

/* Hamburger button */
.hamburger[b-06nc7awy8z] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hamburger button - mobile */
@media (max-width: 640.98px) {
    .hamburger[b-06nc7awy8z] {
        margin-left: auto;
    }
}

.sidebar-user[b-06nc7awy8z] {
    color: #fff;
    font-size: 0.95rem;
}

#blazor-error-ui[b-06nc7awy8z] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none; /* hidden by default */
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-06nc7awy8z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-n4sl9nd0qv] {
    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-n4sl9nd0qv] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-n4sl9nd0qv] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-n4sl9nd0qv] {
    font-size: 1.1rem;
}

.bi[b-n4sl9nd0qv] {
    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-n4sl9nd0qv] {
    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-n4sl9nd0qv] {
    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-n4sl9nd0qv] {
    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");
}

.bi-lock-nav-menu[b-n4sl9nd0qv] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-n4sl9nd0qv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-n4sl9nd0qv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-n4sl9nd0qv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-n4sl9nd0qv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-n4sl9nd0qv] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-n4sl9nd0qv] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-n4sl9nd0qv] {
        padding-bottom: 1rem;
    }

    .nav-item[b-n4sl9nd0qv]  .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-n4sl9nd0qv]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-n4sl9nd0qv]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-n4sl9nd0qv] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-n4sl9nd0qv] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-n4sl9nd0qv] {
        display: none;
    }

    .nav-scrollable[b-n4sl9nd0qv] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.top-row[b-n4sl9nd0qv] {
    background-color: #f7f7f7; /* same as MainLayout top bar */
    border-bottom: 1px solid #d6d5d5;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    width: 100%;
}

.logo-container[b-n4sl9nd0qv] {
    background-color: #f7f7f7; 
    border-bottom: 1px solid #d6d5d5;
    text-align: center;
    padding: 0.5rem 2rem;
}
/* /Components/Pages/Applications/ApplicationsHome.razor.rz.scp.css */
/* -------------------- General Styles -------------------- */
.app-container[b-wdzlqdrmdj] {
    display: flex;
    width: 100%;
}

    /* Sidebar */
    .app-container .sidebar[b-wdzlqdrmdj] {
        flex-shrink: 0;
        width: 220px;
        transition: width 0.3s ease;
        border-right: 1px solid #ddd;
        position: relative;
        padding-right: 0.75rem;
    }

        .app-container .sidebar.collapsed[b-wdzlqdrmdj] {
            width: 0;
        }

            .app-container .sidebar.collapsed .filters-wrapper[b-wdzlqdrmdj] {
                display: none !important;
            }

/* Chevron toggle */
.chevron-btn[b-wdzlqdrmdj] {
    position: absolute;
    top: 0px;
    right: -20px;
    background: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 1;
}

    .chevron-btn:focus[b-wdzlqdrmdj],
    .chevron-btn:active[b-wdzlqdrmdj] {
        outline: none !important;
        box-shadow: none !important;
    }

/* Main content */
.main-content[b-wdzlqdrmdj] {
    flex: 1;
    min-width: 0;
    padding: 0 1rem;
}

/* -------------------- Application Grid -------------------- */
.application-grid[b-wdzlqdrmdj] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: center;
    text-align: center;
}

    .application-grid > div[b-wdzlqdrmdj] {
        min-width: 120px;
    }

.header-label[b-wdzlqdrmdj] {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.value-label[b-wdzlqdrmdj] {
    display: block;
    font-size: 1rem;
}

/* Buttons */
.square-icon[b-wdzlqdrmdj] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

    .square-icon:focus[b-wdzlqdrmdj],
    .square-icon:active[b-wdzlqdrmdj] {
        outline: none;
        box-shadow: none;
    }

    .square-icon.approve[b-wdzlqdrmdj] {
        border-color: #28a745;
        background-color: #e6ffed;
    }

    .square-icon.reject[b-wdzlqdrmdj] {
        border-color: #dc3545;
        background-color: #ffe6e6;
    }

/* -------------------- Mobile & Tablet -------------------- */
@media (max-width: 1199px) {
    .app-container[b-wdzlqdrmdj] {
        flex-direction: column;
    }

    .sidebar[b-wdzlqdrmdj] {
        width: 100% !important;
    }

    .chevron-btn[b-wdzlqdrmdj] {
        display: none !important;
    }

    /* Always show the show/hide filters button */
    .d-md-none[b-wdzlqdrmdj] {
        display: block !important;
        margin-bottom: 1rem;
    }

    .application-grid[b-wdzlqdrmdj] {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

        .application-grid > div[b-wdzlqdrmdj] {
            min-width: unset;
            text-align: left;
        }

    .header-label[b-wdzlqdrmdj] {
        font-size: 0.8rem;
    }

    .value-label[b-wdzlqdrmdj] {
        font-size: 0.9rem;
    }
}

/* -------------------- Desktop Layout -------------------- */
@media (min-width: 1200px) {
    .application-list-container .card-body > .row[b-wdzlqdrmdj] {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

        /* Name + App ID column */
        .application-list-container .card-body > .row > .col-lg-3[b-wdzlqdrmdj] {
            flex: 0 0 20%;
            max-width: 20%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: left;
        }

        /* Details grid column */
        .application-list-container .card-body > .row > .col-lg-8[b-wdzlqdrmdj] {
            flex: 0 0 65%;
            max-width: 65%;
        }

        /* Action buttons column */
        .application-list-container .card-body > .row > .col-lg-1[b-wdzlqdrmdj] {
            flex: 0 0 15%;
            max-width: 15%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

    .application-grid[b-wdzlqdrmdj] {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
        align-items: center;
        text-align: center;
    }

        .application-grid > div[b-wdzlqdrmdj] {
            min-width: unset;
        }
}

/* Center application card details on tablet/mobile */
@media (max-width: 1199px) {
    .application-grid[b-wdzlqdrmdj] {
        justify-items: center; /* center the grid items */
    }

        .application-grid > div[b-wdzlqdrmdj] {
            text-align: center !important; /* center text inside each cell */
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .application-grid .header-label[b-wdzlqdrmdj],
        .application-grid .value-label[b-wdzlqdrmdj] {
            text-align: center !important; /* ensure labels and values are centered */
        }
}

.truncate-text[b-wdzlqdrmdj] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card.border-primary[b-wdzlqdrmdj] {
    border: 2px solid #007bff;
    background-color: #e9f5ff;
}
.fa-2x[b-wdzlqdrmdj] {
    font-size: 1.4rem !important;
}
/* /Components/Pages/Applications/EditApplication.razor.rz.scp.css */
.masonry[b-tuv3xi0tee] {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

    .masonry .card[b-tuv3xi0tee] {
        display: inline-block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-bottom: 1.5rem;
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        border: 1px solid #e5e5e5;
        border-radius: 7px;
        box-shadow: 0 2px 8px rgba(36,41,46,0.08);
        background: #fff;
        box-sizing: border-box;
        transition: box-shadow 0.15s;
    }

        .masonry .card:active[b-tuv3xi0tee] {
            box-shadow: 0 2px 8px rgba(36,41,46,0.08);
            transform: none;
        }

    .masonry .card-header[b-tuv3xi0tee] {
        font-weight: 600;
        font-size: 1.11rem;
        background: #052150;
        color: white;
        border-bottom: 1px solid #eef0f3;
        border-radius: 7px 7px 0 0;
        padding: 0.8rem 1.1rem;
    }

    .masonry .card-body[b-tuv3xi0tee] {
        padding: 1rem 1.1rem 1.15rem 1.1rem;
        font-size: 1.02rem;
        color: #495569;
        min-width: 0;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

.section-title[b-tuv3xi0tee] {
    font-weight: 600 !important;
    font-size: 1.11rem !important;
}

/* === Document List/File List Specific Styling === */
.card-body .row[b-tuv3xi0tee],
.card-body .col-12[b-tuv3xi0tee],
.card-body .d-flex[b-tuv3xi0tee],
.card-body .flex-grow-1[b-tuv3xi0tee],
.card-body .flex-shrink-0[b-tuv3xi0tee],
.card-body .overflow-hidden[b-tuv3xi0tee] {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Truncate file name but allow wrapping if still too long */
.card-body .file-name-truncate[b-tuv3xi0tee] {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 14vw; /* Responsive, adjust if your cards are very wide/narrow */
}

@media (max-width: 1100px) {

    .card-body .file-name-truncate[b-tuv3xi0tee] {
        max-width: 32vw;
    }
}

@media (max-width: 700px) {

    .card-body .file-name-truncate[b-tuv3xi0tee] {
        max-width: 64vw;
    }
}


/* Fix for download/view links/buttons not overflowing */
.card-body .d-flex.gap-3.flex-shrink-0[b-tuv3xi0tee] {
    min-width: 0;
    max-width: 7vw;
    flex-shrink: 1;
    flex-grow: 0;
    overflow: hidden;
}

/* Make sure images/previews never overflow */
.card-body img[b-tuv3xi0tee], .card-body iframe[b-tuv3xi0tee], .card-body embed[b-tuv3xi0tee] {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent global horizontal overflow */
body[b-tuv3xi0tee], html[b-tuv3xi0tee] {
    max-width: 100vw;
    overflow-x: hidden;
}

.edit-icon[b-tuv3xi0tee] {
    color: white;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    margin-right: 8px;
}

    .edit-icon:hover[b-tuv3xi0tee],
    .edit-icon:focus[b-tuv3xi0tee],
    .edit-icon:active[b-tuv3xi0tee] {
        color: white;
        text-decoration: none;
        background: none;
        border: none;
        box-shadow: none;
    }

.bg-status-awaiting[b-tuv3xi0tee] {
    background-color: #f7f061cc;
}

.bg-status-accepted[b-tuv3xi0tee] {
    background-color: #61f780cc;
}

.bg-status-declined[b-tuv3xi0tee] {
    background-color: #f76161cc;
}

.lender-status-badge[b-tuv3xi0tee] {
    display: inline-block;
    width: 120px;
    text-align: center;
    padding: 0.35rem 0;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 12px;
}


.status-awaiting[b-tuv3xi0tee] {
    background-color: #fdf1e7;
    color: #e56a05;
}

.status-offered[b-tuv3xi0tee] {
    background-color: #e7f4ed;
    color: #0c8949;
}

.status-rejected[b-tuv3xi0tee] {
    background-color: #ffe6e8;
    color: #ff0018;
}

.status-accepted[b-tuv3xi0tee] {
    background-color: #e9eef8;
    color: #224db6;
}


.btn-view-offer[b-tuv3xi0tee] {
    background-color: #ffffff;
    color: #0052cc; 
    font-weight: 600;
    font-size: 12px;
    padding: 0.25rem 0.75rem; 
    border-radius: 4px;
    min-width: 70px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: transform 0.1s ease-in-out, background-color 0.2s;
}

    .btn-view-offer:active[b-tuv3xi0tee] {
        transform: scale(0.95);
        background-color: #f0f0f0; 
    }
/* /Components/Pages/Brokers/BrokersHome.razor.rz.scp.css */
.btn-add-broker[b-mv7rx3aoxp] {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color .2s ease, color .2s ease;
}

    .btn-add-broker:hover[b-mv7rx3aoxp] {
        background-color: #0b5ed7;
        color: #fff;
    }

.btn:focus[b-mv7rx3aoxp], .btn:focus-visible[b-mv7rx3aoxp],
.users-toggle-btn:focus[b-mv7rx3aoxp], .users-toggle-btn:focus-visible[b-mv7rx3aoxp],
.badge:focus[b-mv7rx3aoxp], .badge:focus-visible[b-mv7rx3aoxp],
.table button:focus[b-mv7rx3aoxp], .table button:focus-visible[b-mv7rx3aoxp],
.no-focus:focus[b-mv7rx3aoxp] {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25) !important;
}

.form-control[b-mv7rx3aoxp] {
    height: 56px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-color: #052150;
    outline: none;
}

    .form-control:focus[b-mv7rx3aoxp] {
        outline: none;
        box-shadow: 0 0 0 2px var(--bs-primary);
        border: 0.5px solid #80bdff;
    }

.stats-grid .stat .fw-semibold[b-mv7rx3aoxp],
.stats-grid .stat abbr[b-mv7rx3aoxp],
.stats-grid .stat [title][b-mv7rx3aoxp] {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

.stats-grid[b-mv7rx3aoxp] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .5rem .75rem;
    align-items: center;
}

    .stats-grid .stat[b-mv7rx3aoxp] {
        text-align: center;
        padding: .5rem .75rem;
        border: 1px solid var(--bs-border-color, #dee2e6);
        border-radius: .5rem;
        background: #fff;
    }

        .stats-grid .stat .fw-semibold[b-mv7rx3aoxp] {
            display: block;
            opacity: .75;
            font-weight: 600;
        }

.action-grid[b-mv7rx3aoxp] {
    display: grid;
    gap: .5rem;
}

    .action-grid.action-grid-three[b-mv7rx3aoxp] {
        grid-template-columns: 1fr;
    }

    /* Brokers: force the 3 action buttons into 3 rows */
    .action-grid.action-grid-three[b-mv7rx3aoxp] {
        grid-template-columns: 1fr !important;
    }

        /* full-width rows */
        .action-grid.action-grid-three .btn-tight[b-mv7rx3aoxp] {
            width: 100% !important;
            min-width: 0 !important;
        }


@media (max-width: 1299.98px) {
    .card-row-1500 > .head-col-1500[b-mv7rx3aoxp],
    .card-row-1500 > .stats-col-1500[b-mv7rx3aoxp],
    .card-row-1500 > .actions-col-1500[b-mv7rx3aoxp] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .card-row-1500 > .head-col-1500[b-mv7rx3aoxp] {
        order: 1 !important;
    }

    .card-row-1500 > .stats-col-1500[b-mv7rx3aoxp] {
        order: 2 !important;
    }

    .card-row-1500 > .actions-col-1500[b-mv7rx3aoxp] {
        order: 3 !important;
    }

    .action-grid.action-grid-three[b-mv7rx3aoxp] {
        grid-template-columns: 1fr !important;
    }

    .btn-tight[b-mv7rx3aoxp] {
        min-width: 0 !important;
        width: 100% !important;
    }
}

.btn-tight[b-mv7rx3aoxp] {
    height: 36px;
    padding: 0 .65rem;
    font-size: .92rem;
}

.btn-outline-primary:hover[b-mv7rx3aoxp], .btn-outline-primary:focus[b-mv7rx3aoxp] {
    color: #fff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-danger:hover[b-mv7rx3aoxp], .btn-outline-danger:focus[b-mv7rx3aoxp] {
    color: #fff !important;
    background-color: var(--bs-danger) !important;
    border-color: var(--bs-danger) !important;
}

.btn:disabled[b-mv7rx3aoxp], .btn.disabled[b-mv7rx3aoxp],
.btn-outline-primary:disabled[b-mv7rx3aoxp], .btn-outline-danger:disabled[b-mv7rx3aoxp] {
    opacity: .65 !important;
    pointer-events: none !important;
    color: inherit !important;
    background: inherit !important;
    border-color: currentColor !important;
}

.btn .btn-text[b-mv7rx3aoxp] {
    opacity: 1 !important;
}

.users-toggle[b-mv7rx3aoxp] {
    display: flex;
    justify-content: center;
}

.users-toggle-btn[b-mv7rx3aoxp] {
    background: transparent;
    border: 0;
    padding: .25rem .5rem;
    color: var(--bs-primary);
    cursor: pointer;
}

.users-toggle-text[b-mv7rx3aoxp] {
    text-decoration: underline;
}

.users-toggle-btn:disabled[b-mv7rx3aoxp] {
    opacity: .5;
    cursor: not-allowed;
}

.inactive-card[b-mv7rx3aoxp] {
    background-color: #f5f5f5 !important;
    opacity: 0.6;
    filter: grayscale(0.3);
    pointer-events: none;
}

    .inactive-card .card-dimmable[b-mv7rx3aoxp] {
        opacity: .70;
        background-color: #f5f5f5 !important;
        pointer-events: none;
    }

.btn-placeholder[b-mv7rx3aoxp] {
    height: 36px;
}

.card .row > [class^="col-"][b-mv7rx3aoxp], .card .row > [class*=" col-"][b-mv7rx3aoxp] {
    min-width: 0;
}

.big-switch[b-mv7rx3aoxp] {
    transform: scale(2);
    cursor: pointer;
    margin-top: 0.1rem;
}

    .big-switch:focus[b-mv7rx3aoxp], .no-focus:focus[b-mv7rx3aoxp] {
        box-shadow: none !important;
        outline: none !important;
    }


/* make the overlay position against each card */
.card-wrapper[b-mv7rx3aoxp] {
    position: relative;
}

/* full-card overlay, centered */
.enable-center-overlay[b-mv7rx3aoxp] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20; 
    pointer-events: none; 
}

/* the actual enable button */
.enable-center-btn[b-mv7rx3aoxp] {
    pointer-events: auto;
    background-color: var(--bs-success);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

    .enable-center-btn:hover[b-mv7rx3aoxp] {
        background-color: #0f7a2a;
    }


.users-toggle-btn:focus[b-mv7rx3aoxp],
.users-toggle-btn:focus-visible[b-mv7rx3aoxp] {
    outline: none !important;
    box-shadow: none !important;
}


.card-dimmable .users-toggle-btn:focus[b-mv7rx3aoxp],
.card-dimmable .users-toggle-btn:focus-visible[b-mv7rx3aoxp] {
    outline: none !important;
    box-shadow: none !important;
}

[b-mv7rx3aoxp] .form-control {
    height: 56px !important;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16px !important;
    border-color: #052150;
}

    [b-mv7rx3aoxp] .form-control:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: #052150 !important;
    }


.icon-btn[b-mv7rx3aoxp] {
    background-color: transparent;
    border: none;
    padding: 0.25rem;
    font-size: 1.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .icon-btn.edit[b-mv7rx3aoxp] {
        color: #6c757d;
    }

        .icon-btn.edit:hover[b-mv7rx3aoxp] {
            color: #495057;
        }

    .icon-btn.danger[b-mv7rx3aoxp] {
        color: var(--bs-danger);
    }

        .icon-btn.danger:hover[b-mv7rx3aoxp] {
            color: #a30000;
        }

    .icon-btn.enable[b-mv7rx3aoxp] {
        color: var(--bs-success);
    }

        .icon-btn.enable:hover[b-mv7rx3aoxp] {
            color: #0f7a2a;
        }

.icon-sep[b-mv7rx3aoxp] {
    width: 1px;
    height: 16px;
    background: rgba(0,0,0,.15);
    display: inline-block;
    margin: 0 .25rem;
}

.truncate-text[b-mv7rx3aoxp] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card.border-primary[b-mv7rx3aoxp] {
    border: 2px solid #007bff;
    background-color: #e9f5ff;
}
/* /Components/Pages/Dashboard/OnlineUsersDashboard.razor.rz.scp.css */
/* /Components/Pages/Lenders/LendersHome.razor.rz.scp.css */
.btn-add-lender[b-ec9fht3gyg] {
    background-color: #0d6efd;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
}

    .btn-add-lender:hover[b-ec9fht3gyg] {
        background-color: #0b5ed7;
        color: white;
    }

.modal-content[b-ec9fht3gyg] {
    border: none;
    width: 100%;
}

.modal-header[b-ec9fht3gyg] {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.25rem;
}

.modal-title[b-ec9fht3gyg] {
    font-weight: 600;
}


.form-switch[b-ec9fht3gyg] {
    padding-left: 3.5rem;
}

.modal-footer[b-ec9fht3gyg] {
    border-top: 1px solid #e0e0e0;
    padding: 1rem 1.25rem;
}

.toggle-container[b-ec9fht3gyg] {
    height: 50px;
}

.big-switch[b-ec9fht3gyg] {
    transform: scale(2);
    cursor: pointer;
    margin-top: 0.1rem;
}

    .big-switch:focus[b-ec9fht3gyg], .no-focus:focus[b-ec9fht3gyg] {
        box-shadow: none !important;
        outline: none !important;
    }

.inactive-card[b-ec9fht3gyg] {
    background-color: #f5f5f5 !important;
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.3);
}

.lender-list-container[b-ec9fht3gyg] {
    position: relative;
}

.loader-overlay[b-ec9fht3gyg] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.6);
    border-radius: 10px;
    z-index: 10;
}

.icon-btn:hover[b-ec9fht3gyg] {
    opacity: 0.8;
}

.text-secondary[b-ec9fht3gyg] {
    color: #6c757d !important;
}

.icon-btn[b-ec9fht3gyg] {
    background-color: transparent;
    border: none;
    padding: 0.25rem;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:focus[b-ec9fht3gyg], .btn:active:focus[b-ec9fht3gyg], .btn-check:focus + .btn[b-ec9fht3gyg],
.no-focus:focus[b-ec9fht3gyg] {
    outline: none !important;
    box-shadow: none !important;
}

.btn-tight[b-ec9fht3gyg] {
    height: 40px;
    padding: 0 .65rem;
    font-size: .92rem;
    min-width: 180px;
}

    .btn-tight .btn-text[b-ec9fht3gyg] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.actions-bar[b-ec9fht3gyg] {
    width: 100%;
}

.action-grid[b-ec9fht3gyg] {
    display: grid;
    gap: .5rem;
}

    .action-grid.action-grid-three[b-ec9fht3gyg] {
        grid-template-columns: 1fr;
    }

.stats-grid[b-ec9fht3gyg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .5rem .75rem;
    align-items: center;
}

    .stats-grid .stat[b-ec9fht3gyg] {
        text-align: center;
    }

.users-toggle[b-ec9fht3gyg] {
    display: flex;
    justify-content: center;
}

.users-toggle-btn[b-ec9fht3gyg] {
    background: transparent;
    border: 0;
    padding: .25rem .5rem;
    color: var(--bs-primary);
    cursor: pointer;
}

    .users-toggle-btn:disabled[b-ec9fht3gyg] {
        opacity: .5;
        cursor: not-allowed;
    }

.users-toggle-text[b-ec9fht3gyg] {
    text-decoration: underline;
}

.user-actions[b-ec9fht3gyg] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.icon-btn.edit[b-ec9fht3gyg] {
    color: #6c757d;
}

    .icon-btn.edit:hover[b-ec9fht3gyg] {
        color: #495057;
    }

.icon-btn.danger[b-ec9fht3gyg] {
    color: var(--bs-danger);
}

    .icon-btn.danger:hover[b-ec9fht3gyg] {
        color: #a30000;
    }

.icon-btn.enable[b-ec9fht3gyg] {
    color: var(--bs-success);
}

    .icon-btn.enable:hover[b-ec9fht3gyg] {
        color: #0f7a2a;
    }

.icon-sep[b-ec9fht3gyg] {
    width: 1px;
    height: 16px;
    background: rgba(0,0,0,.15);
}

.text-truncate[b-ec9fht3gyg] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bg-success-subtle[b-ec9fht3gyg] {
    background-color: #d1e7dd !important;
}

.bg-secondary-subtle[b-ec9fht3gyg] {
    background-color: #e2e3e5 !important;
}

@media (max-width: 575.98px) {
    .stats-grid[b-ec9fht3gyg] {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .btn-tight[b-ec9fht3gyg] {
        min-width: 100%;
    }
}

.inactive-card .card-dimmable[b-ec9fht3gyg] {
    opacity: .70;
    background-color: #f5f5f5 !important;
    pointer-events: none;
}

.btn-placeholder[b-ec9fht3gyg] {
    height: 36px;
}

.card-wrapper[b-ec9fht3gyg] {
    position: relative;
}

.enable-center-overlay[b-ec9fht3gyg] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

.enable-center-btn[b-ec9fht3gyg] {
    pointer-events: auto;
    background-color: var(--bs-success);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

    .enable-center-btn:hover[b-ec9fht3gyg] {
        background-color: #0f7a2a;
    }

.card .row > [class^="col-"][b-ec9fht3gyg],
.card .row > [class*=" col-"][b-ec9fht3gyg] {
    min-width: 0;
}

/* Desktop (>=1500px): three-across buttons */
@media (min-width: 1100px) {
    .action-grid.action-grid-three[b-ec9fht3gyg] {
        display: grid;
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        gap: .5rem;
    }

    .btn-tight[b-ec9fht3gyg] {
        min-width: 160px;
    }
}

/* Below 1500px: stack title, stats, actions */
@media (max-width: 1299.98px) {
    .card-row-1500 > .head-col-1500[b-ec9fht3gyg],
    .card-row-1500 > .stats-col-1500[b-ec9fht3gyg],
    .card-row-1500 > .actions-col-1500[b-ec9fht3gyg] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .card-row-1500 > .head-col-1500[b-ec9fht3gyg] {
        order: 1 !important;
    }

    .card-row-1500 > .stats-col-1500[b-ec9fht3gyg] {
        order: 2 !important;
    }

    .card-row-1500 > .actions-col-1500[b-ec9fht3gyg] {
        order: 3 !important;
    }

    .action-grid.action-grid-three[b-ec9fht3gyg] {
        grid-template-columns: 1fr !important;
    }

    .btn-tight[b-ec9fht3gyg] {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* Medium view: center lender name heading */
@media (min-width: 992px) and (max-width: 1299.98px) {
    .head-col-1500 h4[b-ec9fht3gyg] {
        text-align: center !important;
    }
}

/* Desktop view (>=1300px): make action buttons in separate rows */
@media (min-width: 1300px) {
    .action-grid.action-grid-three[b-ec9fht3gyg] {
        grid-template-columns: 1fr !important; /* stack vertically */
    }
}

