@import '_content/GikiBi.Shared/GikiBi.Shared.etlryy1e5x.bundle.scp.css';

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-42vlslfv1s],
.components-reconnect-repeated-attempt-visible[b-42vlslfv1s],
.components-reconnect-failed-visible[b-42vlslfv1s],
.components-pause-visible[b-42vlslfv1s],
.components-resume-failed-visible[b-42vlslfv1s],
.components-rejoining-animation[b-42vlslfv1s] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-retrying[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-failed[b-42vlslfv1s],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-42vlslfv1s] {
    display: block;
}


#components-reconnect-modal[b-42vlslfv1s] {
    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-42vlslfv1s 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-42vlslfv1s 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-42vlslfv1s 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-42vlslfv1s]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-42vlslfv1s 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-42vlslfv1s {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-42vlslfv1s {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-42vlslfv1s {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-42vlslfv1s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-42vlslfv1s] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-42vlslfv1s] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-42vlslfv1s] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-42vlslfv1s] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-42vlslfv1s] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-42vlslfv1s] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-42vlslfv1s 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-42vlslfv1s] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-42vlslfv1s {
    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/ImportStatus.razor.rz.scp.css */
/* ===== Dashboard Layout ===== */
.import-dashboard[b-98liu097u0] {
    padding: 1.5rem 2rem;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
}

/* ===== Header ===== */
.dashboard-header[b-98liu097u0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.25rem;
}

.dashboard-header h1[b-98liu097u0] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.subtitle[b-98liu097u0] {
    color: #8c8c9a;
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

.refresh-btn[b-98liu097u0] {
    background: #4361ee;
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.refresh-btn:hover[b-98liu097u0] {
    background: #3a56d4;
}

.refresh-btn:active[b-98liu097u0] {
    transform: scale(0.97);
}

/* ===== Status Banner ===== */
.banner[b-98liu097u0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    border-left: 4px solid;
}

.banner.success[b-98liu097u0] {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.banner.warning[b-98liu097u0] {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.banner.danger[b-98liu097u0] {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.banner.info[b-98liu097u0] {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.banner-icon[b-98liu097u0] {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ===== KPI Cards ===== */
.kpi-row[b-98liu097u0] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.kpi-card[b-98liu097u0] {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8ef;
    transition: transform 0.15s, box-shadow 0.15s;
}

.kpi-card:hover[b-98liu097u0] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kpi-value[b-98liu097u0] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.kpi-label[b-98liu097u0] {
    font-size: 0.75rem;
    color: #8c8c9a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* ===== Panels ===== */
.table-panel[b-98liu097u0] {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8ef;
    margin-bottom: 1.25rem;
}

.table-panel h2[b-98liu097u0] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem 0;
}

/* ===== Data Table ===== */
.table-responsive[b-98liu097u0] {
    overflow-x: auto;
}

.data-table[b-98liu097u0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    white-space: nowrap;
}

.data-table th[b-98liu097u0],
.data-table td[b-98liu097u0] {
    padding: 0.6rem 0.75rem;
    border: 1px solid #e0e0e8;
    vertical-align: middle;
}

.data-table thead th[b-98liu097u0] {
    background: #f8f9fb;
    color: #5a5a6e;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid #d0d0dc;
}

.data-table tbody tr[b-98liu097u0] {
    transition: background 0.1s;
}

.data-table tbody tr:hover[b-98liu097u0] {
    background: #f5f6fa;
}

/* Row states */
.data-table tbody tr.row-failed[b-98liu097u0] {
    background: #fff5f5;
}

.data-table tbody tr.row-failed:hover[b-98liu097u0] {
    background: #ffe8e8;
}

.data-table tbody tr.row-progress[b-98liu097u0] {
    background: #fffcf0;
}

.data-table tbody tr.row-disabled[b-98liu097u0] {
    background: #fafafa;
    color: #aaa;
}

.data-table tbody tr.row-disabled td[b-98liu097u0] {
    color: #aaa;
}

.data-table tbody tr.row-disabled strong[b-98liu097u0] {
    font-weight: 500;
    color: #999;
}

/* Cell alignment */
.cell-num[b-98liu097u0] {
    text-align: center;
    color: #999;
    width: 2.5rem;
}

.cell-records[b-98liu097u0],
.cell-added[b-98liu097u0],
.cell-updated[b-98liu097u0] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cell-duration[b-98liu097u0] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cell-time[b-98liu097u0] {
    text-align: center;
}

.cell-status[b-98liu097u0],
.cell-mode[b-98liu097u0] {
    text-align: center;
}

/* Totals row */
.totals-row[b-98liu097u0] {
    background: #f0f2f5 !important;
    border-top: 2px solid #d0d0dc;
}

.totals-row td[b-98liu097u0] {
    padding: 0.7rem 0.75rem;
    font-size: 0.85rem;
}

/* ===== Tags / Badges ===== */
.status-tag[b-98liu097u0],
.mode-tag[b-98liu097u0] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.status-tag.success[b-98liu097u0] {
    background: #d4edda;
    color: #155724;
}

.status-tag.failed[b-98liu097u0] {
    background: #f8d7da;
    color: #721c24;
}

.status-tag.inprogress[b-98liu097u0] {
    background: #fff3cd;
    color: #856404;
}

.mode-tag.full-refresh[b-98liu097u0] {
    background: #e3f2fd;
    color: #1565c0;
}

.mode-tag.incremental-recid[b-98liu097u0] {
    background: #fff3cd;
    color: #856404;
}

.mode-tag.disabled[b-98liu097u0] {
    background: #e9ecef;
    color: #999;
}

.mode-tag.small[b-98liu097u0],
.status-tag.small[b-98liu097u0] {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
}

/* ===== Error text ===== */
.error-text[b-98liu097u0] {
    color: #dc3545;
    font-size: 0.8rem;
    cursor: help;
}

/* ===== Text helpers ===== */
.text-success[b-98liu097u0] { color: #28a745 !important; }
.text-danger[b-98liu097u0] { color: #dc3545 !important; }
.text-warning[b-98liu097u0] { color: #e6a817 !important; }
.text-info[b-98liu097u0] { color: #17a2b8 !important; }
.text-primary[b-98liu097u0] { color: #4361ee !important; }
.text-secondary[b-98liu097u0] { color: #6c757d !important; }
.text-muted[b-98liu097u0] { color: #b0b0bb !important; }

/* ===== Activity List ===== */
.activity-list[b-98liu097u0] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.activity-row[b-98liu097u0] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    border-left: 3px solid #dee2e6;
    background: #fafbfc;
    transition: background 0.1s, transform 0.1s;
}

.activity-row:hover[b-98liu097u0] {
    background: #f0f2f5;
    transform: translateX(2px);
}

.activity-row.success[b-98liu097u0] {
    border-left-color: #28a745;
}

.activity-row.failed[b-98liu097u0] {
    border-left-color: #dc3545;
}

.activity-row.inprogress[b-98liu097u0] {
    border-left-color: #ffc107;
}

.activity-ts[b-98liu097u0] {
    color: #8c8c9a;
    font-size: 0.75rem;
    min-width: 110px;
    flex-shrink: 0;
}

/* ===== Loading ===== */
.loading-spinner[b-98liu097u0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem;
}

.loading-spinner p[b-98liu097u0] {
    margin-top: 1rem;
    color: #8c8c9a;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .kpi-row[b-98liu097u0] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .import-dashboard[b-98liu097u0] {
        padding: 1rem;
    }

    .dashboard-header[b-98liu097u0] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .kpi-row[b-98liu097u0] {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-table[b-98liu097u0] {
        font-size: 0.8rem;
    }
}
