#tp-log-table,
#tp-votes-table {
	margin: 0 auto;
    display: block;
	width: auto;
	overflow-x: scroll;
}

/* Bold headers and light background for our specific table */
#tp-votes-table th,
#tp-log-table th {
    font-weight: bold;
    background-color: #f2f2f2; /* Light gray background */
    padding: 8px;
    text-align: left;
	border: 1px solid grey;
}

/* Center Entry ID column */
#tp-votes-table th:nth-of-type(2),
#tp-votes-table td:nth-of-type(2),
#tp-log-table td:first-child {
    text-align: center;
}

/* Add padding to all table cells */
#tp-votes-table td,
#tp-log-table td {
    padding: 8px;
	border: 1px solid grey;
	background-color: #ffffff;
}

/* Highlight row on hover */
#tp-votes-table tbody tr:hover,
#tp-log-table tbody tr:hover {
    background-color: #f2f2f2; /* Slightly lighter gray on hover */
}

#tp-export-csv-btn {
    font-size: 16px;
    background: linear-gradient(45deg, #0c5697, #46c3d2);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
	padding: 17px 28px;
	margin-bottom: 20px;
}
#tp-export-csv-btn:hover {
    background: #0c5697;
}

#tp-random-entry-btn {
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(45deg, #0c5697, #46c3d2);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
	padding:17px 28px; 
	width: 100%; 
	max-width: 400px; 
	margin: 0 auto; 
	display: block;
}

#tp-random-entry-btn:hover {
    transform: scale(1.1);
}
