.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: block;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--light-gray);
    font-weight: 500;
}

.sidebar-nav a.active, .sidebar-nav a:hover {
    background: var(--glass);
    color: var(--white);
}

.admin-main {
    padding: 2rem 3rem;
    background: var(--bg-dark);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.stat-label {
    color: var(--light-gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Data Table */
.data-table-container {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-gray);
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.95rem;
}

tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-pending { background: rgba(255, 187, 51, 0.1); color: #ffbb33; }
.badge-accepted { background: rgba(51, 181, 229, 0.1); color: #33b5e5; }
.badge-completed { background: rgba(0, 200, 81, 0.1); color: #00C851; }
.badge-rejected { background: rgba(255, 68, 68, 0.1); color: #ff4444; }
.badge-request_received { background: rgba(170, 102, 204, 0.1); color: #aa66cc; }
.badge-processed { background: rgba(0, 200, 81, 0.1); color: #00C851; }

/* Admin Actions */
.actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 6px;
    background: var(--glass);
    color: var(--white);
    border: 1px solid var(--glass-border);
}

.btn-icon:hover {
    background: var(--gray);
}

/* Responsive Admin */
@media (max-width: 1024px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: fixed;
        left: -260px;
        z-index: 1100;
        transition: var(--transition);
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    .sidebar.active {
        left: 0;
    }
    .admin-main {
        padding: 1.5rem;
    }
    #sidebar-toggle {
        display: flex !important;
    }
}
