Files
cbsnexora/src/app/home/dashboard/cic-dqr-dialog/cic-dqr-dialog.component.scss
T
AdityaandClaude Opus 4.7 12bfc81219 feat: add 11 banking compliance & accounting report modules
Adds dialog components and feature modules for RBI/banking compliance,
KYC, and accounting reports. Wires them into the shell menu (RBI,
General Ledger, CKYC Mgmt, Others, Insurance) and dashboard cards.

Dialog components (lazy-loaded MatDialog):
- PSL Returns (Form III) — dashboard card + RBI menu
- ALM Statement of Structural Liquidity (Form ALM-1) — RBI menu
- CIMS / XBRL Returns (OSS-2 / PSA / RAL / RCP-UCB) — RBI menu, shared
  dialog with form-pill switcher
- CIC DQR (CIBIL / Experian / Equifax / CRIF, 72-col TUDF) — Others menu
  + dashboard card
- CKYC Compliance Reports (Re-KYC / Risk Review / CERSAI) — CKYC Mgmt
- Accounting Reports (P&L / Balance Sheet / Comparative B/S / GL DR/CR
  / Misc Expense Ledger) — General Ledger menu

Feature modules (Route.withShell):
- DEAF (/deaf): Form I, Form II, Annex 4, accounts register
- DICGC (/dicgc): Slab Report, SAHAY Depositor List
- FIU-IND (/fiu): FINnet 2.0 Statement of Financial Transactions
- SFT (/sft): Income Tax Section 285BA SFT
- CKYC Reports (/ckyc/ckyc-reports): standalone dashboard

UI:
- Theme-colored icons on 22 wired menu links across 5 menus —
  visually distinguishes wired (colored) from placeholder (gray) links.
- Backdrop classes per dialog in main.scss.

All using dummy data (Bharat Urban Bank Ltd, Karthik Kamath as Principal
Officer, dummy customer names) — no real bank or customer references.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 18:59:50 +05:30

529 lines
8.3 KiB
SCSS

/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
:host {
--cic-good: #15803d;
--cic-good-l: #dcfce7;
--cic-mid: #d97706;
--cic-mid-l: #fef3c7;
--cic-low: #c0392b;
--cic-low-l: #fdecea;
--cic-purple: #6d28d9;
--cic-purple-l: #ede9fe;
--cic-g50: #f8fafc;
--cic-g100: #f1f5f9;
--cic-g200: #e2e8f0;
--cic-g300: #cbd5e1;
--cic-g500: #64748b;
--cic-g700: #334155;
--cic-g900: #0f172a;
display: block;
font-family:
'DM Sans',
system-ui,
-apple-system,
sans-serif;
color: var(--cic-g900);
}
.cic-dlg {
background: #fff;
border-radius: 14px;
display: flex;
flex-direction: column;
overflow: hidden;
max-height: 90vh;
}
/* HEADER */
.cic-head {
padding: 18px 22px;
border-bottom: 1px solid var(--cic-g200);
display: flex;
align-items: center;
gap: 16px;
flex-shrink: 0;
background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
}
.cic-head-left {
display: flex;
align-items: center;
gap: 14px;
flex: 1;
}
.cic-head-ic {
width: 44px;
height: 44px;
border-radius: 11px;
background: var(--cic-purple-l);
color: var(--cic-purple);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
flex-shrink: 0;
}
.cic-title {
margin: 0;
font-size: 17px;
font-weight: 700;
color: var(--cic-g900);
}
.cic-sub {
margin: 2px 0 0;
font-size: 12px;
color: var(--cic-g500);
}
.cic-head-actions {
display: flex;
align-items: center;
gap: 10px;
}
.cic-btn-ghost {
font-size: 12px !important;
height: 36px !important;
}
.cic-close {
width: 32px;
height: 32px;
border-radius: 8px;
border: 1px solid var(--cic-g200);
background: #fff;
font-size: 14px;
color: var(--cic-g500);
cursor: pointer;
transition: all 0.15s;
&:hover {
background: var(--cic-g100);
color: var(--cic-g900);
}
}
/* TABS */
.cic-tabs {
display: flex;
gap: 0;
background: var(--cic-g50);
border-bottom: 1px solid var(--cic-g200);
padding: 0 22px;
overflow-x: auto;
flex-shrink: 0;
}
.cic-tab {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 16px;
border: none;
background: transparent;
cursor: pointer;
font-family: inherit;
border-bottom: 2px solid transparent;
transition: all 0.15s;
white-space: nowrap;
&:hover {
background: rgb(255 255 255 / 50%);
}
&.active {
background: #fff;
border-bottom-color: var(--cic-purple);
}
}
.cic-tab-logo {
width: 28px;
height: 28px;
border-radius: 6px;
flex-shrink: 0;
}
.cic-tab-name {
font-size: 13px;
font-weight: 600;
color: var(--cic-g700);
}
.cic-tab-pct {
font-size: 11px;
font-weight: 700;
padding: 2px 8px;
border-radius: 999px;
&.good {
background: var(--cic-good-l);
color: var(--cic-good);
}
&.moderate {
background: var(--cic-mid-l);
color: var(--cic-mid);
}
&.low {
background: var(--cic-low-l);
color: var(--cic-low);
}
}
/* BODY */
.cic-body {
padding: 18px 22px;
display: flex;
flex-direction: column;
gap: 18px;
overflow: auto;
flex: 1;
}
/* TOP STAT CARDS */
.cic-stats {
display: grid;
grid-template-columns: 220px 1fr 1fr 1.4fr;
gap: 14px;
}
.cic-stat-card {
background: #fff;
border: 1px solid var(--cic-g200);
border-radius: 12px;
padding: 14px 16px;
display: flex;
flex-direction: column;
gap: 4px;
box-shadow: 0 1px 3px rgb(0 0 0 / 4%);
}
.cic-stat-l {
font-size: 11px;
font-weight: 600;
color: var(--cic-g500);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.cic-stat-v {
font-size: 18px;
font-weight: 700;
color: var(--cic-g900);
line-height: 1.2;
}
.cic-stat-meta {
font-size: 11px;
color: var(--cic-g500);
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 4px;
}
.cic-stat-gauge {
align-items: center;
justify-content: center;
}
/* GAUGE */
.gauge {
width: 140px;
height: 140px;
border-radius: 50%;
background: conic-gradient(currentcolor calc(var(--pct) * 1%), var(--cic-g100) 0);
display: flex;
align-items: center;
justify-content: center;
&.good {
color: var(--cic-good);
}
&.moderate {
color: var(--cic-mid);
}
&.low {
color: var(--cic-low);
}
}
.gauge-inner {
width: 108px;
height: 108px;
border-radius: 50%;
background: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: inset 0 0 0 1px var(--cic-g200);
}
.gauge-pct {
font-size: 22px;
font-weight: 700;
color: var(--cic-g900);
line-height: 1;
}
.gauge-label {
font-size: 10px;
color: var(--cic-g500);
margin-top: 2px;
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 600;
}
/* STATUS PILL */
.status-pill {
display: inline-block;
padding: 3px 10px;
font-size: 11px;
font-weight: 600;
border-radius: 999px;
&.st-good {
background: var(--cic-good-l);
color: var(--cic-good);
}
&.st-mid {
background: var(--cic-mid-l);
color: var(--cic-mid);
}
&.st-low {
background: var(--cic-low-l);
color: var(--cic-low);
}
}
/* MINI BADGES IN STAT META */
.badge {
display: inline-block;
padding: 2px 8px;
border-radius: 999px;
font-size: 10px;
font-weight: 600;
&.ok {
background: var(--cic-good-l);
color: var(--cic-good);
}
&.warn {
background: var(--cic-mid-l);
color: var(--cic-mid);
}
&.err {
background: var(--cic-low-l);
color: var(--cic-low);
}
}
/* SECTIONS */
.cic-section {
background: #fff;
border: 1px solid var(--cic-g200);
border-radius: 12px;
padding: 16px 18px;
box-shadow: 0 1px 3px rgb(0 0 0 / 4%);
}
.cic-sec-h {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
margin-bottom: 12px;
}
.cic-sec-t {
margin: 0 0 12px;
font-size: 14px;
font-weight: 700;
color: var(--cic-g700);
}
.cic-sec-h .cic-sec-t {
margin-bottom: 0;
}
.cic-btn-xls {
font-size: 12px !important;
height: 34px !important;
color: #fff !important;
background: #16a34a !important;
}
/* SUB-DQR BARS */
.cic-bars {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px 24px;
}
.cic-bar-h {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
}
.cic-bar-l {
font-size: 12px;
color: var(--cic-g700);
font-weight: 500;
}
.cic-bar-p {
font-size: 12px;
font-weight: 700;
&.good {
color: var(--cic-good);
}
&.moderate {
color: var(--cic-mid);
}
&.low {
color: var(--cic-low);
}
}
.cic-bar-track {
height: 7px;
background: var(--cic-g100);
border-radius: 4px;
overflow: hidden;
}
.cic-bar-fill {
height: 100%;
border-radius: 4px;
transition: width 0.3s ease-out;
&.good {
background: var(--cic-good);
}
&.moderate {
background: var(--cic-mid);
}
&.low {
background: var(--cic-low);
}
}
/* ERRORS TABLE */
.cic-tbl-wrap {
border: 1px solid var(--cic-g200);
border-radius: 8px;
overflow: hidden;
}
.cic-tbl {
width: 100%;
border-collapse: collapse;
th {
text-align: left;
padding: 10px 14px;
font-size: 11px;
font-weight: 600;
color: var(--cic-g500);
text-transform: uppercase;
letter-spacing: 0.05em;
background: var(--cic-g50);
border-bottom: 1px solid var(--cic-g200);
}
td {
padding: 10px 14px;
border-bottom: 1px solid var(--cic-g100);
font-size: 13px;
color: var(--cic-g700);
}
tr:last-child td {
border-bottom: none;
}
tr:hover td {
background: var(--cic-g50);
}
}
.ta-c {
text-align: center;
}
.ta-r {
text-align: right;
}
.mono {
font-family: 'DM Mono', monospace;
font-size: 12px;
}
.sev {
display: inline-block;
padding: 2px 9px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
&.sev-critical {
background: var(--cic-low-l);
color: var(--cic-low);
}
&.sev-warning {
background: var(--cic-mid-l);
color: var(--cic-mid);
}
&.sev-info {
background: #e0e7ff;
color: #4338ca;
}
}
/* RESPONSIVE */
@media (width <= 1100px) {
.cic-stats {
grid-template-columns: 1fr 1fr;
}
.cic-bars {
grid-template-columns: 1fr;
}
}
@media (width <= 700px) {
.cic-stats {
grid-template-columns: 1fr;
}
}