body {
	margin: 0;
	font-family: 'Inter', sans-serif;
	background-color: #f7f7f7;
	color: #333;
}

/* STARTSCHERM */
.setup-container {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 20px;
	box-sizing: border-box;
	background: linear-gradient(135deg, #fff, #e6e6e6);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.setup-container h1 {
	font-size: 2rem;
	margin-bottom: 30px;
	color: #111;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.input-group {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 300px;
	margin-bottom: 20px;
}

.input-group label {
	margin-bottom: 6px;
	font-weight: 500;
	color: #666;
	font-size: 0.9rem;
}

.input-group input {
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1rem;
	outline: none;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
	border-color: #000;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#playerList {
	list-style: none;
	margin-top: 6px;
	padding-left: 10px;
}

#playerList li {
	padding: 4px 0;
	border-bottom: 1px solid #ddd;
	font-weight: 500;
}

/* BUTTONS */
button {
	padding: 12px 20px;
	font-size: 1rem;
	background-color: #000;
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.2s;
}

button:hover {
	background-color: #333;
}

/* GRID SCROLL CONTAINER */
.grid-wrapper {
	width: 100%;
	overflow: auto;
	padding: 10px;
	box-sizing: border-box;
	background-color: #f7f7f7;
}

/* GRID CONTAINER */
.grid-container {
	display: flex;
	flex-direction: column;
	min-width: max-content;
}

/* CELLEN EN RIJEN */
.grid-row {
	display: flex;
}

.grid-row > div,
.grid-row > select,
.grid-row > button {
	width: 60px;
	height: 50px;
	min-width: 60px;
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: 0;
	padding: 0;
	font-size: 1rem;
	border: 1px solid #ccc;
	box-sizing: border-box;
	background-color: #fff;
}

.grid-row > select {
	cursor: pointer;
	background-color: #fff;
}

.grid-row > button {
	cursor: pointer;
	font-size: 1.2rem;
	background-color: #eee;
}

/* SCORES */
.scores {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	max-width: 400px;
	background-color: #fff;
	padding: 15px;
	border-radius: 12px;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.scores h2 {
	text-align: center;
	margin-bottom: 10px;
	color: #111;
}

.scores div {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
	font-weight: 500;
}

.scoreboardContainer {
	display: flex;
	flex-direction: column;
	gap: 15px; /* ruimte tussen scorebord en drankscorebord */
}

#drinkScoreboard {
	max-width: 600px;
}

/* Drinkscorebord styling */
.drink-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
	font-weight: 500;
}

.drink-label {
	font-weight: bold;
}

.drink-players {
	text-align: right;
}

/* DIALOOG VOOR REDEN */
.reason-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	display: none;
}

.reason-modal-content {
	background: #fff;
	padding: 20px;
	border-radius: 0;
	width: 90%;
	max-width: 300px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.reason-modal-content input {
	width: 80%;
	max-width: 250px;
	padding: 10px;
	margin: 20px auto;
	display: block;
	border: 1px solid #ccc;
	font-size: 1rem;
	text-align: center;
}

/* Reset modal opvallender */
.reset-warning h3 {
	margin-bottom: 10px;
}

.button-row {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	justify-content: center;
}

.danger-btn {
	background-color: #dc2626;
	color: white;
	border: none;
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
}

.danger-btn:hover {
	background-color: #b91c1c;
}

.cancel-btn {
	background-color: #e5e7eb;
	color: #111827;
	border: none;
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
}

.cancel-btn:hover {
	background-color: #d1d5db;
}

/* MOBIEL RESPONSIVE */
@media (max-width: 500px) {
	.grid-row > div,
	.grid-row > input,
	.grid-row > select {
		min-width: 80px;
		font-size: 0.9rem;
	}

	.input-group input {
		padding: 10px;
	}

	#startBtn {
		width: 100%;
	}
}
