/* FinanceTracker site styles */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Status indicators for tasks */
.status-overdue {
    border-left: 4px solid #dc3545;
}

.status-pending {
    border-left: 4px solid #ffc107;
}

.status-complete {
    border-left: 4px solid #198754;
}

/* Dashboard cards */
.dashboard-card {
    transition: transform 0.15s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
}

/* Balance indicators */
.balance-owe {
    color: #dc3545;
    font-weight: 600;
}

.balance-owed {
    color: #198754;
    font-weight: 600;
}

/* Bill row status backgrounds */
.bill-row-due {
    background-color: #fff9e6 !important;
}

.bill-row-paid {
    background-color: #e8f5e9 !important;
}

.bill-row-pastdue {
    background-color: #fdecea !important;
}

.bill-row-default {
    background-color: transparent !important;
}

/* Sidebar for portal layouts */
.sidebar {
    min-height: calc(100vh - 56px);
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #333;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover {
    background-color: #e9ecef;
}

.sidebar .nav-link.active {
    background-color: #0d6efd;
    color: white;
    border-radius: 0.25rem;
}
