/* =========================
   1. Wrapper
   ========================= */
.eem-wrapper {
    display: flex;
    gap: 15px;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    padding: 15px;
}

/* =========================
   2. Sidebar
   ========================= */
.eem-sidebar {
    width: 220px;
}
.eem-sidebar h4 {
    margin-top: 10px;
    font-size: 16px;
    color: #fff;
    background: #01943a;
    padding: 8px 10px;
    border-radius: 4px;
}

/* =========================
   3. Buttons (All Events & Sector)
   ========================= */
.eem-sidebar-button {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 6px;
    background-color: green; /* default green */
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.eem-sidebar-button:hover {
    background-color: #d3d3d3; /* light grey hover */
    color: #000;
}

/* =========================
   4. Event Table
   ========================= */
.eem-content {
    flex: 1;
    overflow-x: auto;
}

.eem-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.eem-table th, .eem-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
    text-align: left;
}

.eem-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.eem-table tr:nth-child(even) {
    background-color: #fafafa;
}

.eem-table tr:hover {
    background-color: #f1f1f1;
}

/* =========================
   5. Pagination
   ========================= */
.eem-pagination {
    margin-top: 12px;
    text-align: left;
}

.eem-pagination a {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 5px;
    border-radius: 4px;
    background: #222;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.eem-pagination a:hover,
.eem-pagination a[style*="font-weight:bold"] {
    background-color: #444;
}

/* =========================
   6. Responsive
   ========================= */
@media (max-width: 768px) {
    .eem-wrapper {
        flex-direction: column;
    }
    .eem-sidebar {
        width: 100%;
        margin-bottom: 15px;
    }
}
/* =========================
7. Active filter button 
 ========================= */*/
.active-filter {
    background-color: #006400 !important; /* darker green */
    color: #fff !important;
}
