/* Table Styling */
#events-tables {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#events-tables th, #events-tables td {
    padding: 12px 15px;
    text-align: left;
    color: #0f1154;
    border: 1px solid #3a3c8b; /* Add a border to both th and td */
}

#events-tables th {
    background-color: #0f1154 ;
    color: #fff !important;
    font-weight: bold;
}

#events-tables tr:hover {
    background-color: #f9f9f9;
}

/* Filter Form Styling */
#productsTable {
 overflow: auto;
}

.product-filter {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto; /* Allow horizontal scrolling on smaller screens */
    padding-bottom: 10px;
}

.product-filter label {
    font-size: 14px;
    font-weight: bold;
}

#filterForm ::placeholder{
    color: #0056b3;
 
}

#filterForm select{
    padding: 8px 10px !important;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    width: 14% ;
    color: #0056b3;
    background-color: #eff9ff  !important;
    border:1px solid #78b0eb ;
}


.product-filter #filterForm input{
    padding: 8px 10px !important;
    font-size: 12px;
    width: 14%;
    font-weight: 700;
    border-radius: 4px;
    background-color: #eff9ff  !important;
    border:1px solid #78b0eb ;
    color: #0056b3;
}
#filterForm #from_year, #filterForm #end_year, #filterForm #from_month, #filterForm #end_month{
    width: 12% !important;
}

#productsTable tr:nth-child(odd) {
    background-color: #eff9ff !important;
}

#productsTable tr:nth-child(even) {
    background-color: #ffffff !important;
}

#filter{
color: #fff;
background-color: #0056b3;
padding: 8px 10px;
cursor: pointer;
font-weight: 600;
}

#filter:hover{
    background-color: #0f1154;
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 16px;
    margin: 0 5px;
    text-decoration: none;
    background-color: #0f1154;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #0056b3;
}

.pagination .disabled {
    background-color: #f0f0f0;
    color: #ccc;
    pointer-events: none;
}

.pagination .active {
    background-color: #0056b3;
    font-weight: bold;
    padding: 8px 16px; 
    color: white;
}

.pagination .ellipsis {
    cursor: default;
}

.pagination .page-number {
    display: inline-block;
    margin: 0 5px;
}
#resetFilters{
    background-color: #2EA3F2;
    color:white;
    padding: 10px 10px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
}
.total-items{
    color: #0056b3;
    font-weight: 600;
}

/* Mobile responsive table */
@media screen and (max-width: 768px) {
    table, th, td {
        font-size: 12px;
    }

    .product-filter input {
        width: 100%;
        padding: 10px;
    }

    .product-filter #filterForm input, #filterForm select{
        width: 32%;
        font-size: 10px;
    }
    #filterForm #from_year, #filterForm #end_year, #filterForm #from_month, #filterForm #end_month{
        width: 24% !important;
        font-size: 10px;
        margin-top: 2px;
    }
    #resetFilters{
        margin-top: 5px;
        padding: 5px;
    }
}



/* Selected Filter Dropdown */
#filterForm select.selected {
    background-color: #7bbbb8 !important;
}


#industry{
    /* display: none; */
}

#event_name{
    color: #fff;
} 

#filterForm select.selected {
    background-color: #7bbbb8 !important;
}

