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

body {
    margin: 0;
    background: #f4f6f8;
    color: #333;
}

/* Header */
.admin-header {
    background: #111827;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header nav a,
.admin-header nav button {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.admin-header nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Layout */
.container {
    padding: 20px;
}

h2 {
    margin-bottom: 15px;
}

/* Table */
.table-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow-x: auto;
}

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

thead {
    background: #f1f5f9;
}

th,
td {
    padding: 12px;
    text-align: left;
    font-size: 14px;
}

th {
    font-weight: 600;
}

tr:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

/* Status */
.status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    text-transform: capitalize;
}

.status.pending {
    background: #fff3cd;
    color: #92400e;
}

.status.approved {
    background: #dcfce7;
    color: #166534;
}

.status.rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* Buttons */
button.action {
    padding: 6px 10px;
    margin-right: 6px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

button.approve {
    background: #16a34a;
    color: #fff;
}

button.reject {
    background: #dc2626;
    color: #fff;
}

button.disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Empty */
.empty {
    padding: 40px;
    text-align: center;
    color: #6b7280;
}

.hidden {
    display: none;
}