/* /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/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/UserTasks.razor.rz.scp.css */
/* Modern card styling */
.modern-card[b-g12o5vgdvt] {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

/* Modern header with glass morphism effect */
.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;
    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-g12o5vgdvt] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.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;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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.9;
}

.task-count-badge[b-g12o5vgdvt] {
    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;
}

.card-body[b-g12o5vgdvt] {
    padding: 1.5rem !important;
    background: white;
}

/* Task list styling */
.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.25s 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: all 0.25s 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);
    margin-right: 0.5rem;
}

.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;
}

/* Modern badge styling */
.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 colors */
.text-danger.fw-bold[b-g12o5vgdvt] {
    font-weight: 700 !important;
    background: #fff5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.text-warning.fw-bold[b-g12o5vgdvt] {
    font-weight: 700 !important;
    background: #fff8e1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Status badge colors with modern look */
.bg-secondary[b-g12o5vgdvt] {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
    color: white !important;
}

.bg-primary[b-g12o5vgdvt] {
    background: linear-gradient(135deg, #258cfb 0%, #1b6ec2 100%) !important;
    color: white !important;
}

.bg-success[b-g12o5vgdvt] {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    color: white !important;
}

.bg-dark[b-g12o5vgdvt] {
    background: linear-gradient(135deg, #343a40 0%, #23272b 100%) !important;
    color: white !important;
}

/* Loading and empty states */
.text-center.py-4[b-g12o5vgdvt] {
    padding: 3rem 1.5rem !important;
}

.spinner-border-sm[b-g12o5vgdvt] {
    width: 1.5rem;
    height: 1.5rem;
}

.bi-check-circle[b-g12o5vgdvt] {
    color: #28a745;
    font-size: 3rem;
}

/* Responsive design */
@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] {
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .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: translateX(2px);
    }
}
/* /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;
}

@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;
    }
}
