/** * 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/. */ // ── Design tokens ───────────────────────────────────────────────────────────── :host { --c-bg: #f0f2f8; --c-surface: #fff; --c-border: #e2e8f0; --c-text-1: #0f172a; --c-text-2: #475569; --c-text-3: #94a3b8; --c-primary: #4f46e5; --c-primary-h: #6366f1; --c-dr: #ef4444; --c-dr-bg: #fef2f2; --c-cr: #10b981; --c-cr-bg: #ecfdf5; --c-opening: #6366f1; --c-closing: #0891b2; --c-net-pos: #10b981; --c-net-neg: #ef4444; --c-warn: #f59e0b; --c-purple: #7c3aed; --shadow-sm: 0 1px 3px rgb(0 0 0 / 8%), 0 1px 2px rgb(0 0 0 / 5%); --shadow-md: 0 4px 12px rgb(0 0 0 / 8%), 0 2px 4px rgb(0 0 0 / 4%); --shadow-lg: 0 10px 30px rgb(0 0 0 / 10%); --radius-sm: 6px; --radius-md: 12px; --radius-lg: 16px; --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1); } // ── HERO ────────────────────────────────────────────────────────────────────── .gl-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; min-height: 120px; &__bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 70%, #6366f1 100%); &::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); } } &__content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 28px 32px; gap: 20px; flex-wrap: wrap; } &__left { display: flex; align-items: center; gap: 18px; } &__icon-wrap { position: relative; width: 56px; height: 56px; background: rgb(255 255 255 / 15%); border-radius: 16px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / 20%); flex-shrink: 0; } &__icon { font-size: 24px; color: #fff; } &__icon-pulse { position: absolute; inset: -4px; border-radius: 20px; border: 2px solid rgb(255 255 255 / 15%); animation: pulse 2.5s ease infinite; } &__text { color: #fff; } &__breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; opacity: 0.65; margin-bottom: 6px; letter-spacing: 0.03em; } &__bc-icon { font-size: 0.65rem; } &__bc-sep { font-size: 0.6rem; opacity: 0.5; } &__bc-active { opacity: 1; font-weight: 600; } &__title { margin: 0 0 6px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; } &__subtitle { margin: 0; font-size: 0.88rem; opacity: 0.7; } &__acct-pill { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; opacity: 0.9; flex-wrap: wrap; } &__acct-code { font-family: 'Courier New', monospace; font-weight: 700; font-size: 0.85rem; } &__acct-sep { opacity: 0.4; } &__acct-name { font-size: 0.85rem; } &__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } &__meta { display: flex; align-items: center; gap: 6px; color: rgb(255 255 255 / 70%); font-size: 0.78rem; background: rgb(255 255 255 / 8%); border-radius: 20px; padding: 5px 12px; border: 1px solid rgb(255 255 255 / 12%); &-icon { font-size: 0.72rem; } } } @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.08); opacity: 0.3; } } .gl-hero-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 10px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition); white-space: nowrap; &--ghost { background: rgb(255 255 255 / 12%); color: #fff; border: 1px solid rgb(255 255 255 / 25%); &:hover { background: rgb(255 255 255 / 20%); } } &--primary { background: #fff; color: var(--c-primary); box-shadow: 0 4px 12px rgb(0 0 0 / 15%); &:hover { background: #f0f2ff; transform: translateY(-1px); box-shadow: 0 6px 16px rgb(0 0 0 / 20%); } } } // ── Progress bar ────────────────────────────────────────────────────────────── .gl-progress-bar { height: 3px; background: var(--c-border); border-radius: 3px; margin-bottom: 20px; overflow: hidden; &__fill { height: 100%; background: linear-gradient(90deg, var(--c-primary), var(--c-primary-h), var(--c-cr)); animation: progress 1.4s ease infinite; width: 40%; } } @keyframes progress { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } } // ── Account strip ───────────────────────────────────────────────────────────── .gl-acct-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 0; background: var(--c-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); padding: 14px 24px; margin-bottom: 20px; overflow: hidden; &__item { display: flex; flex-direction: column; gap: 3px; padding: 0 20px; &:first-child { padding-left: 0; } &--desc { flex: 1; } } &__divider { width: 1px; height: 36px; background: var(--c-border); flex-shrink: 0; } &__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-3); font-weight: 600; } &__value { font-size: 0.88rem; color: var(--c-text-1); font-weight: 500; &--muted { color: var(--c-text-2); font-size: 0.82rem; } } } // ── GL Type pills ───────────────────────────────────────────────────────────── .gl-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; border: 1px solid transparent; &__icon { font-size: 0.68rem; } &--sm { padding: 2px 8px; font-size: 0.68rem; } &--asset { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; } &--liability { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; } &--income { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; } &--expense { background: #fef2f2; color: #991b1b; border-color: #fecaca; } &--equity { background: #fff7ed; color: #c2410c; border-color: #fed7aa; } &--default { background: #f8fafc; color: #475569; border-color: #e2e8f0; } } .gl-status { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; &--on { color: var(--c-cr); } &--off { color: var(--c-text-3); } } // ── KPI cards ───────────────────────────────────────────────────────────────── .gl-kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px; transition: opacity var(--transition); &--loading { opacity: 0.55; pointer-events: none; } @media (width <= 1400px) { grid-template-columns: repeat(3, 1fr); } @media (width <= 900px) { grid-template-columns: repeat(2, 1fr); } @media (width <= 560px) { grid-template-columns: 1fr; } } .gl-kpi { background: var(--c-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); padding: 12px 14px 0; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); overflow: hidden; position: relative; cursor: default; &:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } &__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } &__icon-box { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; } &__trend { display: inline-flex; align-items: center; gap: 3px; font-size: 0.6rem; font-weight: 700; padding: 2px 6px; border-radius: 20px; &--pos { background: #ecfdf5; color: var(--c-cr); } &--neg { background: #fef2f2; color: var(--c-dr); } &--dr { background: #fef2f2; color: var(--c-dr); } &--cr { background: #ecfdf5; color: var(--c-cr); } &--neutral { background: #f1f5f9; color: var(--c-text-3); } } &__norm-tag { font-family: 'Courier New', monospace; } &__body { flex: 1; } &__label { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text-3); font-weight: 600; margin-bottom: 2px; } &__value { font-size: 1.1rem; font-weight: 800; color: var(--c-text-1); font-family: 'Courier New', monospace; letter-spacing: -0.02em; margin-bottom: 2px; line-height: 1.2; &--dr { color: var(--c-dr); } &--cr { color: var(--c-cr); } &--pos { color: var(--c-net-pos); } &--neg { color: var(--c-net-neg); } &--count { color: var(--c-primary); } } &__caption { font-size: 0.63rem; color: var(--c-text-3); margin-bottom: 10px; } &__bar { height: 3px; margin: 0 -14px; border-radius: 0; } // Color variants &--opening { .gl-kpi__icon-box { background: linear-gradient(135deg, #6366f1, #818cf8); } .gl-kpi__bar--opening { background: linear-gradient(90deg, #6366f1, #818cf8); } } &--dr { .gl-kpi__icon-box { background: linear-gradient(135deg, #ef4444, #f87171); } .gl-kpi__bar--dr { background: linear-gradient(90deg, #ef4444, #f87171); } } &--cr { .gl-kpi__icon-box { background: linear-gradient(135deg, #10b981, #34d399); } .gl-kpi__bar--cr { background: linear-gradient(90deg, #10b981, #34d399); } } &--net { .gl-kpi__icon-box { background: linear-gradient(135deg, #7c3aed, #a78bfa); } .gl-kpi__bar--net { background: linear-gradient(90deg, #7c3aed, #a78bfa); } } &--closing { .gl-kpi__icon-box { background: linear-gradient(135deg, #0891b2, #22d3ee); } .gl-kpi__bar--closing { background: linear-gradient(90deg, #0891b2, #22d3ee); } } &--count { .gl-kpi__icon-box { background: linear-gradient(135deg, #f59e0b, #fcd34d); } .gl-kpi__bar--count { background: linear-gradient(90deg, #f59e0b, #fcd34d); } } } // ── Quick date chips ────────────────────────────────────────────────────────── .gl-quick-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; &__label { font-size: 0.75rem; font-weight: 700; color: var(--c-text-3); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; display: flex; align-items: center; gap: 5px; } &__chips { display: flex; flex-wrap: wrap; gap: 6px; } } .gl-qchip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 20px; font-size: 0.77rem; font-weight: 600; cursor: pointer; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text-2); transition: all var(--transition); &:hover { border-color: var(--c-primary); color: var(--c-primary); background: #f5f3ff; } &.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); box-shadow: 0 2px 8px rgb(79 70 229 / 35%); } &--clear { border-color: #fecaca; color: var(--c-dr); &:hover { background: var(--c-dr-bg); border-color: var(--c-dr); } } } // ── Filter panel ────────────────────────────────────────────────────────────── .gl-filter-panel { background: var(--c-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); padding: 20px 24px; margin-bottom: 24px; &__primary { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; } &__advanced { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; &--open { max-height: 200px; padding-top: 16px; margin-top: 16px; border-top: 1px dashed var(--c-border); } } &__adv-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; } } .gl-fgroup { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; max-width: 220px; &--wide { max-width: 300px; } } .gl-flabel { font-size: 0.72rem; font-weight: 700; color: var(--c-text-3); text-transform: uppercase; letter-spacing: 0.07em; display: flex; align-items: center; gap: 5px; } .gl-ffield { width: 100%; } .gl-ffield--selector { mifosx-gl-account-selector { display: block; width: 100%; } mifosx-gl-account-selector ::ng-deep mat-form-field { width: 100%; } } .gl-field-suffix-icon { color: var(--c-text-3); margin-right: 8px; font-size: 0.85rem; } .gl-filter-actions { display: flex; align-items: flex-end; gap: 8px; padding-bottom: 4px; } .gl-fab { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--c-border); background: var(--c-surface); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); position: relative; color: var(--c-text-2); &:hover { border-color: var(--c-primary); color: var(--c-primary); background: #f5f3ff; } &--adv-on { background: var(--c-primary); color: #fff; border-color: var(--c-primary); } &--reset { &:hover { border-color: var(--c-dr); color: var(--c-dr); background: var(--c-dr-bg); } } &__badge { position: absolute; top: -6px; right: -6px; background: var(--c-warn); color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 0.6rem; font-weight: 800; display: flex; align-items: center; justify-content: center; } } // ── Tip card ────────────────────────────────────────────────────────────────── .gl-tip { display: flex; align-items: flex-start; gap: 12px; background: linear-gradient(135deg, #eff6ff, #f5f3ff); border: 1px solid #bfdbfe; border-radius: var(--radius-md); padding: 14px 20px; margin-bottom: 20px; font-size: 0.85rem; color: var(--c-text-2); &__icon { color: #3b82f6; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; } &__body { line-height: 1.5; } } // ── Section header ──────────────────────────────────────────────────────────── .gl-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; &__left { display: flex; align-items: center; gap: 10px; } &__right { display: flex; align-items: center; gap: 8px; } &__dot { width: 10px; height: 10px; border-radius: 50%; &--purple { background: var(--c-purple); box-shadow: 0 0 0 3px rgb(124 58 237 / 15%); } &--blue { background: var(--c-primary); box-shadow: 0 0 0 3px rgb(79 70 229 / 15%); } } &__title { font-size: 0.95rem; font-weight: 700; color: var(--c-text-1); } &__badge { background: var(--c-primary); color: #fff; border-radius: 20px; padding: 2px 8px; font-size: 0.7rem; font-weight: 700; } } .gl-legend-pill { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.04em; &--open { background: #eef2ff; color: #4338ca; } &--dr { background: var(--c-dr-bg); color: var(--c-dr); } &--cr { background: var(--c-cr-bg); color: #065f46; } &--net { background: #f5f3ff; color: var(--c-purple); } &--close { background: #ecfeff; color: #0e7490; } } // ── Day-wise timeline table ─────────────────────────────────────────────────── .gl-timeline-section { margin-bottom: 24px; } .gl-timeline-wrap { background: var(--c-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); overflow: hidden; } .gl-tl-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; thead { background: linear-gradient(90deg, #1e1b4b, #312e81); } .gl-tl-th { padding: 8px 12px; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgb(255 255 255 / 80%); text-align: left; white-space: nowrap; &--num { text-align: right; } &--dr { color: #fca5a5; } &--cr { color: #6ee7b7; } &--close { color: #67e8f9; } &--bar { min-width: 90px; } &--ctr { text-align: center; } } .gl-tl-row { border-bottom: 1px solid #f1f5f9; transition: background var(--transition); &:hover { background: #f8f9ff; } &--first td { font-weight: 500; } &--last { border-bottom: none; } } .gl-tl-footer { background: #f8fafc; border-top: 2px solid var(--c-border); &__label { font-weight: 700; padding: 7px 12px; color: var(--c-text-1); font-size: 0.74rem; } } } .gl-tl-date { padding: 7px 12px; &__inner { display: flex; align-items: center; gap: 8px; } &__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; &--up { background: var(--c-cr); box-shadow: 0 0 0 2px rgb(16 185 129 / 20%); } &--down { background: var(--c-dr); box-shadow: 0 0 0 2px rgb(239 68 68 / 20%); } } &__text { font-size: 0.75rem; font-weight: 600; color: var(--c-text-1); white-space: nowrap; } } .gl-tl-num { padding: 7px 12px; text-align: right; font-family: 'Courier New', monospace; font-size: 0.75rem; color: var(--c-text-2); white-space: nowrap; &--dr { color: var(--c-dr); font-weight: 600; } &--cr { color: var(--c-cr); font-weight: 600; } &--pos { color: var(--c-cr); font-weight: 600; } &--neg { color: var(--c-dr); font-weight: 600; } &--close { color: #0891b2; font-weight: 600; } } .gl-tl-nil { color: var(--c-text-3); font-size: 0.7rem; } .gl-tl-bar-cell { padding: 7px 12px; } .gl-minibar { height: 8px; background: #f1f5f9; border-radius: 4px; display: flex; overflow: hidden; gap: 2px; min-width: 120px; &__dr { height: 100%; background: linear-gradient(90deg, #ef4444, #f87171); border-radius: 4px 0 0 4px; min-width: 0; transition: flex 0.5s ease; } &__cr { height: 100%; background: linear-gradient(90deg, #10b981, #34d399); border-radius: 0 4px 4px 0; min-width: 0; transition: flex 0.5s ease; } } .gl-tl-net-icon { font-size: 0.65rem; margin-right: 2px; } .gl-tl-ctr { text-align: center; padding: 7px 12px; } .gl-tl-badge { background: #eef2ff; color: var(--c-primary); border-radius: 8px; padding: 1px 7px; font-size: 0.65rem; font-weight: 700; &--total { background: var(--c-primary); color: #fff; } } // ── Entries section ─────────────────────────────────────────────────────────── .gl-entries-section { margin-top: 24px; } .gl-entries-totals { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; &__dr { display: flex; align-items: center; gap: 5px; color: var(--c-dr); font-weight: 600; } &__cr { display: flex; align-items: center; gap: 5px; color: var(--c-cr); font-weight: 600; } &__sep { width: 1px; height: 16px; background: var(--c-border); } } .gl-table-shell { background: var(--c-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); overflow: auto; max-height: 620px; } .gl-mat-table { width: 100%; .gl-header-row { background: #fafafa; border-bottom: 2px solid var(--c-border); } .gl-th { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text-3); padding: 7px 10px; &--num { text-align: right !important; } } .gl-data-row { border-bottom: 1px solid #f8fafc; transition: background var(--transition); &:hover { background: #f8f9ff !important; } &--dr { border-left: 3px solid rgb(239 68 68 / 25%) !important; } &--cr { border-left: 3px solid rgb(16 185 129 / 25%) !important; } } .gl-td { padding: 5px 10px !important; vertical-align: middle !important; font-size: 0.74rem; &--num { text-align: right !important; } } ::ng-deep .mat-column-id { width: 56px; min-width: 56px; flex: 0 0 56px; } ::ng-deep .mat-column-transactionDate { width: 95px; min-width: 95px; flex: 0 0 95px; } ::ng-deep .mat-column-transactionId { width: 80px; min-width: 80px; flex: 0 0 80px; } ::ng-deep .mat-column-savingsAccountNo { width: 130px; min-width: 130px; flex: 0 0 130px; } ::ng-deep .mat-column-officeName { width: 110px; min-width: 110px; flex: 0 0 110px; } ::ng-deep .mat-column-glAccountCode { width: 65px; min-width: 65px; flex: 0 0 65px; } ::ng-deep .mat-column-glAccountName { width: 160px; min-width: 160px; flex: 1 1 160px; } ::ng-deep .mat-column-glAccountType { width: 85px; min-width: 85px; flex: 0 0 85px; } ::ng-deep .mat-column-entryType { width: 65px; min-width: 65px; flex: 0 0 65px; } ::ng-deep .mat-column-debit { width: 95px; min-width: 95px; flex: 0 0 95px; } ::ng-deep .mat-column-credit { width: 95px; min-width: 95px; flex: 0 0 95px; } ::ng-deep .mat-column-runningBalance { width: 95px; min-width: 95px; flex: 0 0 95px; } ::ng-deep .mat-column-manualEntry { width: 75px; min-width: 75px; flex: 0 0 75px; } ::ng-deep .mat-column-createdByUserName { width: 90px; min-width: 90px; flex: 0 0 90px; } ::ng-deep .mat-column-submittedOnDate { width: 130px; min-width: 130px; flex: 0 0 130px; } // Wide enough to hold both action buttons on one line. Every other column // declares a width; without one this collapsed and clipped its contents. ::ng-deep .mat-column-amlMark { width: 184px; min-width: 184px; flex: 0 0 184px; // Keeps the "AML REVIEW" heading on one line instead of clipping it. white-space: nowrap; overflow: visible; } ::ng-deep .mat-column-actions { width: 50px; min-width: 50px; flex: 0 0 50px; } } // ── Table cell components ───────────────────────────────────────────────────── .gl-id-link { font-family: 'Courier New', monospace; font-size: 0.72rem; font-weight: 700; color: var(--c-primary); text-decoration: none; &:hover { text-decoration: underline; } } .gl-date-cell { &__main { font-size: 0.73rem; font-weight: 600; color: var(--c-text-1); white-space: nowrap; } } .gl-txn-link { font-size: 0.72rem; font-weight: 600; color: var(--c-primary); text-decoration: none; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; &:hover { text-decoration: underline; } } .gl-mono { font-family: 'Courier New', monospace; } .gl-office-cell { display: flex; align-items: center; gap: 5px; font-size: 0.73rem; color: var(--c-text-2); } .gl-office-icon { color: var(--c-text-3); font-size: 0.68rem; } .gl-code-chip { display: inline-block; padding: 1px 6px; background: #f1f5f9; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.68rem; color: var(--c-text-2); font-weight: 600; border: 1px solid var(--c-border); } .gl-acct-no-chip { display: inline-block; padding: 2px 8px; background: #e8f4fd; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.7rem; color: #1565c0; font-weight: 600; border: 1px solid #bbdefb; white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; } .gl-na { color: var(--c-text-3, #bbb); font-size: 0.75rem; } .gl-acct-cell { font-size: 0.74rem; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; color: var(--c-text-1); } .gl-drcr { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 18px; border-radius: 4px; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.03em; &--dr { background: var(--c-dr-bg); color: var(--c-dr); border: 1px solid #fecaca; } &--cr { background: var(--c-cr-bg); color: #065f46; border: 1px solid #a7f3d0; } } .gl-amt { font-family: 'Courier New', monospace; font-size: 0.77rem; font-weight: 700; &--dr { color: var(--c-dr); } &--cr { color: var(--c-cr); } } .gl-amt-nil { color: var(--c-text-3); font-size: 0.7rem; } .gl-running { font-family: 'Courier New', monospace; font-size: 0.73rem; font-weight: 600; color: #0891b2; &--neg { color: var(--c-dr); } } .gl-src { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 4px; font-size: 0.65rem; font-weight: 600; &--manual { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; } &--system { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; } } .gl-user-cell { display: flex; align-items: center; gap: 6px; font-size: 0.73rem; color: var(--c-text-2); } .gl-user-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-h)); color: #fff; font-size: 0.6rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .gl-ts { font-size: 0.65rem; color: var(--c-text-3); white-space: nowrap; } .gl-view-btn { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; color: var(--c-primary); text-decoration: none; background: transparent; transition: all var(--transition); &:hover { background: #eef2ff; } } // ── AML review column ───────────────────────────────────────────────────────── // Never wrap — a wrapped second button used to be clipped by the row height. .gl-mark-actions { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; width: 100%; } .gl-mark-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--c-border); background: var(--c-surface); border-radius: 6px; font-size: 0.62rem; font-weight: 700; line-height: 1.2; color: var(--c-text-2); cursor: pointer; font-family: inherit; white-space: nowrap; flex: 1 1 auto; transition: all var(--transition); // Tinted at rest, not only on hover — these have to be findable in a dense // table without the reviewer hunting for them. &--ok { border-color: rgb(16 185 129 / 45%); background: var(--c-cr-bg); color: #047857; &:hover { border-color: var(--c-cr); background: #d1fae5; } } &--str { border-color: rgb(239 68 68 / 45%); background: var(--c-dr-bg); color: #b91c1c; &:hover { border-color: var(--c-dr); background: #fee2e2; } } } .gl-mark { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 0.62rem; font-weight: 700; white-space: nowrap; background: var(--c-cr-bg); color: #047857; &--str { background: var(--c-dr-bg); color: #b91c1c; } &--busy { background: #f1f5f9; color: var(--c-text-3); } &--na { background: transparent; color: var(--c-text-3); cursor: help; } } .gl-mark-error { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; padding: 9px 14px; border: 1px solid #fecaca; background: var(--c-dr-bg); border-radius: 8px; font-size: 0.75rem; color: #b91c1c; &__close { margin-left: auto; border: 0; background: transparent; font-size: 1.1rem; line-height: 1; color: inherit; cursor: pointer; } } // ── Empty state ─────────────────────────────────────────────────────────────── .gl-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 340px; width: 100%; text-align: center; padding: 0 16px; box-sizing: border-box; &__icon { font-size: 2.5rem; color: #e2e8f0; margin-bottom: 10px; } &__title { font-size: 0.85rem; font-weight: 700; color: var(--c-text-2); margin-bottom: 4px; } &__sub { font-size: 0.74rem; color: var(--c-text-3); } } // ── Paginator ───────────────────────────────────────────────────────────────── .gl-pager-wrap { border-top: 1px solid var(--c-border); background: #fafbfe; }