/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-obol6w5aqa] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-obol6w5aqa] {
    flex: 1;
}

.sidebar[b-obol6w5aqa] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-obol6w5aqa] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-obol6w5aqa]  a, .top-row[b-obol6w5aqa]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-obol6w5aqa]  a:hover, .top-row[b-obol6w5aqa]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-obol6w5aqa]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-obol6w5aqa] {
        justify-content: space-between;
    }

    .top-row[b-obol6w5aqa]  a, .top-row[b-obol6w5aqa]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-obol6w5aqa] {
        flex-direction: row;
    }

    .sidebar[b-obol6w5aqa] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-obol6w5aqa] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-obol6w5aqa]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-obol6w5aqa], article[b-obol6w5aqa] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-obol6w5aqa] {
    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;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-obol6w5aqa] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Source/SourcesView.razor.rz.scp.css */
/* ── Skeleton loader ─────────────────────────────────── */
.skeleton-page[b-x7ga7hr81m] {
    padding: 0 4px;
    user-select: none;
}

.skeleton-toolbar[b-x7ga7hr81m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f9f9f9;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    margin-bottom: 16px;
}

.skeleton-table[b-x7ga7hr81m] {
    border: 1px solid #ebebeb;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.skeleton-header[b-x7ga7hr81m] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.skeleton-row[b-x7ga7hr81m] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.skeleton-row:last-child[b-x7ga7hr81m] {
    border-bottom: none;
}

/* shimmer block */
.skeleton-block[b-x7ga7hr81m] {
    flex-shrink: 0;
    background: linear-gradient(
        90deg,
        #ececec 25%,
        #f5f5f5 50%,
        #ececec 75%
    );
    background-size: 400% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@@keyframes shimmer {
    0%[b-x7ga7hr81m]   { background-position: 100% 0; }
    100%[b-x7ga7hr81m] { background-position: -100% 0; }
}

/* ── Page header + toolbar ────────────────────────────── */
.page-header[b-x7ga7hr81m] {
    margin-bottom: 8px;
}

.page-header h1[b-x7ga7hr81m] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.toolbar[b-x7ga7hr81m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.total-badge[b-x7ga7hr81m] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e9f0ff;
    color: #1561cb;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ── URL cell truncation ───────────────────────────── */
.url-cell[b-x7ga7hr81m] {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1561cb;
    font-size: 0.85rem;
    text-decoration: none;
}

.url-cell:hover[b-x7ga7hr81m] {
    color: #1561cb;
    text-decoration: underline;
}

/* ── Priority dot ────────────────────────────────── */
.priority-dot[b-x7ga7hr81m] {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    vertical-align: middle;
}
