/* ----------------- layout ------------------------------------------------ */
.container {
	display: flex;
	height: 100vh;
}

/* ----------------- left menu -------------------------------------------- */
.menu {
	flex: 0 0 200px;
	background: #f0f0f0;
	padding: 10px;
}

.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu a {
	display: block;
	padding: 10px;
	text-decoration: none;
	color: #000;
}

.menu a:hover {
	background: #e0e0e0;
}

/* ----------------- right side ------------------------------------------- */
.table-container {
	flex: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	/* space between successive sections */
}

/* top‑bar */
.top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
}

#force-update-btn {
	background: #e74c3c;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
}

#force-update-btn:hover {
	background: #c0392b;
}

/* ----------------- tables ----------------------------------------------- */
.leaderboard-section h2 {
	margin: 0 0 10px 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

th {
	background: #f2f2f2;
}

tbody tr:nth-child(even) {
	background: #f9f9f9;
}