/* Valdeligaen Frontend Styles */
.val-prediction-container, .val-bonus-container, .val-leaderboard-container {
	margin: 20px 0;
	padding: 15px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.val-prediction-table, .val-leaderboard-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.val-prediction-table th, .val-prediction-table td, 
.val-leaderboard-table th, ..val-prediction-table td {
	padding: 12px 8px;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.val-match-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.val-team-name {
	width: 40%;
	font-weight: bold;
}

.val-prediction-options {
	width: 20%;
	display: flex;
	justify-content: space-around;
}

.val-team-home { text-align: right; padding-right: 10px; }
.val-team-away { text-align: left; padding-left: 10px; }

@media screen and (max-width: 600px) {
	.val-team-name { width: 50%; }
	.val-prediction-options { width: 100%; margin-top: 10px; }
}

.val-success-message {
	background-color: #d4edda;
	color: #155724;
	padding: 15px;
	border-radius: 4px;
	margin-top: 10px;
	border: 1px solid #c3e6cb;
}

.val-error-message {
	background-color: #f8d7da;
	color: #721c24;
	padding: 15px;
	border-radius: 4px;
	margin-top: 10px;
	border: 1px solid #f5c6cb;
}

.val-prediction-table th {
	background-color: #f8f9fa;
	font-weight: bold;
}

/* Mobile Responsiveness */
@media screen and (max-width: 600px) {
	.val-prediction-table thead {
		display: none;
	}
	
	.val-prediction-table tr {
		display: block;
		margin-bottom: 15px;
		border: 1px solid #ddd;
		padding: 10px;
		border-radius: 5px;
	}
	
	.val-prediction-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		border: none;
		padding: 5px 0;
	}
	
	.val-prediction-table td::before {
		content: attr(data-label);
		font-weight: bold;
		margin-right: 10px;
	}
}

.val-special-prediction {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #0073aa;
}

.val-bonus-question {
	margin-bottom: 20px;
	padding: 15px;
	background: #f0f0f0;
	border-radius: 5px;
}

.button {
	background: #0073aa;
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	width: 100%;
}

.button:hover {
	background: #005177;
}

input[type="text"], input[type="number"], select {
	width: 100%;
	padding: 8px;
	margin: 5px 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}
