/* Example custom styles */
body {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem; /* Reduce font size slightly */
}

.container {
    padding-left: 10px; /* Reduce left-side padding */
    padding-right: 15px; /* Optional: Keep right padding consistent */
}

.navbar-brand {
    font-weight: bold;
    color: #007bff !important;
}

.footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px 0;
}

#amountWords {
    display: inline-block;
    min-height: 1.2em; /* enough space for one line of text */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amount-cell {
    vertical-align: top;
}

table {
    font-size: 0.85rem;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #004085;
}

.btn-primary:hover {
    background-color: #004085;
    border-color: #003366;
}

.table .sticky-column {
    position: sticky;
    right: 0;
    background-color: #f8f9fa; /* Match table header background */
    z-index: 2; /* Ensure it stays above other content */
    box-shadow: -1px 0 0 #dee2e6; /* Add a subtle shadow for separation */
    text-align: center; /* Center align the content */
}

.table-container {
    display: flex;
    position: relative;
}

.table-responsive {
    flex: 1;
    overflow-x: auto;
}

.fixed-actions {
    flex: 0 0 auto;
    width: 150px; /* Adjust width as needed */
    background-color: #f8f9fa;
    border-left: 1px solid #dee2e6;
    position: sticky;
    right: 0;
    z-index: 2;
}

.nav-tabs .nav-link {
    border: 1px solid #343a40; /* Darker border color */
    background-color: #f8f9fa; /* Light background for contrast */
    color: #343a40; /* Dark text color */
}

.nav-tabs .nav-link.active {
    border-color: #343a40 #343a40 #fff; /* Darker border for active tab */
    background-color: #343a40; /* Dark background for active tab */
    color: #fff; /* White text for active tab */
}

