* {
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}

body {
    margin: 0;
    display: flex;
    background: #f4f6f9;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: #0f172a;
    color: white;
    min-height: 100vh;
    padding: 20px;
}

.logo {
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    color: #cbd5f5;
    text-decoration: none;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.sidebar a.active,
.sidebar a:hover {
    background: #1e293b;
    color: white;
}

/* Main */
.main {
    flex: 1;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header button {
    padding: 6px 12px;
    cursor: pointer;
}

/* Table */
.table-wrapper {
    background: white;
    margin-top: 20px;
    border-radius: 8px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #f1f5f9;
}

.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.pending {
    background: #fde68a;
}

.paid {
    background: #bbf7d0;
}

.rejected {
    background: #fecaca;
}

button.action {
    padding: 4px 8px;
    margin-right: 5px;
    cursor: pointer;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
}

.modal-box input {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
}

.modal-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}