body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container.mt-4 {
    flex: 1;
}

.card {
    border: none;
    border-radius: 8px;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
}

/* Invoice list */
.invoice-group {
    margin-bottom: 1rem;
}

.invoice-row {
    transition: background-color 0.15s;
}

.invoice-row:hover {
    background-color: #f0f0f0;
}

.invoice-row input[type="checkbox"]:checked ~ * {
    font-weight: 500;
}

/* Sticky payment bar */
#payment-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #212529;
    color: white;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

#payment-bar.hidden {
    transform: translateY(100%);
}

/* ACH form section */
#ach-form-section {
    display: none;
}

#ach-form-section.show {
    display: block;
}

/* Overdue badge */
.badge-overdue {
    background-color: #dc3545;
}

.badge-due-soon {
    background-color: #ffc107;
    color: #212529;
}

/* Admin dashboard stats */
.stat-card {
    border-left: 4px solid;
}

.stat-card.blue { border-left-color: #0d6efd; }
.stat-card.green { border-left-color: #198754; }
.stat-card.orange { border-left-color: #fd7e14; }
.stat-card.red { border-left-color: #dc3545; }

/* Submission status badges */
.status-pending {
    background-color: #ffc107;
    color: #212529;
}

.status-processed {
    background-color: #198754;
}

/* Print styles */
@media print {
    .navbar, footer, .btn, #payment-bar {
        display: none !important;
    }
}
