/* view_expenses.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1f1f1;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

a.add-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

a.add-btn:hover {
    background-color: #218838;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: #007bff;
    color: white;
}

table th,
table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.status-paid {
    color: green;
    font-weight: bold;
}

.status-unpaid {
    color: red;
    font-weight: bold;
}


.action-buttons {
    text-align: center;
    margin: 20px 0;
}

.btn, .btn-logout, .btn-edit, .btn-delete {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

.btn {
    background: #2193b0;
    color: #fff;
    font-weight: bold;
}

.btn:hover {
    background: #17678c;
}

.btn-logout {
    background: #ff4c4c;
    color: #fff;
    font-weight: bold;
}

.btn-logout:hover {
    background: #cc0000;
}
