/* /Pages/Shared/LoanTabs/LoanImages.razor.rz.scp.css */
.drop-zone-active[b-q7k1awszi3] {
    outline: 2px dashed var(--bs-primary);
    outline-offset: -4px;
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    transition: background-color 0.15s ease;
}

.drop-zone-overlay[b-q7k1awszi3] {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    pointer-events: none;
    border-radius: inherit;
}
/* /Pages/Shared/LoanTabs/LoanRationale.razor.rz.scp.css */
.rationale-document[b-l8yrfzpg3b] {
    background: white;
    padding: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rationale-document h2[b-l8yrfzpg3b] {
    color: #052767;
    border-bottom: 3px solid #052767;
    padding-bottom: 0.5rem;
}

.rationale-document h5[b-l8yrfzpg3b] {
    color: #052767;
    margin-top: 1.5rem;
}

.rationale-document .section[b-l8yrfzpg3b] {
    page-break-inside: avoid;
}

.rationale-document hr.border-2[b-l8yrfzpg3b] {
    border-top-width: 2px !important;
    opacity: 1;
}

.rationale-document ul li[b-l8yrfzpg3b] {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.rationale-document strong[b-l8yrfzpg3b] {
    color: #333;
}

.rationale-document .table[b-l8yrfzpg3b] {
    margin-top: 1rem;
}

.rationale-document .table td[b-l8yrfzpg3b],
.rationale-document .table th[b-l8yrfzpg3b] {
    padding: 0.75rem;
    vertical-align: middle;
}

.rationale-document textarea[b-l8yrfzpg3b] {
    border: 1px solid #dee2e6;
    min-height: 80px;
}

/* Inline input styling */
.rationale-document input.form-control.d-inline-block[b-l8yrfzpg3b] {
    display: inline-block !important;
    vertical-align: middle;
    margin: 0 0.25rem;
}

.rationale-document textarea[readonly][b-l8yrfzpg3b] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.rationale-document input[readonly][b-l8yrfzpg3b] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Edit mode highlighting */
.rationale-document input.form-control:not([readonly]):focus[b-l8yrfzpg3b],
.rationale-document textarea.form-control:not([readonly]):focus[b-l8yrfzpg3b] {
    border-color: #052767;
    box-shadow: 0 0 0 0.2rem rgba(5, 39, 103, 0.25);
}

@media print {
    .rationale-document[b-l8yrfzpg3b] {
        padding: 0;
    }

    .btn[b-l8yrfzpg3b],
    .card-header[b-l8yrfzpg3b],
    hr:not(.border-2)[b-l8yrfzpg3b] {
        display: none !important;
    }

    .rationale-document .section[b-l8yrfzpg3b] {
        page-break-inside: avoid;
    }

    /* Hide input borders in print */
    .rationale-document input[b-l8yrfzpg3b],
    .rationale-document textarea[b-l8yrfzpg3b] {
        border: none !important;
        background: transparent !important;
    }
}
/* /Shared/ConnectionStatus.razor.rz.scp.css */
.connection-status[b-08gbqz8bjf] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    cursor: default;
    user-select: none;
}

.status-connected[b-08gbqz8bjf] {
    background-color: #d1fae5;
    color: #065f46;
}

.status-connected .bi[b-08gbqz8bjf] {
    animation: pulse-green 2.5s infinite;
}

.status-reconnecting[b-08gbqz8bjf] {
    background-color: #fef3c7;
    color: #92400e;
}

.status-reconnecting .bi[b-08gbqz8bjf] {
    animation: pulse-amber 1s infinite;
}

.status-disconnected[b-08gbqz8bjf] {
    background-color: #fee2e2;
    color: #991b1b;
}

.connection-label[b-08gbqz8bjf] {
    white-space: nowrap;
}

@@keyframes pulse-green {
    0%[b-08gbqz8bjf], 100%[b-08gbqz8bjf] { opacity: 1; }
    50%[b-08gbqz8bjf]       { opacity: 0.5; }
}

@@keyframes pulse-amber {
    0%[b-08gbqz8bjf], 100%[b-08gbqz8bjf] { opacity: 1; }
    50%[b-08gbqz8bjf]       { opacity: 0.3; }
}
/* /Shared/Dashboard Widgets/BrokerPipeline.razor.rz.scp.css */
/* Modern card styling */
.modern-card[b-3mus9l5v78] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* Modern header */
.card-header[b-3mus9l5v78] {
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-3mus9l5v78]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.header-title[b-3mus9l5v78] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper[b-3mus9l5v78] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Accordion */
.bp-accordion[b-3mus9l5v78] {
    border-radius: 0;
}

.bp-item[b-3mus9l5v78] {
    border-left: none !important;
    border-right: none !important;
}

.bp-item:last-child[b-3mus9l5v78] {
    border-bottom: none !important;
}

.bp-toggle[b-3mus9l5v78] {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
}

.bp-toggle:not(.collapsed)[b-3mus9l5v78] {
    background-color: #eef3fb;
    color: #0d47a1;
    box-shadow: none;
}

.bp-broker-name[b-3mus9l5v78] {
    font-weight: 600;
    font-size: 0.875rem;
}

.bp-badge-count[b-3mus9l5v78] {
    background-color: #e3ecfa;
    color: #1b6ec2;
    font-weight: 500;
    font-size: 0.75rem;
}

.bp-badge-amount[b-3mus9l5v78] {
    background-color: #d4edda;
    color: #155724;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Pipeline table */
.bp-table[b-3mus9l5v78] {
    font-size: 0.8125rem;
}

.bp-table thead th[b-3mus9l5v78] {
    background-color: #f0f4ff;
    color: #495057;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.bp-table td[b-3mus9l5v78] {
    padding: 0.5rem 1rem;
    vertical-align: middle;
}

.bp-total-row td[b-3mus9l5v78] {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

/* Bootstrap-incompatible colours used in badge helper */
.bg-orange[b-3mus9l5v78] {
    background-color: #fd7e14 !important;
    color: white !important;
}

.bg-teal[b-3mus9l5v78] {
    background-color: #20c997 !important;
    color: white !important;
}
/* /Shared/Dashboard Widgets/CaseSummaries.razor.rz.scp.css */
/* ── Shared card chrome ──────────────────────────────────────────────────── */
.modern-card[b-61nbueswdp] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

.card-header[b-61nbueswdp] {
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-61nbueswdp]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.header-title[b-61nbueswdp] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper[b-61nbueswdp] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-light-custom[b-61nbueswdp] {
    background: white !important;
    border: none !important;
    color: #0d47a1 !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-light-custom:hover[b-61nbueswdp] {
    background: #e8f0fe !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* ── KPI strip ───────────────────────────────────────────────────────────── */
.cs-kpi-strip[b-61nbueswdp] {
    background: #f8f9fa;
}

.cs-kpi-cell[b-61nbueswdp] {
    min-width: 0;
}

.cs-kpi-label[b-61nbueswdp] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    margin-bottom: 2px;
}

.cs-kpi-value[b-61nbueswdp] {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.cs-count[b-61nbueswdp]  { color: #1b6ec2; }
.cs-gross[b-61nbueswdp]  { color: #155724; }
.cs-avg[b-61nbueswdp]    { color: #7c4dff; }

/* ── Stage table ─────────────────────────────────────────────────────────── */
.cs-table[b-61nbueswdp] {
    font-size: 0.8125rem;
}

.cs-table thead th[b-61nbueswdp] {
    background-color: #f0f4ff;
    color: #495057;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.cs-table td[b-61nbueswdp] {
    padding: 0.5rem 1rem;
    vertical-align: middle;
}

.cs-row[b-61nbueswdp] {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.cs-row:hover td[b-61nbueswdp] {
    background-color: #eef3fb;
}

.cs-total-row td[b-61nbueswdp] {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

/* ── Mini progress bar ───────────────────────────────────────────────────── */
.cs-bar-col[b-61nbueswdp] {
    width: 120px;
    min-width: 80px;
}

.cs-bar-track[b-61nbueswdp] {
    background: #e9ecef;
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
}

.cs-bar-fill[b-61nbueswdp] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
    min-width: 2px;
}

.cs-bar-secondary[b-61nbueswdp] { background-color: #6c757d; }
.cs-bar-info[b-61nbueswdp]      { background-color: #0dcaf0; }
.cs-bar-primary[b-61nbueswdp]   { background-color: #1b6ec2; }
.cs-bar-warning[b-61nbueswdp]   { background-color: #ffc107; }
.cs-bar-success[b-61nbueswdp]   { background-color: #198754; }
/* /Shared/Dashboard Widgets/FullPipelineReview.razor.rz.scp.css */
/* Modern card */
.modern-card[b-pf19xcqgl2] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* Header */
.card-header[b-pf19xcqgl2] {
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-pf19xcqgl2]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.header-title[b-pf19xcqgl2] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper[b-pf19xcqgl2] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.fpr-total-badge[b-pf19xcqgl2] {
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
}

.btn-light-custom[b-pf19xcqgl2] {
    background: white !important;
    border: none !important;
    color: #0d47a1 !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.btn-light-custom:hover[b-pf19xcqgl2] {
    background: #e8f0fe !important;
    color: #0a3d8f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* Toolbar */
.fpr-toolbar[b-pf19xcqgl2] {
    background: #f8f9fa;
}

.fpr-search[b-pf19xcqgl2] {
    max-width: 260px;
    font-size: 0.8125rem;
}

.fpr-filter-select[b-pf19xcqgl2] {
    max-width: 160px;
    font-size: 0.8125rem;
}

/* Table */
.fpr-table[b-pf19xcqgl2] {
    font-size: 0.8125rem;
}

.fpr-table thead th[b-pf19xcqgl2] {
    background-color: #f0f4ff;
    color: #495057;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

.fpr-table td[b-pf19xcqgl2] {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
}

.fpr-table tbody tr:hover[b-pf19xcqgl2] {
    background-color: #f0f4ff;
    cursor: pointer;
}

.fpr-truncate[b-pf19xcqgl2] {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Footer totals row */
.fpr-footer-row td[b-pf19xcqgl2] {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

/* Reusable colour overrides */
.bg-orange[b-pf19xcqgl2] {
    background-color: #fd7e14 !important;
    color: white !important;
}

.bg-teal[b-pf19xcqgl2] {
    background-color: #20c997 !important;
    color: white !important;
}
/* /Shared/Dashboard Widgets/FundingLineDashboard.razor.rz.scp.css */
/* ── Shared card chrome ──────────────────────────────────────────────────── */
.modern-card[b-p3863gu35h] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

.card-header[b-p3863gu35h] {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-p3863gu35h]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.header-title[b-p3863gu35h] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper[b-p3863gu35h] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-light-custom[b-p3863gu35h] {
    background: white !important;
    border: none !important;
    color: #1b5e20 !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-light-custom:hover[b-p3863gu35h] {
    background: #e8f5e9 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* ── KPI strip ───────────────────────────────────────────────────────────── */
.fld-kpi-strip[b-p3863gu35h] {
    background: #f8f9fa;
}

.fld-kpi-cell[b-p3863gu35h] {
    min-width: 0;
}

.fld-kpi-label[b-p3863gu35h] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    margin-bottom: 2px;
}

.fld-kpi-value[b-p3863gu35h] {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.fld-withdrawn[b-p3863gu35h]  { color: #1b5e20; }
.fld-approved[b-p3863gu35h]   { color: #e65100; }
.fld-gross[b-p3863gu35h]      { color: #0d47a1; }
.fld-count[b-p3863gu35h]      { color: #4a148c; }

/* ── Tab bar ─────────────────────────────────────────────────────────────── */
.fld-tabs[b-p3863gu35h] {
    gap: 4px;
    background: #f8f9fa;
}

.fld-tab[b-p3863gu35h] {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: -1px;
}

.fld-tab:hover[b-p3863gu35h] {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.05);
}

.fld-tab-active[b-p3863gu35h] {
    color: #1b5e20;
    border-bottom-color: #2e7d32;
    font-weight: 600;
}

.fld-tab-warn[b-p3863gu35h] {
    color: #c62828 !important;
}

.fld-tab-badge[b-p3863gu35h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f5e9;
    color: #1b5e20;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
}

.fld-tab-badge-warn[b-p3863gu35h] {
    background: #ffebee;
    color: #c62828;
}

/* ── Main table ──────────────────────────────────────────────────────────── */
.fld-table[b-p3863gu35h] {
    font-size: 0.8125rem;
}

.fld-table thead th[b-p3863gu35h] {
    background-color: #f1f8f1;
    color: #495057;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.fld-table td[b-p3863gu35h] {
    padding: 0.45rem 0.75rem;
    vertical-align: middle;
}

.fld-row[b-p3863gu35h] {
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.fld-row:hover td[b-p3863gu35h] {
    background-color: #f1f8f1;
}

.fld-row-expiry td:first-child[b-p3863gu35h] {
    border-left: 3px solid #ef6c00;
}

.fld-total-row td[b-p3863gu35h] {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

.fld-withdrawn-text[b-p3863gu35h] { color: #1b5e20; }
.fld-approved-text[b-p3863gu35h]  { color: #e65100; }

.fld-expiry-hint[b-p3863gu35h] {
    margin-top: 2px;
}

/* ── Facility utilisation bar ────────────────────────────────────────────── */
.fld-bar-col[b-p3863gu35h] {
    width: 120px;
    min-width: 80px;
}

.fld-bar-track[b-p3863gu35h] {
    background: #e9ecef;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    display: flex;
}

.fld-bar-fill[b-p3863gu35h] {
    height: 100%;
    transition: width 0.4s ease;
}

.fld-bar-withdrawn[b-p3863gu35h] {
    background: linear-gradient(90deg, #2e7d32, #43a047);
}

.fld-bar-approved[b-p3863gu35h] {
    background: #fb8c00;
}

.fld-bar-pct[b-p3863gu35h] {
    font-size: 0.7rem;
    color: #6c757d;
    text-align: right;
    margin-top: 2px;
}

/* ── Expiry section headers ──────────────────────────────────────────────── */
.fld-expiry-section[b-p3863gu35h] {
    background: #fff8f1;
    border-bottom: 1px solid #ffe0b2;
}

.fld-expiry-section.fld-expiry-urgent[b-p3863gu35h] {
    background: #fff5f5;
    border-bottom-color: #ffcdd2;
}

.fld-expiry-header[b-p3863gu35h] {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #c62828;
    padding-bottom: 0.5rem;
}

.fld-expiry-section.fld-expiry-warning .fld-expiry-header[b-p3863gu35h] {
    color: #e65100;
}

.fld-expiry-gross[b-p3863gu35h] {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #1b5e20;
}
/* /Shared/Dashboard Widgets/LiveLoansReport.razor.rz.scp.css */
.llr-card[b-vmo1l5wwuc] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

.llr-card .card-header[b-vmo1l5wwuc] {
    background: linear-gradient(135deg, #1a5c38 0%, #0f3d25 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.llr-card .card-header[b-vmo1l5wwuc]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.llr-card .header-title[b-vmo1l5wwuc] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.llr-card .icon-wrapper[b-vmo1l5wwuc] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.llr-card .header-title h6[b-vmo1l5wwuc] {
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* ── KPI row ── */
.llr-kpi-row[b-vmo1l5wwuc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #f8fdf9;
}

.llr-kpi[b-vmo1l5wwuc] {
    flex: 1 1 25%;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #e5f0ea;
    min-width: 100px;
}

.llr-kpi:last-child[b-vmo1l5wwuc] {
    border-right: none;
}

.llr-kpi-value[b-vmo1l5wwuc] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a5c38;
    white-space: nowrap;
}

.llr-kpi-label[b-vmo1l5wwuc] {
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
    text-align: center;
}

/* ── Sections grid ── */
.llr-sections[b-vmo1l5wwuc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.llr-section[b-vmo1l5wwuc] {
    padding: 1rem 1.25rem;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.llr-section:nth-child(2n)[b-vmo1l5wwuc] {
    border-right: none;
}

.llr-section-title[b-vmo1l5wwuc] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a5c38;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e5f0ea;
}

/* ── Data rows ── */
.llr-row[b-vmo1l5wwuc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
    font-size: 0.82rem;
    color: #343a40;
    border-radius: 4px;
}

.llr-row:hover[b-vmo1l5wwuc] {
    background: #f8fdf9;
}

.llr-val[b-vmo1l5wwuc] {
    font-weight: 600;
    font-size: 0.82rem;
    min-width: 2.5rem;
    text-align: right;
}

.llr-ok   .llr-val[b-vmo1l5wwuc] { color: #198754; }
.llr-warn .llr-val[b-vmo1l5wwuc] { color: #fd7e14; }
.llr-danger .llr-val[b-vmo1l5wwuc] { color: #dc3545; }

@media (max-width: 600px) {
    .llr-sections[b-vmo1l5wwuc] {
        grid-template-columns: 1fr;
    }
    .llr-section[b-vmo1l5wwuc] {
        border-right: none;
    }
    .llr-kpi[b-vmo1l5wwuc] {
        flex: 1 1 50%;
    }
}
/* /Shared/Dashboard Widgets/PendingLoans.razor.rz.scp.css */
/* ── Card shell ────────────────────────────────────────────────────────── */
.plr-card[b-8k7c4aelfc] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
}

/* ── Header — teal/cyan gradient ─────────────────────────────────────── */
.plr-card .card-header[b-8k7c4aelfc] {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.plr-card .card-header[b-8k7c4aelfc]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

.plr-card .header-title[b-8k7c4aelfc] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.plr-card .icon-wrapper[b-8k7c4aelfc] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.plr-card .header-title h6[b-8k7c4aelfc] {
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.plr-card .header-title small[b-8k7c4aelfc] {
    font-size: 0.75rem;
    opacity: 0.9;
}

.plr-count-badge[b-8k7c4aelfc] {
    min-width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    padding: 0 0.75rem;
}

/* ── Two-column KPI row ───────────────────────────────────────────────── */
.plr-kpi-row[b-8k7c4aelfc] {
    display: flex;
    align-items: stretch;
    background: #f0fdff;
}

.plr-kpi[b-8k7c4aelfc] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    text-align: center;
    gap: 0.2rem;
}

.plr-kpi-label[b-8k7c4aelfc] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.plr-kpi-value[b-8k7c4aelfc] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0e7490;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.plr-kpi-value.plr-proposal[b-8k7c4aelfc] {
    color: #0f766e;
}

.plr-kpi-sub[b-8k7c4aelfc] {
    font-size: 0.75rem;
    color: #94a3b8;
}

.plr-kpi-divider[b-8k7c4aelfc] {
    width: 1px;
    background: #e0f2fe;
    margin: 0.75rem 0;
}

/* ── Stage breakdown ─────────────────────────────────────────────────── */
.plr-stages[b-8k7c4aelfc] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plr-stage-row[b-8k7c4aelfc] {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    background: white;
    border: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.plr-stage-row:hover[b-8k7c4aelfc] {
    background: #f0fdff;
}

.plr-stage-row.plr-stage-proposal[b-8k7c4aelfc] {
    background: linear-gradient(to right, #f0fdf4, #ffffff);
    border-color: #bbf7d0;
}

.plr-stage-dot[b-8k7c4aelfc] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
}

.plr-stage-dot.plr-dot-proposal[b-8k7c4aelfc] {
    background: #0f766e;
}

.plr-stage-name[b-8k7c4aelfc] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.plr-count-chip[b-8k7c4aelfc] {
    font-size: 0.7rem;
    padding: 0.15em 0.55em !important;
    border-radius: 20px !important;
}

.bg-teal[b-8k7c4aelfc] {
    background-color: #0f766e !important;
    color: white !important;
}

.plr-stage-amount[b-8k7c4aelfc] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #475569;
}

.plr-stage-amount.plr-proposal[b-8k7c4aelfc] {
    color: #0f766e;
}

/* Progress bar */
.plr-bar-track[b-8k7c4aelfc] {
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.plr-bar-fill[b-8k7c4aelfc] {
    height: 100%;
    background: #0891b2;
    border-radius: 4px;
    transition: width 0.4s ease;
    min-width: 2px;
}

.plr-bar-fill.plr-bar-proposal[b-8k7c4aelfc] {
    background: #0f766e;
}
/* /Shared/Dashboard Widgets/RecentApplications.razor.rz.scp.css */
/* Modern card styling */
.modern-card[b-rr8hn5fype] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* Modern header with glass morphism effect */
.card-header[b-rr8hn5fype] {
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-rr8hn5fype]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.header-title[b-rr8hn5fype] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper[b-rr8hn5fype] {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-title h6[b-rr8hn5fype] {
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.header-title small[b-rr8hn5fype] {
    font-size: 0.75rem;
    opacity: 0.9;
}

.btn-light-custom[b-rr8hn5fype] {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-light-custom:hover[b-rr8hn5fype] {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-body[b-rr8hn5fype] {
    padding: 1.5rem !important;
    background: white;
}

/* Modern table styling */
.table-sm[b-rr8hn5fype] {
    font-size: 0.875rem;
}

.table-sm thead th[b-rr8hn5fype] {
    padding: 0.75rem 0.5rem !important;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef !important;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.table-sm tbody td[b-rr8hn5fype] {
    padding: 0.875rem 0.5rem !important;
    vertical-align: middle;
    border-bottom: 1px solid #f0f2f5;
}

.table-sm tbody tr:last-child td[b-rr8hn5fype] {
    border-bottom: none;
}

/* Enhanced row hover effects */
.cursor-pointer[b-rr8hn5fype] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.cursor-pointer:hover[b-rr8hn5fype] {
    background: linear-gradient(90deg, rgba(37, 140, 251, 0.06) 0%, rgba(37, 140, 251, 0.02) 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Primary text color matches theme */
.text-primary[b-rr8hn5fype] {
    color: var(--theme-color, #258cfb) !important;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Modern badge styling */
.badge[b-rr8hn5fype] {
    padding: 0.35em 0.75em !important;
    font-weight: 600;
    font-size: 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Icon styling */
.bi[b-rr8hn5fype] {
    vertical-align: middle;
}

/* Loading and empty states */
.text-center.py-4[b-rr8hn5fype] {
    padding: 3rem 1rem !important;
}

.spinner-border-sm[b-rr8hn5fype] {
    width: 1.5rem;
    height: 1.5rem;
}

.bi-inbox[b-rr8hn5fype] {
    color: #dee2e6;
    font-size: 2.5rem;
}

/* Text truncation */
.text-truncate[b-rr8hn5fype] {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status badge colors with modern look */
.bg-info[b-rr8hn5fype] {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.bg-warning[b-rr8hn5fype] {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #212529 !important;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.bg-primary[b-rr8hn5fype] {
    background: linear-gradient(135deg, #258cfb 0%, #1b6ec2 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(37, 140, 251, 0.3);
}

.bg-secondary[b-rr8hn5fype] {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.bg-success[b-rr8hn5fype] {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .card-header[b-rr8hn5fype] {
        padding: 1rem !important;
    }

    .header-title[b-rr8hn5fype] {
        gap: 0.75rem;
    }

    .icon-wrapper[b-rr8hn5fype] {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        border-radius: 10px;
    }

    .header-title h6[b-rr8hn5fype] {
        font-size: 0.9rem;
    }

    .header-title small[b-rr8hn5fype] {
        font-size: 0.7rem;
    }

    .card-body[b-rr8hn5fype] {
        padding: 1rem !important;
    }

    .table-sm[b-rr8hn5fype] {
        font-size: 0.85rem;
    }

    .table-sm thead th[b-rr8hn5fype],
    .table-sm tbody td[b-rr8hn5fype] {
        padding: 0.6rem 0.4rem !important;
    }

    .text-truncate[b-rr8hn5fype] {
        max-width: 100px !important;
    }

    .btn-light-custom span[b-rr8hn5fype] {
        display: none;
    }

    .btn-light-custom[b-rr8hn5fype] {
        padding: 0.5rem 0.75rem;
    }
}
/* /Shared/Dashboard Widgets/TeamTasksAlerts.razor.rz.scp.css */
/* ── Card shell ────────────────────────────────────────────────────────── */
.tta-card[b-50kndxuzxp] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
}

/* ── Header — indigo/purple gradient ──────────────────────────────────── */
.tta-card .card-header[b-50kndxuzxp] {
    background: linear-gradient(135deg, #5c35c8 0%, #3b1fa0 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.tta-card .card-header[b-50kndxuzxp]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

.tta-card .header-title[b-50kndxuzxp] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.tta-card .icon-wrapper[b-50kndxuzxp] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.tta-card .header-title h6[b-50kndxuzxp] {
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.tta-card .header-title small[b-50kndxuzxp] {
    font-size: 0.75rem;
    opacity: 0.9;
}

.tta-count-badge[b-50kndxuzxp] {
    min-width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    padding: 0 0.75rem;
}

/* ── Filter bar ────────────────────────────────────────────────────────── */
.tta-filter-bar[b-50kndxuzxp] {
    background: #fafbfc;
}

/* ── Item list ─────────────────────────────────────────────────────────── */
.tta-list[b-50kndxuzxp] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 520px;
    overflow-y: auto;
}

.tta-list[b-50kndxuzxp]::-webkit-scrollbar {
    width: 4px;
}
.tta-list[b-50kndxuzxp]::-webkit-scrollbar-track { background: #f1f3f5; }
.tta-list[b-50kndxuzxp]::-webkit-scrollbar-thumb { background: #ced4da; border-radius: 4px; }

/* ── Individual item ───────────────────────────────────────────────────── */
.tta-item[b-50kndxuzxp] {
    display: flex;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.tta-item:hover[b-50kndxuzxp] {
    border-color: #7c5cbf;
    box-shadow: 0 4px 12px rgba(92, 53, 200, 0.12);
    transform: translateX(3px);
}

/* Left coloured bar */
.tta-left-bar[b-50kndxuzxp] {
    width: 4px;
    flex-shrink: 0;
    transition: width 0.2s;
}

.tta-item:hover .tta-left-bar[b-50kndxuzxp] { width: 6px; }

.tta-bar-primary[b-50kndxuzxp]  { background: #258cfb; }
.tta-bar-secondary[b-50kndxuzxp]{ background: #6c757d; }
.tta-bar-success[b-50kndxuzxp]  { background: #198754; }
.tta-bar-dark[b-50kndxuzxp]     { background: #212529; }
.tta-bar-danger[b-50kndxuzxp]   { background: #dc3545; }
.tta-bar-warning[b-50kndxuzxp]  { background: #ffc107; }
.tta-bar-info[b-50kndxuzxp]     { background: #0dcaf0; }

/* "Mine" highlight — gold left bar + soft gold tint */
.tta-item.tta-mine[b-50kndxuzxp] {
    background: linear-gradient(to right, #fffbeb 0%, #ffffff 60%);
    border-color: #fde68a;
}

.tta-item.tta-mine .tta-left-bar[b-50kndxuzxp] {
    background: #f59e0b !important;
    width: 5px;
}

.tta-item.tta-mine:hover[b-50kndxuzxp] {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245,158,11,0.2);
}

/* ── Content area ──────────────────────────────────────────────────────── */
.tta-content[b-50kndxuzxp] {
    padding: 0.85rem 1rem;
    flex: 1;
    min-width: 0;
}

.tta-title[b-50kndxuzxp] {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tta-title i[b-50kndxuzxp] { color: #5c35c8; }

.tta-meta[b-50kndxuzxp] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.tta-description[b-50kndxuzxp] {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f2f5;
    font-size: 0.82rem;
    color: #6c757d;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Assignee avatar chip ──────────────────────────────────────────────── */
.tta-avatar[b-50kndxuzxp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #5c35c8;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
    cursor: default;
}

/* ── Small badges ──────────────────────────────────────────────────────── */
.tta-mine-badge[b-50kndxuzxp] {
    display: inline-flex;
    align-items: center;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 0.1rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.tta-team-badge[b-50kndxuzxp] {
    display: inline-flex;
    align-items: center;
    background: #ede9fe;
    color: #4c1d95;
    border: 1px solid #c4b5fd;
    border-radius: 6px;
    padding: 0.1rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.tta-unassigned-badge[b-50kndxuzxp] {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.1rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
}
/* /Shared/Dashboard Widgets/UpcomingFunding.razor.rz.scp.css */
/* Modern card */
.modern-card[b-1jsdaez2vr] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* Header */
.card-header[b-1jsdaez2vr] {
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-1jsdaez2vr]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.header-title[b-1jsdaez2vr] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper[b-1jsdaez2vr] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* View All button */
.btn-light-custom[b-1jsdaez2vr] {
    background: white !important;
    border: none !important;
    color: #0d47a1 !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.btn-light-custom:hover[b-1jsdaez2vr] {
    background: #e8f0fe !important;
    color: #0a3d8f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* KPI strip */
.uf-kpi-strip[b-1jsdaez2vr] {
    background: #fafbff;
}

.uf-kpi-cell[b-1jsdaez2vr] {
    min-width: 0;
}

.uf-kpi-label[b-1jsdaez2vr] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.uf-kpi-value[b-1jsdaez2vr] {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.uf-today[b-1jsdaez2vr]  { color: #dc3545; }
.uf-three[b-1jsdaez2vr]  { color: #fd7e14; }
.uf-five[b-1jsdaez2vr]   { color: #0d47a1; }
.uf-value[b-1jsdaez2vr]  { color: #198754; font-size: 1.05rem; }

/* Table */
.uf-table[b-1jsdaez2vr] {
    font-size: 0.8125rem;
}

.uf-table thead th[b-1jsdaez2vr] {
    background-color: #f0f4ff;
    color: #495057;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

.uf-table td[b-1jsdaez2vr] {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
}

.uf-table tbody tr:hover[b-1jsdaez2vr] {
    cursor: pointer;
}

/* Urgent row — today or tomorrow */
.uf-row-urgent[b-1jsdaez2vr] {
    background-color: #fff5f5;
}

.uf-row-urgent:hover[b-1jsdaez2vr] {
    background-color: #ffe8e8 !important;
}

/* Soon row — 2-3 days */
.uf-row-soon[b-1jsdaez2vr] {
    background-color: #fffbf0;
}

.uf-row-soon:hover[b-1jsdaez2vr] {
    background-color: #fff3d6 !important;
}

.uf-truncate[b-1jsdaez2vr] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

/* Footer */
.uf-footer-row td[b-1jsdaez2vr] {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}
/* /Shared/Dashboard Widgets/UserTasks.razor.rz.scp.css */
/* ── Card shell ──────────────────────────────────────────────────── */
.modern-card[b-g12o5vgdvt] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* ── Header ──────────────────────────────────────────────────────── */
.card-header[b-g12o5vgdvt] {
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-g12o5vgdvt]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.header-title[b-g12o5vgdvt] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.header-title h6[b-g12o5vgdvt] {
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.header-title small[b-g12o5vgdvt] {
    font-size: 0.75rem;
    opacity: 0.85;
}

/* Right-hand group: count pill + add button */
.header-actions[b-g12o5vgdvt] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.task-count-badge[b-g12o5vgdvt] {
    min-width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    padding: 0 0.65rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.ut-add-btn[b-g12o5vgdvt] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.ut-add-btn:hover[b-g12o5vgdvt] {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.ut-add-btn:active[b-g12o5vgdvt] {
    transform: scale(0.96);
}

/* Icon wrapper */
.icon-wrapper[b-g12o5vgdvt] {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ── Card body ───────────────────────────────────────────────────── */
.card-body[b-g12o5vgdvt] {
    padding: 1.5rem !important;
    background: white;
}

/* ── Task list ───────────────────────────────────────────────────── */
.task-list[b-g12o5vgdvt] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-item[b-g12o5vgdvt] {
    padding: 1rem 1.25rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.22s ease;
    background: linear-gradient(to right, #ffffff 0%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.task-item[b-g12o5vgdvt]::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--theme-color, #258cfb);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.task-item:hover[b-g12o5vgdvt]::before { opacity: 1; }

.task-item:hover[b-g12o5vgdvt] {
    background: linear-gradient(90deg, rgba(37,140,251,0.04) 0%, #ffffff 100%);
    border-color: var(--theme-color, #258cfb);
    box-shadow: 0 4px 12px rgba(37,140,251,0.15);
    transform: translateX(4px);
}

.task-item.task-completed[b-g12o5vgdvt] {
    opacity: 0.6;
    background: linear-gradient(to right, #f8f9fa 0%, #f1f3f5 100%);
}

.task-item.task-completed:hover[b-g12o5vgdvt] { opacity: 0.8; }

.task-content[b-g12o5vgdvt] { width: 100%; }

.task-title[b-g12o5vgdvt] {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.task-title i[b-g12o5vgdvt] { color: var(--theme-color, #258cfb); }

.task-completed .task-title[b-g12o5vgdvt] {
    text-decoration: line-through;
    color: #6c757d;
}

.task-meta[b-g12o5vgdvt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.task-description[b-g12o5vgdvt] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f2f5;
    line-height: 1.6;
    color: #6c757d;
    font-size: 0.85rem;
}

/* ── Badges ──────────────────────────────────────────────────────── */
.badge[b-g12o5vgdvt] {
    padding: 0.35em 0.75em !important;
    font-weight: 600;
    font-size: 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ── Due date text ───────────────────────────────────────────────── */
.text-danger.fw-bold[b-g12o5vgdvt] {
    font-weight: 700 !important;
    background: #fff5f5;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}

.text-warning.fw-bold[b-g12o5vgdvt] {
    font-weight: 700 !important;
    background: #fff8e1;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}

/* ── Modal backdrop ──────────────────────────────────────────────── */
.ut-modal-backdrop[b-g12o5vgdvt] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.48);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: ut-fade-in-b-g12o5vgdvt 0.15s ease;
}

@keyframes ut-fade-in-b-g12o5vgdvt {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Modal shell ─────────────────────────────────────────────────── */
.ut-modal[b-g12o5vgdvt] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.12);
    width: 100%;
    max-width: 460px;
    animation: ut-slide-up-b-g12o5vgdvt 0.22s cubic-bezier(0.34,1.56,0.64,1);
    overflow: hidden;
}

@keyframes ut-slide-up-b-g12o5vgdvt {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Modal header ────────────────────────────────────────────────── */
.ut-modal-header[b-g12o5vgdvt] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%);
}

.ut-modal-header-icon[b-g12o5vgdvt] {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.ut-modal-title[b-g12o5vgdvt] {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.ut-modal-subtitle[b-g12o5vgdvt] {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.72);
    margin-top: 0.1rem;
}

.ut-modal-close[b-g12o5vgdvt] {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.ut-modal-close:hover[b-g12o5vgdvt] { background: rgba(255,255,255,0.26); }

/* ── Modal body ──────────────────────────────────────────────────── */
.ut-modal-body[b-g12o5vgdvt] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Form fields ─────────────────────────────────────────────────── */
.ut-field[b-g12o5vgdvt] {
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid #f0f2f5;
}

.ut-field-last[b-g12o5vgdvt] {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.ut-label[b-g12o5vgdvt] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
}

.ut-required[b-g12o5vgdvt] {
    color: #ef4444;
    margin-left: 0.2rem;
}

.ut-optional[b-g12o5vgdvt] {
    font-weight: 400;
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 0.35rem;
}

.ut-input[b-g12o5vgdvt] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    font-size: 0.875rem;
    color: #1f2937;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-sizing: border-box;
}

.ut-input:focus[b-g12o5vgdvt] {
    border-color: #1b6ec2;
    background: white;
    box-shadow: 0 0 0 3px rgba(27,110,194,0.12);
}

.ut-input-error[b-g12o5vgdvt] {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}

.ut-textarea[b-g12o5vgdvt] {
    resize: vertical;
    min-height: 64px;
}

.ut-select[b-g12o5vgdvt] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.ut-error-msg[b-g12o5vgdvt] {
    font-size: 0.76rem;
    color: #ef4444;
    margin-top: 0.35rem;
}

.ut-loading-row[b-g12o5vgdvt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    padding: 0.5rem 0;
}

.ut-app-hint[b-g12o5vgdvt] {
    font-size: 0.75rem;
    color: #1b6ec2;
    margin-top: 0.4rem;
    background: #eff6ff;
    border-radius: 7px;
    padding: 0.35rem 0.65rem;
}

/* ── Modal footer ────────────────────────────────────────────────── */
.ut-modal-footer[b-g12o5vgdvt] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f2f5;
    background: #f9fafb;
}

.ut-btn-cancel[b-g12o5vgdvt] {
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ut-btn-cancel:hover[b-g12o5vgdvt] {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.ut-btn-save[b-g12o5vgdvt] {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 2px 8px rgba(13,71,161,0.3);
}

.ut-btn-save:hover[b-g12o5vgdvt] {
    background: linear-gradient(135deg, #1a65b5 0%, #0b3d91 100%);
    box-shadow: 0 4px 14px rgba(13,71,161,0.4);
    transform: translateY(-1px);
}

.ut-btn-save:active[b-g12o5vgdvt] { transform: scale(0.97); }

.ut-btn-save:disabled[b-g12o5vgdvt],
.ut-btn-cancel:disabled[b-g12o5vgdvt] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .card-header[b-g12o5vgdvt] { padding: 1rem !important; }

    .header-title[b-g12o5vgdvt] { gap: 0.75rem; }

    .icon-wrapper[b-g12o5vgdvt] {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        border-radius: 10px;
    }

    .task-count-badge[b-g12o5vgdvt], .ut-add-btn[b-g12o5vgdvt] {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        border-radius: 9px;
    }

    .header-title h6[b-g12o5vgdvt] { font-size: 0.9rem; }
    .header-title small[b-g12o5vgdvt] { font-size: 0.7rem; }
    .card-body[b-g12o5vgdvt] { padding: 1rem !important; }
    .task-item[b-g12o5vgdvt] { padding: 0.875rem 1rem; }
    .task-title[b-g12o5vgdvt] { font-size: 0.9rem; }
    .task-meta[b-g12o5vgdvt] { gap: 0.5rem; }
    .task-item:hover[b-g12o5vgdvt] { transform: none; }

    .ut-modal[b-g12o5vgdvt] { border-radius: 16px; }
    .ut-modal-body[b-g12o5vgdvt] { padding: 1.25rem; }
    .ut-modal-footer[b-g12o5vgdvt] { padding: 0.875rem 1.25rem; }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-6v7jdr9c1e] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6v7jdr9c1e] {
    flex: 1;
}

.sidebar[b-6v7jdr9c1e] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-6v7jdr9c1e] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6v7jdr9c1e]  a, .top-row .btn-link[b-6v7jdr9c1e] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-6v7jdr9c1e] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-6v7jdr9c1e] {
        display: none;
    }

    .top-row.auth[b-6v7jdr9c1e] {
        justify-content: space-between;
    }

    .top-row a[b-6v7jdr9c1e], .top-row .btn-link[b-6v7jdr9c1e] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6v7jdr9c1e] {
        flex-direction: row;
    }

    .sidebar[b-6v7jdr9c1e] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6v7jdr9c1e] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-6v7jdr9c1e], article[b-6v7jdr9c1e] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8ksxuygt35] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-8ksxuygt35] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-8ksxuygt35] {
    font-size: 1.1rem;
}

.oi[b-8ksxuygt35] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-8ksxuygt35] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-8ksxuygt35] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-8ksxuygt35] {
        padding-bottom: 1rem;
    }

    .nav-item[b-8ksxuygt35]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-8ksxuygt35]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-8ksxuygt35]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-item[b-8ksxuygt35]  a.nav-link-admin {
    color: #ffc107;
    border-left: 3px solid #ffc107;
    padding-left: calc(0.75rem - 3px);
}

.nav-item[b-8ksxuygt35]  a.nav-link-admin:hover {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffe083;
}

.nav-item[b-8ksxuygt35]  a.nav-link-admin.active {
    background-color: rgba(255, 193, 7, 0.25);
    color: #fff;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8ksxuygt35] {
        display: none;
    }

    .collapse[b-8ksxuygt35] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-8ksxuygt35] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Company sub-menu group */
.nav-group-toggle[b-8ksxuygt35] {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    transition: background-color 0.15s ease;
}

.nav-group-toggle:hover[b-8ksxuygt35] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-group-toggle.active[b-8ksxuygt35],
.nav-group-expanded .nav-group-toggle[b-8ksxuygt35] {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-group-chevron[b-8ksxuygt35] {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-sub-items[b-8ksxuygt35] {
    padding-left: 0.75rem;
}

.nav-sub-link[b-8ksxuygt35] {
    height: 2.6rem !important;
    font-size: 0.85rem !important;
    padding-left: 0.5rem !important;
    color: #b0b0b0 !important;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 4px 4px 0 !important;
}

.nav-sub-link:hover[b-8ksxuygt35] {
    color: white !important;
    border-left-color: rgba(255, 255, 255, 0.5);
}

.nav-sub-link.active[b-8ksxuygt35] {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-left-color: white;
}
/* /Shared/RecentApplications.razor.rz.scp.css */
/* Modern card styling */
.modern-card[b-hrfhvkuamh] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* Modern header with glass morphism effect */
.card-header[b-hrfhvkuamh] {
    background: linear-gradient(135deg, #1b6ec2 0%, #0d47a1 100%) !important;
    border-bottom: none !important;
    padding: 1.25rem 1.5rem !important;
    color: white !important;
    position: relative;
}

.card-header[b-hrfhvkuamh]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.header-title[b-hrfhvkuamh] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper[b-hrfhvkuamh] {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-title h6[b-hrfhvkuamh] {
    color: white !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.header-title small[b-hrfhvkuamh] {
    font-size: 0.75rem;
    opacity: 0.9;
}

.btn-light-custom[b-hrfhvkuamh] {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-light-custom:hover[b-hrfhvkuamh] {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-body[b-hrfhvkuamh] {
    padding: 1.5rem !important;
    background: white;
}

/* Modern table styling */
.table-sm[b-hrfhvkuamh] {
    font-size: 0.875rem;
}

.table-sm thead th[b-hrfhvkuamh] {
    padding: 0.75rem 0.5rem !important;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef !important;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.table-sm tbody td[b-hrfhvkuamh] {
    padding: 0.875rem 0.5rem !important;
    vertical-align: middle;
    border-bottom: 1px solid #f0f2f5;
}

.table-sm tbody tr:last-child td[b-hrfhvkuamh] {
    border-bottom: none;
}

/* Enhanced row hover effects */
.cursor-pointer[b-hrfhvkuamh] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.cursor-pointer:hover[b-hrfhvkuamh] {
    background: linear-gradient(90deg, rgba(37, 140, 251, 0.06) 0%, rgba(37, 140, 251, 0.02) 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Primary text color matches theme */
.text-primary[b-hrfhvkuamh] {
    color: var(--theme-color, #258cfb) !important;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Modern badge styling */
.badge[b-hrfhvkuamh] {
    padding: 0.35em 0.75em !important;
    font-weight: 600;
    font-size: 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Icon styling */
.bi[b-hrfhvkuamh] {
    vertical-align: middle;
}

/* Loading and empty states */
.text-center.py-4[b-hrfhvkuamh] {
    padding: 3rem 1rem !important;
}

.spinner-border-sm[b-hrfhvkuamh] {
    width: 1.5rem;
    height: 1.5rem;
}

.bi-inbox[b-hrfhvkuamh] {
    color: #dee2e6;
    font-size: 2.5rem;
}

/* Text truncation */
.text-truncate[b-hrfhvkuamh] {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status badge colors with modern look */
.bg-info[b-hrfhvkuamh] {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.bg-warning[b-hrfhvkuamh] {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #212529 !important;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.bg-primary[b-hrfhvkuamh] {
    background: linear-gradient(135deg, #258cfb 0%, #1b6ec2 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(37, 140, 251, 0.3);
}

.bg-secondary[b-hrfhvkuamh] {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.bg-success[b-hrfhvkuamh] {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .card-header[b-hrfhvkuamh] {
        padding: 1rem !important;
    }

    .header-title[b-hrfhvkuamh] {
        gap: 0.75rem;
    }

    .icon-wrapper[b-hrfhvkuamh] {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        border-radius: 10px;
    }

    .header-title h6[b-hrfhvkuamh] {
        font-size: 0.9rem;
    }

    .header-title small[b-hrfhvkuamh] {
        font-size: 0.7rem;
    }

    .card-body[b-hrfhvkuamh] {
        padding: 1rem !important;
    }

    .table-sm[b-hrfhvkuamh] {
        font-size: 0.85rem;
    }

    .table-sm thead th[b-hrfhvkuamh],
    .table-sm tbody td[b-hrfhvkuamh] {
        padding: 0.6rem 0.4rem !important;
    }

    .text-truncate[b-hrfhvkuamh] {
        max-width: 100px !important;
    }

    .btn-light-custom span[b-hrfhvkuamh] {
        display: none;
    }

    .btn-light-custom[b-hrfhvkuamh] {
        padding: 0.5rem 0.75rem;
    }
}
/* /Shared/TemplateEditor.razor.rz.scp.css */
.tag-search-wrapper[b-5g5agzaxiz] {
    position: relative;
}
/* /Shared/WorkflowComp.razor.rz.scp.css */
/* Workflow Container */
.workflow-container[b-x53eessmyh] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Compact Workflow Card */
.workflow-compact-card[b-x53eessmyh] {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.workflow-compact-card:hover[b-x53eessmyh] {
    border-color: #1b6ec2;
    box-shadow: 0 2px 8px rgba(27, 110, 194, 0.1);
}

.workflow-compact-card.expanded[b-x53eessmyh] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.compact-header[b-x53eessmyh] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Compact Stats */
.compact-stats[b-x53eessmyh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-badge[b-x53eessmyh] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stat-badge i[b-x53eessmyh] {
    font-size: 0.875rem;
}

.stat-badge-required[b-x53eessmyh] {
    background: #fff5f5;
    color: #dc3545;
    border: 1px solid #ffc7c7;
}

.stat-badge-required:hover[b-x53eessmyh] {
    background: #ffe5e5;
}

.stat-badge-pending[b-x53eessmyh] {
    background: #f0f7ff;
    color: #1b6ec2;
    border: 1px solid #c7e0ff;
}

.stat-badge-pending:hover[b-x53eessmyh] {
    background: #e0f0ff;
}

.stat-badge-completed[b-x53eessmyh] {
    background: #f0fff4;
    color: #28a745;
    border: 1px solid #c3f0d1;
}

.stat-badge-completed:hover[b-x53eessmyh] {
    background: #dfffeb;
}

/* Compact Progress Circle */
.compact-progress[b-x53eessmyh] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.compact-progress svg[b-x53eessmyh] {
    transform: rotate(-90deg);
}

/* Live Action Buttons */
.live-actions[b-x53eessmyh] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.live-action-btn[b-x53eessmyh] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1.5px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.live-action-btn:disabled[b-x53eessmyh] {
    opacity: 0.5;
    cursor: not-allowed;
}

.live-action-btn i[b-x53eessmyh] {
    font-size: 0.8rem;
}

.live-action-extend[b-x53eessmyh] {
    color: #198754;
    border-color: #198754;
}

.live-action-extend:hover:not(:disabled)[b-x53eessmyh] {
    background: #198754;
    color: #fff;
}

.live-action-redeem[b-x53eessmyh] {
    color: #fd7e14;
    border-color: #fd7e14;
}

.live-action-redeem:hover:not(:disabled)[b-x53eessmyh] {
    background: #fd7e14;
    color: #fff;
}

.live-action-advance[b-x53eessmyh] {
    color: #0dcaf0;
    border-color: #0dcaf0;
}

.live-action-advance:hover:not(:disabled)[b-x53eessmyh] {
    background: #0dcaf0;
    color: #fff;
}

.live-action-partial[b-x53eessmyh] {
    color: #6c757d;
    border-color: #6c757d;
}

.live-action-partial:hover:not(:disabled)[b-x53eessmyh] {
    background: #6c757d;
    color: #fff;
}

.progress-bg[b-x53eessmyh] {
    opacity: 0.3;
}

.progress-fill[b-x53eessmyh] {
    transition: stroke-dasharray 0.6s ease;
}

/* Expand Button */
.btn-expand[b-x53eessmyh] {
    background: transparent;
    border: none;
    color: #6c757d;
    padding: 0.25rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-expand:hover[b-x53eessmyh] {
    background: #f8f9fa;
    color: #1b6ec2;
}

.btn-expand i[b-x53eessmyh] {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Expanded Content */
.workflow-expanded-content[b-x53eessmyh] {
    background: white;
    border: 1px solid #e9ecef;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 1rem;
    animation: slideDown-b-x53eessmyh 0.3s ease;
}

@keyframes slideDown-b-x53eessmyh {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tasks Section */
.tasks-header[b-x53eessmyh] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
}

/* Compact Task List */
.task-list.compact[b-x53eessmyh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.task-card-compact[b-x53eessmyh] {
    padding: 0.625rem 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fafbfc;
    border-left: 3px solid transparent;
}

.task-card-compact:hover[b-x53eessmyh] {
    border-color: #1b6ec2;
    border-left-color: #1b6ec2;
    background: white;
    box-shadow: 0 1px 4px rgba(27, 110, 194, 0.1);
}

.task-card-compact.required[b-x53eessmyh] {
    border-left-color: #dc3545;
    background: #fff9f9;
}

.task-card-compact.required:hover[b-x53eessmyh] {
    border-left-color: #dc3545;
    background: white;
    box-shadow: 0 1px 4px rgba(220, 53, 69, 0.1);
}

.task-checkbox-compact[b-x53eessmyh] {
    width: 18px;
    height: 18px;
    border: 2px solid #6c757d;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.task-checkbox-compact:hover[b-x53eessmyh] {
    border-color: #1b6ec2;
    transform: scale(1.1);
}

.task-checkbox-compact:checked[b-x53eessmyh] {
    background-color: #28a745;
    border-color: #28a745;
}

.task-title-compact[b-x53eessmyh] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.task-badges[b-x53eessmyh] {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.badge-compact[b-x53eessmyh] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.badge-compact:hover[b-x53eessmyh] {
    transform: scale(1.1);
}

.badge-required[b-x53eessmyh] {
    background: #fff5f5;
    color: #dc3545;
    border: 1px solid #ffc7c7;
}

.badge-auto[b-x53eessmyh] {
    background: #f0fff4;
    color: #28a745;
    border: 1px solid #c3f0d1;
}

.badge-approval[b-x53eessmyh] {
    background: #f0f7ff;
    color: #1b6ec2;
    border: 1px solid #c7e0ff;
}

/* Completed Tasks Modal */
.completed-tasks-list[b-x53eessmyh] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.completed-tasks-list[b-x53eessmyh]::-webkit-scrollbar {
    width: 6px;
}

.completed-tasks-list[b-x53eessmyh]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.completed-tasks-list[b-x53eessmyh]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.completed-tasks-list[b-x53eessmyh]::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.completed-task-item[b-x53eessmyh] {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: linear-gradient(to right, #f8fff9 0%, #ffffff 100%);
    transition: all 0.2s ease;
}

.completed-task-item:hover[b-x53eessmyh] {
    border-color: #28a745;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.1);
}

.completed-icon[b-x53eessmyh] {
    flex-shrink: 0;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.completed-task-item h6[b-x53eessmyh] {
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.completed-task-item .small[b-x53eessmyh] {
    color: #6c757d;
}

/* Modal Enhancements */
.modal-header.bg-success[b-x53eessmyh] {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
}

.modal-header h5[b-x53eessmyh] {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Loading State */
.spinner-border-sm[b-x53eessmyh] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .compact-header[b-x53eessmyh] {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .compact-stats[b-x53eessmyh] {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .stat-badge[b-x53eessmyh] {
        flex: 1;
        justify-content: center;
    }

    .compact-progress[b-x53eessmyh] {
        width: 28px;
    }

    .compact-progress svg[b-x53eessmyh] {
        width: 28px;
        height: 28px;
    }

    .task-card-compact[b-x53eessmyh] {
        padding: 0.5rem 0.625rem;
    }

    .task-title-compact[b-x53eessmyh] {
        font-size: 0.8125rem;
    }

    .badge-compact[b-x53eessmyh] {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .workflow-compact-card[b-x53eessmyh] {
        padding: 0.625rem 0.75rem;
        border-radius: 8px;
    }

    .workflow-expanded-content[b-x53eessmyh] {
        padding: 0.75rem;
        border-radius: 0 0 8px 8px;
    }

    .stat-badge span[b-x53eessmyh] {
        display: none;
    }

    .stat-badge i[b-x53eessmyh] {
        font-size: 1rem;
    }

    .task-badges[b-x53eessmyh] {
        flex-direction: column;
    }

    .compact-progress[b-x53eessmyh] {
        display: none;
    }
}
