.list-container {
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.filters {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-primary,
.btn-secondary,
.btn-update,
.btn-danger {
    padding: 5px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.btn-primary {
    background-color: var(--primary-blue)
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-update {
    background-color: #28a745;
}

.btn-danger {
    background-color: #dc3545;
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

th {
    background-color: var(--primary-light-blue);
    font-weight: 700;
    color: var(--primary-text);
}

.status-badge {
    padding: 5px 10px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
}

.status-paid .status-badge {
    background-color: #28a745;
}

.status-partial .status-badge {
    background-color: #ffc107;
    color: #333;
}

.status-pending .status-badge {
    background-color: #dc3545;
}

.pending-amount {
    font-weight: 700;
}

.status-pending .pending-amount,
.status-partial .pending-amount {
    color: #dc3545;
}

.emi-cell {
    min-width: 180px;
}

.highlight-pending {
    color: #dc8935;
    font-weight: bold;
}

.highlight-paid {
    color: #28a745;
    font-weight: bold;
}

.highlight-cell {
    background-color: #fff3cd;
}

.pagination {
    justify-content: center;
    margin-top: 20px;
}

.pagination .step-links a,
.pagination .current {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #007bff;
}

.pagination .current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}