
table {
  font-family: "Sinkin Sans", arial, sans-serif;
  font-size: 11px;
  border-collapse: collapse;
  width: 100%;
  /* table-layout: fixed; */
}

section.sa table {
  table-layout: fixed;
}

td,
th {
  border: transparent;
  text-align: left;
  padding: 3px;
}

section.sa td,
th {
  vertical-align: text-top;
  line-height: 1.3;
  padding-bottom: 6px;
  /* handle truncating text */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

tr.ShowHover:hover {background-color: #e0f2fe;}

.sa {
  font-family: "Sinkin Sans";
  height: 20px;
  width: 100%;
  overflow: auto;
  padding: 0px 5px 10px 15px;
  transition: transform 0.2s;
}

.sa::-webkit-scrollbar {
  width: var(--sb-size);
}

.sa::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 5px;
}

.sa::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 5px;
  border: 3px solid white;
}

@supports not selector(::-webkit-scrollbar) {
  .sa {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}


.details > div > table > tbody > tr > td > table > tbody > tr.table_header {
  font-size: 1rem;
  font-weight: bold;
  padding: 0px;
  border-bottom: 1px solid var(--color-light-blue-100);
}
.details > div > table > tbody > tr > td > table > tbody > tr.table_header td,
th {
  padding-bottom: 5px;
}



.details::-webkit-scrollbar {
  width: var(--sb-size);
}

.details::-webkit-scrollbar-track {
  background: white;
  border-radius: 5px;
}

.details::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 5px;
  border: 3px solid white;
}

@supports not selector(::-webkit-scrollbar) {
  .details {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}


 .creditor-name {
            font-weight: 500;
            color: #2c3e50;
            position: relative;
        }
        
        .creditor-name::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 2px;
        }
        
        .amount {
            text-align: right;
            font-weight: 500;
            font-family: 'Courier New', monospace;
        }
        
        .amount.total {
            color: #2563eb;
            font-weight: 600;
        }
        
        .amount.zero {
            color: #6b7280;
        }
        
        .amount.outstanding {
            color: #dc2626;
            font-weight: 600;
        }
        
        .invoice-detail {
            background: #f8f9fa;
            font-size: 11px;
            color: #6c757d;
        }
        
        .invoice-detail td {
            padding: 8px 12px;
        }
        
        .invoice-number {
            font-family: 'Courier New', monospace;
            font-weight: 500;
        }
        
        .due-date {
            color: #dc2626;
            font-weight: 500;
        }
        
        .summary-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            padding: 24px;
            background: #f8f9fa;
            border-top: 1px solid #e9ecef;
        }
        
        .stat-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            text-align: center;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 4px;
        }
        
        .stat-label {
            font-size: 12px;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }