/** * 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/. */ @use '../i4c' as *; @include i4c-skin; .compact { width: 160px; font-size: 13px; } .sub { font-size: 11px; color: #64748b; margin-bottom: 4px; } .err-text { color: #dc2626; font-size: 11px; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .head-hint { font-size: 11px; color: #94a3b8; font-weight: normal; margin-left: 8px; } .date-main { font-weight: 600; color: #1e293b; } .mini-chips { display: flex; align-items: center; gap: 5px; .mini-chip { padding: 2px 8px; border-radius: 9999px; font-size: 10.5px; font-weight: 600; color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; cursor: pointer; transition: all 0.15s ease; &:hover { background: #e2e8f0; color: #0f172a; } &--active { background: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 2px 6px rgb(37 99 235 / 25%); } } } .failures-chk { margin-left: 10px; font-size: 11px; font-weight: 600; color: #475569; } .direction-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 700; &--in { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; } &--out { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; } } .retry-btn { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 5px; font-size: 10.5px; font-weight: 700; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; cursor: pointer; transition: all 0.15s ease; &:hover:not(:disabled) { background: #fee2e2; border-color: #fca5a5; } &:disabled { opacity: 0.6; cursor: not-allowed; } } .modal-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .payload-box { display: flex; flex-direction: column; gap: 6px; &__title { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: #1e293b; } } .copy-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 5px; background: #f1f5f9; border: 1px solid #cbd5e1; color: #334155; font-size: 10.5px; font-weight: 600; cursor: pointer; transition: all 0.15s ease; &:hover { background: #e2e8f0; color: #0f172a; } } .footer-btn-close { padding: 6px 14px; border-radius: 8px; background: #e2e8f0; color: #334155; border: none; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: all 0.2s; &:hover { background: #cbd5e1; color: #0f172a; } } .note-text { color: #64748b; font-size: 12px; } /* Layer of the complaint a row belongs to: victim (L0), first layer (L1), onward (L2+). */ .layer-pill { display: inline-block; padding: 2px 8px; border-radius: 9999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; background: #f1f5f9; color: #475569; &--victim { background: #eff6ff; color: #1d4ed8; } &--first { background: #fef3c7; color: #b45309; } &--onward { background: #f3e8ff; color: #7e22ce; } }