.btn > span{
    color:#FFFFFF;
}
.table-condensed > thead > tr:nth-child(2) > .prev {
    font-size: 0;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cline x1='19' y1='12' x2='5' y2='12'%3E%3C/line%3E%3Cpolyline points='12 19 5 12 12 5'%3E%3C/polyline%3E%3C/svg%3E") 50% 50% / contain no-repeat;
}

.table-condensed > thead > tr:nth-child(2) > .next {
    font-size: 0;
    background: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E") 50% 50% / contain no-repeat;
}
.table-scrollable tbody {
    display: block;
    max-height: 300px;
    overflow-y: auto;
}

.table-scrollable thead, .table-scrollable tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.truncate {
    display: block;
    max-width: 30ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-xs-custom {
  /* Reduce padding from .btn-sm defaults (e.g., .25rem .5rem) */
  padding: 0.1rem 0.4rem;
  /* Set a smaller font size */
  font-size: 0.75rem;
  /* Ensure borders and rounded corners scale */
  border-radius: 0.2rem;
}
/* Custom CSS for Chart of Accounts Zebra Striping */

/* Base style for the even rows (or primary background) */
.list-group-item {
    background-color: #ffffff; /* White or very light gray */
    transition: background-color 0.2s ease-in-out;
}

/* Style for the odd rows (alternate background color) */
.bg-light-odd {
    background-color: #f8f9fa; /* Bootstrap's light gray */
}

/* Style for the even rows (can be the same as the default, or a slightly different shade) */
.bg-light-even {
    background-color: #ffffff;
}

/* Optional: Enhanced hover effect */
.list-group-item-action:hover {
    background-color: #e9ecef; /* A slightly darker gray on hover */
}

/* Specificity overrides for Huchi GridTable States */
.grid-table tbody tr.text-danger td  { color: #d9534f !important; --bs-table-color-type: #d9534f !important; }
.grid-table tbody tr.text-warning td { color: #f0ad4e !important; --bs-table-color-type: #f0ad4e !important; }
.grid-table tbody tr.text-success td { color: #28a745 !important; --bs-table-color-type: #28a745 !important; }
.grid-table tbody tr.text-primary td { color: #007bff !important; --bs-table-color-type: #007bff !important; }

/* Optional: Add bolding to dangerous or successful items */
.grid-table tbody tr.text-danger td, 
.grid-table tbody tr.text-success td {
    font-weight: 600;
}

/* The connecting line between steps */
.stepper-item {
    position: relative;
}

.stepper-item::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #dee2e6; /* Gray line */
    top: 20px;
    left: 50%;
    z-index: 1;
}

.stepper-item:last-child::after {
    display: none;
}

/* Default state (Inactive) */
.stepper-item .step-counter {
    background-color: #fff;
    color: #6c757d;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

/* ACTIVE STATE */
.stepper-item.active .step-counter {
    background-color: #0d6efd !important; /* Bootstrap Primary Blue */
    color: #fff !important;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.stepper-item.active .step-name {
    color: #0d6efd !important;
    font-weight: bold;
}

/* COMPLETED STATE */
.stepper-item.completed .step-counter {
    background-color: #198754 !important; /* Bootstrap Success Green */
    color: #fff !important;
    border-color: #198754 !important;
}

/* Green line for completed steps */
.stepper-item.completed::after {
    background-color: #198754; 
}

.stepper-item.completed .step-name {
    color: #198754 !important;
}

/* Optional: Adding a checkmark icon to completed steps via CSS */
/* If you want the number to disappear and a checkmark to appear */
/* .stepper-item.completed .step-counter {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c"; 
} 
*/