/* ═══════════════════════════════════════════════════════════
   NP2 Customer Information Center Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── List Filters ──────────────────────────────────────── */

.cic-list-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

/* ─── Name Cell ─────────────────────────────────────────── */

.cic-name-cell {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cic-name {
    font-weight: 500;
    color: #111827;
}

.cic-email {
    font-size: 12px;
    color: #9ca3af;
}

/* ─── Type Badges ───────────────────────────────────────── */

.cic-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cic-badge-adv { background: #dbeafe; color: #1d4ed8; }
.cic-badge-sub { background: #dcfce7; color: #15803d; }
.cic-badge-src { background: #fef3c7; color: #92400e; }
.cic-badge-car { background: #ede9fe; color: #6d28d9; }
.cic-badge-ven { background: #ffe4e6; color: #be123c; }
.cic-badge-none { background: #f3f4f6; color: #9ca3af; }

/* ─── Detail Header ─────────────────────────────────────── */

.cic-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.cic-detail-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.cic-avatar-org {
    background: #7c3aed;
    border-radius: 12px;
}

.cic-detail-title {
    flex: 1;
}

.cic-detail-title h1 {
    margin: 0 0 4px 0;
    font-size: 22px;
}

.cic-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.cic-detail-actions {
    flex-shrink: 0;
}

/* ─── Cards ─────────────────────────────────────────────── */

.cic-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .cic-detail-grid { grid-template-columns: 1fr; }
}

.cic-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.cic-card-full {
    margin-bottom: 16px;
}

.cic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

.cic-card-header h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cic-card-header .btn-sm,
.cic-card-header .np2-action-btn {
    flex-shrink: 0;
    width: auto;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    gap: 4px;
    height: auto;
    white-space: nowrap;
}

.cic-card-body {
    padding: 14px 16px;
}

/* ─── Info Rows ─────────────────────────────────────────── */

.cic-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cic-info-row:last-child {
    border-bottom: none;
}

.cic-info-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.cic-info-value {
    font-size: 14px;
    color: #111827;
}

.cic-notes {
    margin-top: 10px;
    padding: 8px 10px;
    background: #fffbeb;
    border-radius: 6px;
    font-size: 13px;
    color: #92400e;
}

.cic-empty {
    color: #9ca3af;
    font-size: 13px;
    font-style: italic;
    padding: 8px 0;
}

/* ─── Organization Rows ─────────────────────────────────── */

.cic-org-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cic-org-row:last-child { border-bottom: none; }

.cic-org-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cic-org-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.cic-org-role {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

.cic-role-editable {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.1s;
}

.cic-role-editable:hover {
    background: #eff6ff;
    color: #2563eb;
}

/* ─── Addresses ─────────────────────────────────────────── */

.cic-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.cic-address-card {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.cic-address-type {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.cic-address-lines {
    font-size: 13px;
    color: #374151;
    line-height: 1.4;
}

.cic-address-notes {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    font-style: italic;
}

/* ─── Accounts Table ────────────────────────────────────── */

.cic-accounts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cic-accounts-table th {
    text-align: left;
    padding: 6px 10px;
    font-weight: 600;
    color: #6b7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #e5e7eb;
}

.cic-accounts-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.cic-accounts-table tr:hover {
    background: #f9fafb;
}

.cic-balance-due {
    color: #dc2626;
    font-weight: 600;
}

.cic-balance-zero {
    color: #059669;
}

/* ─── Form Layout ───────────────────────────────────────── */

.cic-form-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
}

@media (max-width: 768px) {
    .cic-form-grid { grid-template-columns: 1fr; }
}

.cic-form-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cic-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cic-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cic-form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.cic-form-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
}

.cic-form-field label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.cic-form-field input,
.cic-form-field select,
.cic-card-body textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.cic-form-field input:focus,
.cic-form-field select:focus,
.cic-card-body textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.cic-type-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 13px;
}

.cic-type-check input {
    width: auto;
}

.cic-form-actions {
    padding-top: 4px;
}

/* ─── Typeahead Search ──────────────────────────────────── */

.cic-search-results {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    background: white;
}

.cic-search-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.1s;
}

.cic-search-result:hover {
    background: #f3f4f6;
}

.cic-search-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.cic-search-type {
    font-size: 12px;
    color: #9ca3af;
}

.cic-search-empty {
    padding: 12px;
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
}

.cic-selected-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    margin-top: 6px;
}

.cic-clear-selection {
    border: none;
    background: none;
    cursor: pointer;
    color: #dc2626;
    font-size: 16px;
    font-weight: bold;
    padding: 0 4px;
}

/* ─── Org Links ─────────────────────────────────────────── */

.cic-org-link {
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.cic-org-link:hover {
    text-decoration: underline;
}

/* ─── Action Buttons (used by CIC — see shared-components.css for styles) ── */

/* ─── Nav History Buttons ────────────────────────────────── */

.nav-history-buttons {
    display: flex;
    gap: 2px;
    margin-left: 10px;
    flex-shrink: 0;
}

.nav-history-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    cursor: pointer;
    color: #d1d5db;
    transition: all 0.15s;
}

.nav-history-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.nav-history-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.nav-history-btn:disabled {
    cursor: default;
    opacity: 0.5;
}

.nav-history-btn.nav-history-active {
    color: #6b7280;
    border-color: #d1d5db;
    background: white;
}

.nav-history-btn.nav-history-active:hover {
    background: #eff6ff;
    color: #2563eb;
    border-color: #93c5fd;
}

.nav-history-btn svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Customer Edit Form (wide modal)
   Append to /css/cic.css
   ═══════════════════════════════════════════════════════════════════════ */

.cef-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    /* No inner scroll — the modal owns scroll. Two scrollbars is jarring. */
}

/* Two-column row container — used to put Identity + Address side-by-side
   on personal customers. Each child .cef-section sits in one column. */
.cef-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cef-row-2col > .cef-section {
    /* Inside a side-by-side row, sections are narrower — collapse the
       inner field grid to a single column so labels/inputs don't get
       cramped. */
}

.cef-row-2col .cef-grid {
    grid-template-columns: 1fr;
}

.cef-section {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 18px;
}

.cef-section-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cef-subsection-title {
    margin: 14px 0 6px 0;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cef-section-hint {
    margin: 0 0 12px 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.cef-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.cef-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cef-field-full {
    grid-column: 1 / -1;
}

.cef-field label {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

.cef-field input,
.cef-field textarea,
.cef-field select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    background: #ffffff;
    transition: border-color 100ms ease, box-shadow 100ms ease;
}

.cef-field input:focus,
.cef-field textarea:focus,
.cef-field select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.cef-field textarea {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

/* ─── Subscription placeholder ────────────────────────────────────── */

.cef-section-placeholder {
    background: #fffbeb;
    border-color: #fde68a;
}

.cef-placeholder-box {
    padding: 14px 16px;
    background: #ffffff;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    text-align: center;
}

.cef-placeholder-box p {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #4b5563;
}

.cef-placeholder-hint {
    color: #9ca3af !important;
    font-size: 12px !important;
    margin-top: 6px !important;
}

/* ─── Sync footer ────────────────────────────────────────────────── */

.cef-sync-footer {
    padding: 8px 4px 4px;
    font-size: 12px;
    color: #6b7280;
    text-align: right;
    font-style: italic;
}

.cef-sync-footer strong {
    font-weight: 600;
    color: #4b5563;
    font-style: normal;
}

/* ─── Mobile / narrow modal fallback ──────────────────────────────── */

@media (max-width: 600px) {
    .cef-grid {
        grid-template-columns: 1fr;
    }
    .cef-row-2col {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   CIC additions (2026-04-29 part 2)
   Append to /css/cic.css
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Synthetic default-address card ───────────────────────────────── */

/* Identifies the customer's default address (a virtual entry built from
   columns on np2_customers, not a real np2_addresses row). Different
   visual so users know it's edited via the customer info form, not
   through the addresses panel. */
.cic-address-card.cic-address-synthetic {
    background: #f9fafb;
    border-style: dashed;
    border-color: #d1d5db;
}

.cic-address-card.cic-address-synthetic .cic-address-type {
    flex-wrap: wrap;
    gap: 4px;
}

/* ─── Payment reversal styling ─────────────────────────────────────── */

/* The reversal row (negative amount, "REVERSAL of payment #N: ..." note) */
.cic-payment-reversal {
    background: #fef2f2;     /* very light red */
}

.cic-payment-reversal td {
    color: #991b1b;
}

/* The original row that has been reversed — strike-through to signal
   "this entry was undone" */
.cic-payment-reversed td {
    text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    color: #6b7280;
}

/* But don't strike through the action buttons themselves */
.cic-payment-reversed .np2-action-buttons {
    text-decoration: none;
}

/* Negative amount = reversal */
.cic-payment-amt-neg {
    color: #b91c1c;
}

/* ═══════════════════════════════════════════════════════════════════════
   Customer Change Log
   Append to /css/cic.css
   ═══════════════════════════════════════════════════════════════════════ */

.cic-changelog {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Lines between entries via border-top on each row except the first */
}

.cic-changelog-entry {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 4px;
    border-top: 1px solid #f3f4f6;
}

.cic-changelog-entry:first-child {
    border-top: none;
    padding-top: 4px;
}

.cic-changelog-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f9fafb;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
}

.cic-changelog-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cic-changelog-line {
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}

.cic-changelog-line strong {
    font-weight: 600;
}

.cic-changelog-detail {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}

.cic-changelog-detail em {
    font-style: normal;
    font-weight: 500;
    color: #374151;
}

.cic-changelog-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
    /* Tooltip on hover shows absolute timestamp via title="" attribute */
    cursor: help;
}

/* ═══════════════════════════════════════════════════════════════════════
   Customer Change Log
   Append to /css/cic.css
   ═══════════════════════════════════════════════════════════════════════ */
 
.cic-changelog {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Lines between entries via border-top on each row except the first */
}
 
.cic-changelog-entry {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 4px;
    border-top: 1px solid #f3f4f6;
}
 
.cic-changelog-entry:first-child {
    border-top: none;
    padding-top: 4px;
}
 
.cic-changelog-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f9fafb;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
}
 
.cic-changelog-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
 
.cic-changelog-line {
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}
 
.cic-changelog-line strong {
    font-weight: 600;
}
 
.cic-changelog-detail {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}
 
.cic-changelog-detail em {
    font-style: normal;
    font-weight: 500;
    color: #374151;
}
 
.cic-changelog-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
    /* Tooltip on hover shows absolute timestamp via title="" attribute */
    cursor: help;
}
 
/* ─── Load older footer ───────────────────────────────────────────── */
 
.cic-changelog-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}
 
.cic-changelog-load-more {
    /* Inherits .btn-secondary styling. Just shape it nicely centered. */
    min-width: 140px;
}
 
.cic-changelog-load-more:disabled {
    opacity: 0.6;
    cursor: wait;
}
 
.cic-changelog-nudge {
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    max-width: 360px;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════
   Roles card (merged contact + address)
   Append to /css/cic.css
   ═══════════════════════════════════════════════════════════════════════ */

.cic-role-row {
    border-top: 1px solid #f3f4f6;
    padding: 10px 4px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cic-role-row:first-child {
    border-top: none;
    padding-top: 4px;
}

/* The default ("general") role gets a subtle highlight so it's clearly
   the canonical entry. */
.cic-role-row.cic-role-default {
    background: #f9fafb;
    border-radius: 6px;
    padding: 10px 12px 12px;
    margin-bottom: 4px;
}

.cic-role-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cic-role-label {
    font-weight: 600;
    font-size: 13px;
    color: #111827;
    text-transform: capitalize;
}

.cic-role-row.cic-role-default .cic-role-label {
    color: #4b5563;
}

.cic-role-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-left: 4px;
}

.cic-role-contact,
.cic-role-address {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: #1f2937;
    line-height: 1.4;
}

.cic-role-address {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 6px;
    align-items: baseline;
}

.cic-role-address > span:not(.cic-role-meta) {
    font-size: 13px;
}

.cic-role-meta {
    font-size: 12px;
    color: #6b7280;
}

.cic-role-fallback {
    font-style: italic;
    color: #9ca3af;
}

@media (max-width: 720px) {
    .cic-role-body {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   CIC Reports
   Append to /css/cic.css
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Date controls ─────────────────────────────────────────────────── */

.cic-report-controls {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.cic-report-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cic-report-field label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cic-report-field input[type="date"] {
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

/* ─── Summary stats ─────────────────────────────────────────────────── */

.cic-report-summary {
    margin-bottom: 16px;
}

.cic-report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.cic-report-stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
}

.cic-report-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.cic-report-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.cic-report-stat-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

.cic-report-empty {
    padding: 32px;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
}

/* ─── Chart ─────────────────────────────────────────────────────────── */

.cic-report-chart {
    margin-bottom: 16px;
}

.cic-report-chart-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.cic-report-chart-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.cic-report-chart-sub {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

.cic-report-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.rep-y-label {
    font-size: 11px;
    fill: #6b7280;
    font-family: inherit;
}

.rep-x-label {
    font-size: 11px;
    fill: #6b7280;
    font-family: inherit;
}

.rep-bar rect {
    transition: fill 80ms ease;
}

.rep-bar:hover rect {
    fill: #2563eb;
    cursor: help;
}

/* ─── Daily-breakdown table ─────────────────────────────────────────── */

.cic-report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cic-report-table th,
.cic-report-table td {
    padding: 8px 14px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.cic-report-table thead th {
    background: #f9fafb;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6b7280;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.cic-report-table tfoot td {
    background: #f9fafb;
    border-top: 2px solid #e5e7eb;
    border-bottom: none;
}

.cic-report-table .rep-money,
.cic-report-table th.rep-money {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cic-report-table .rep-count,
.cic-report-table th.rep-count {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: #6b7280;
}