/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-tmopy668it] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-tmopy668it] {
    flex: 1;
}

.sidebar[b-tmopy668it] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-tmopy668it] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-tmopy668it]  a, .top-row[b-tmopy668it]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-tmopy668it]  a:hover, .top-row[b-tmopy668it]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-tmopy668it]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-tmopy668it] {
        justify-content: space-between;
    }

    .top-row[b-tmopy668it]  a, .top-row[b-tmopy668it]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-tmopy668it] {
        flex-direction: row;
    }

    .sidebar[b-tmopy668it] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-tmopy668it] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-tmopy668it]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-tmopy668it], article[b-tmopy668it] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /UI/Table/DndTableHeader.razor.rz.scp.css */
.header-content-wrapper[b-v6row3n0d4] {
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex: 1;
    overflow: hidden;
}

.header-dot[b-v6row3n0d4] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.4);
    margin-right: 12px;
}

.header-item .mud-table-sort-label[b-v6row3n0d4] {
    text-overflow: ellipsis;
    overflow: hidden;
}

.header-title[b-v6row3n0d4] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.local-column-icon[b-v6row3n0d4] {
    font-size: 14px;
    opacity: 0.7;
    color: var(--mud-palette-primary);
}
/* /UI/Table/DynamicTableRow.razor.rz.scp.css */

.g3-table .mud-table-row:has(.cell-remote-focus)[b-1njlpja8b4] {
    position: relative;
    z-index: 5 !important;
}

.mud-table-cell.cell-remote-focus[b-1njlpja8b4],
.mud-table-cell.sticky-first-column[b-1njlpja8b4] {
    overflow: visible !important;
    position: relative;
}

.cell-primary-wrap[b-1njlpja8b4] {
    position: relative;
    overflow: visible !important;
    display: flex;
    align-items: center;
    height: 100%;
}

.cell-remote-focus[b-1njlpja8b4] {
    outline: 2px solid var(--user-color) !important;
    box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--user-color) 20%, transparent) !important;
    outline-offset: -2px;
    z-index: 10 !important;
    animation: cell-pulse-b-1njlpja8b4 2s infinite;
}

@keyframes cell-pulse-b-1njlpja8b4 {
    0% {
        box-shadow: inset 0 0 0 0px color-mix(in srgb, var(--user-color) 40%, transparent);
    }

    50% {
        box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--user-color) 25%, transparent);
    }

    100% {
        box-shadow: inset 0 0 0 0px color-mix(in srgb, var(--user-color) 40%, transparent);
    }
}


.remote-user-badge.cell-badge[b-1njlpja8b4] {
    position: absolute;
    top: -18px;
    background-color: var(--user-color);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 4px 4px 0 0;
    z-index: 150 !important;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.15);
    animation: badge-pop-b-1njlpja8b4 0.25s ease-out;
}

.g3-table .mud-table-row.g3-row-new[b-1njlpja8b4] {
    position: relative;
    background-color: #fff3cd !important;
    animation: new-row-pulse-b-1njlpja8b4 1.8s ease-out;
}

.g3-table .mud-table-row.g3-row-remote-new[b-1njlpja8b4] {
    animation: remote-row-flash-b-1njlpja8b4 4s ease-out forwards;
}

/* Fix sticky columns in highlighted rows (prevent transparency issues) */
.g3-row-new > td.sticky-first-column[b-1njlpja8b4] {
    background-color: color-mix(in srgb, #ff9800 10%, white) !important;
}

.g3-row-remote-new > td.sticky-first-column[b-1njlpja8b4] {
    background-color: color-mix(in srgb, #4caf50 10%, white) !important;
}


@keyframes badge-pop-b-1njlpja8b4 {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes remote-row-flash-b-1njlpja8b4 {
    0% {
        background-color: rgba(76, 175, 80, 0.2);
    }

    100% {
        background-color: transparent;
    }
}

@keyframes new-row-pulse-b-1njlpja8b4 {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.8);
    }

    40% {
        box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.35);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Padding fix for the very top row badge */
/*.g3-table .mud-table-container {
    padding-top: 20px !important;
}*/
/* /UI/Table/ImportCsvTable.razor.rz.scp.css */
.truncate-cell[b-rt73l0pfa8] {
    max-width: 50px; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /UI/Table/PresenceBar.razor.rz.scp.css */
.presence-container[b-gyqnpj0rsr] {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

/* Make the initials fit nicely */
.mud-avatar.mud-avatar-small[b-gyqnpj0rsr] {
    font-size: 0.75rem;
}

/* Optional: Add a green dot for "Online" status if you want to get fancy */
.presence-active[b-gyqnpj0rsr] {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
}
/* /UI/Table/ReferencesBar.razor.rz.scp.css */
.header-dot[b-xr671haq2i] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    vertical-align: middle;
}
