/* Styles de base */

body {
	padding-top: 75px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	margin: 0;
	font-family: sans-serif;
}

.content {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	max-width: 1000px;
	padding: 10px;
	margin: 0 auto;
	/* Centre le conteneur sur la page */
}

.content input[type="image"] {
	object-fit: cover;
	margin: 10px;
	height: auto;
	/* Hauteur ajustée pour responsivité */
	width: 100%;
	/* Largeur ajustée pour responsivité */
	max-width: 450px;
	/* Largeur max fixe */
	max-height: 100%;
	/* Contrainte de hauteur ajoutée */
	border-radius: 40px;
}

.selected-poster {
	box-shadow: 10px 10px 15px darkgray;
	border: 6px solid dodgerblue;
	transform: scale(1.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tabOrange tr {
	height: 32px;
	text-align: center;
}

.tabOrange tr:nth-child(odd) {
	background-color: #d0ecfd;
	color: #062898;
}

.tabOrange tr:nth-child(even) {
	background-color: #d0ecfd;
	color: #062898;
}

.tabOrange thead tr:nth-child(1) {
	background-color: #46a7f7;
	color: white;
}

#voteButton {
	position: fixed;
	bottom: 20px;
	right: 60px;
	height: 50px;
	line-height: 50px;
	border: none;
	background-image: linear-gradient(to right, #007BFF, #00DBDE);
	color: white;
	border-radius: 50px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
	cursor: pointer;
	font-family: 'Arial', sans-serif;
	padding: 0 25px;
	text-align: center;
	text-decoration: none;
	transition: all 250ms;
	font-size: 18px;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	display: none;
	/* Initial state hidden, shown via JS */
	animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
	0% {
		box-shadow: 0 0 0 0px rgba(0, 123, 255, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
	}

	100% {
		box-shadow: 0 0 0 0px rgba(0, 123, 255, 0);
	}
}

#voteButton:hover {
	background-image: linear-gradient(to right, #0056b3, #00c6ff);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 8px 25px rgba(0, 0, 0, 0.22);
	transform: scale(1.05);
}

/* Médias queries pour les appareils mobiles */
@media (max-width: 768px) {
	#voteButton {
		width: 80%;
		bottom: 10px;
		/* Ajustement pour mieux s'adapter aux petits écrans */
		right: 10px;
		/* Ajustement pour mieux s'adapter aux petits écrans */
		left: 50%;
		transform: translateX(-50%);
		display: block;
	}

	.content input[type="image"] {
		margin: 5px;
		/* Marges réduites pour petits écrans */
	}

	/* Ajustements de texte pour une meilleure lisibilité sur petits écrans */
	body,
	.tabOrange tr,
	.selected-poster,
	#voteButton {
		font-size: 14px;
	}
}