/* view-events-management.css */

/* Table styling */
#eventTable {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    border-radius: 8px; /* Add rounded corners to the outermost corners */
    overflow: hidden; /* Ensure rounded corners are applied */
}

#eventTable th, #eventTable td {
    padding: 8px;
    text-align: left;
    font-size: 14px;
    color: #063572 !important; /* Charcoal color */
}

/* Header styling */
#eventTable th {
    font-weight: bold;
    background-color: #063572 !important; /* Charcoal background for header */
    color: #f9f9f9 !important; /* Light grey for header text */
}

#eventTable tbody tr:nth-child(odd) {
    background-color: #e9e9e9 !important; /* Slightly darker grey for odd rows */
}

#eventTable tbody tr:nth-child(even) {
    background-color: #ffffff !important; /* White background for even rows */
}

/* Hover effect for table rows */
#eventTable tbody tr:hover {
    background-color: #e0e0e0 !important; /* Highlight row on hover */
}

/* Image in table cells */
#eventTable img {
    width: 50px;
    height: auto;
}

/* DataTables UI elements */

/* Pagination controls */
#eventTable_paginate .paginate_button {
    color: #063572 !important; /* Charcoal for pagination numbers */
    background-color: #d6d6d6; /* Charcoal background */
    border: none; /* Remove border */
}

#eventTable_paginate .paginate_button:hover {
    color: #ca2026 !important; /* Red text on hover */
}

#eventTable_paginate .paginate_button.current {
    color: #ca2026 !important; /* Red text for the current page */
}

/* Pagination numbers specifically */
#eventTable_paginate .paginate_button.page-item {
    color: #ffea96 !important; /* Light yellow for the page numbers */
}

/* Search input box */
#eventTable_filter input {
    color: #063572; 
    background-color: #b3b3b3; /* Darker background */
    border: 1px solid  #063572; /* Border color */
}

/* Length select box (items per page) */
#eventTable_length select {
    color: #063572; /* Text */
    background-color: #b3b3b3; /* Darker background */
    border: 1px solid  #063572; /* Border color */
}

/* Info text (e.g., "Showing 1 to 10 of 50 entries") */
#eventTable_info {
    color:  #063572 !important; /* Charcoal color */
}

/* Other DataTables elements like sorting buttons */
#eventTable_length, #eventTable_filter, #eventTable_info {
    color: #ca2026; /* Red for additional interface text */
}

#eventTable_filter label, #eventTable_length label {
    color:  #063572; /* Charcoal label text color */
}

/* Sorting icons */
#eventTable thead .sorting:after, 
#eventTable thead .sorting_asc:after, 
#eventTable thead .sorting_desc:after {
    color: #ffea96 !important; /* Light yellow for sorting arrows */
}

/* Adjust DataTables buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    border-radius: 4px !important;
}

/* Hover effect for table rows */
#eventTable tbody tr:hover {
    background-color: #e0e0e0 !important; /* Much lighter grey on hover */
}
