/* Définir une police d'écriture plus sobre et plus petite */
table {
	font-family: Arial, sans-serif;
	font-size: 14px;
}

/* Style pour le titre de la table */
h2 {
	color: #333;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

/* Style pour les en-têtes de la table */
table.dataTable thead th {
	background-color: #5c5f7f;
	color: white;
	text-align: center;
}

/* Style pour les lignes de la table */
table.dataTable tbody tr {
	background-color: #f9f9f9;
}

table.dataTable tbody tr:nth-child(even) {
	background-color: #e9e9e9;
}

/* Style pour les cellules */
table.dataTable tbody td {
	padding: 10px;
	text-align: center;
}

/* Style pour les liens */
.link-icon {
	font-size: 1.2em;
	color: #fb236a;
	cursor: pointer;
}

/* Personnalisation de la pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
	padding: 0.5em 1em;
	margin-left: 2px;
	background-color: #007bff;
	color: white !important;
	border: none;
	border-radius: 4px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
	background-color: #d3d3d3;
}

/* Personnalisation de la box de recherche */
.dataTables_wrapper .dataTables_filter {
	float: right;
	text-align: right;
}
.dataTables_wrapper .dataTables_filter input {
	margin-left: 0.5em;
	padding: 0.5em;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/* Masquer le lengthMenu */
/*.dataTables_length {
	display: none;
}*/

/* Alignement des informations sur les entrées */
.dataTables_info {
	float: left;
}

body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.top-left-icons {
	position: fixed;
	top: 10px;
	left: 10px;
	display: flex;
	gap: 10px;
}
.top-left-icons a {
	text-decoration: none;
	color: #ffffff;
	font-size: 24px;
}
.top-left-icons a:hover {
	color: #fb236a;
}
.search-container {
	margin: auto;
}
.search-input {
	width: 100%;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 10px;
}
.search-result {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: none; /* Initially hide the list */
}
.search-result li {
	padding: 10px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}
.search-result li:last-child {
	border-bottom: none;
}

body {
	font-family: Arial, sans-serif;
}

.container-check {
	padding: 20px;
	border: 2px solid #5c5f7f;
	border-radius: 5px;
}

.container {
	width: 300px;
	margin: 50px auto;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.input-container {
	position: relative;
}

#input-field {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 5px;
}

#dropdown-list {
	position: absolute;
	width: 100%;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	max-height: 150px;
	overflow-y: auto;
	list-style: none;
	padding: 0;
	margin: 0;
	z-index: 1000;
}

#dropdown-list li {
	padding: 8px;
	cursor: pointer;
}

#dropdown-list li:hover {
	background: #f0f0f0;
}

.hidden {
	display: none;
}

.selected-items-container {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.selected-item {
	background: #5c5f7f;
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	display: flex;
	align-items: center;
}

.selected-item span {
	margin-right: 10px;
}

.selected-item .remove-item {
	cursor: pointer;
	background: #fb236a;
	border-radius: 50%;
	padding: 2px 5px;
}

#limit-message {
	color: #fb236a;
	font-weight: bold;
	margin-top: 4px; /* Adjust as needed */
}

.hidden {
	display: none;
}

.container-en {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
}

.input-field-en {
	width: 100%;
	padding: 10px;
	font-size: 16px;
	margin-bottom: 10px;
}

.dropdown-list-en {
	list-style-type: none;
	padding: 0;
	margin: 0;
	border: 1px solid #ccc;
	max-height: 150px;
	overflow-y: auto;
	position: absolute;
	background: white;
	z-index: 1000;
	width: 100%;
}

.dropdown-list-en li {
	padding: 10px;
	cursor: pointer;
}

.dropdown-list-en li:hover {
	background-color: #ddd;
}

.selected-items-en {
	margin-top: 20px;
}

.selected-item-en {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.selected-item-en span {
	width: 50%;
}

.status-select-en {
	width: 50% !important;
	padding: 10px;
	font-size: 16px;
}

.remove-item-en {
	margin-left: 10px;
	cursor: pointer;
	color: red;
}

.max-limit-msg-en {
	color: red;
	font-size: 14px;
	margin-top: 10px;
	display: none;
}

.error-message {
	color: red;
	margin-top: 10px;
}

.success-message {
	color: green;
	margin-top: 10px;
}

.rating-container {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.texte {
	flex: 1;
	font-size: 15px;
	color: #5c5f7f;
}

.rating-stars {
	display: flex;
}

.rating-stars .star {
	font-size: 24px;
	cursor: pointer;
	color: #ccc;
	transition: color 0.25s;
	border: 1px solid #ccc;
	padding: 5px;
	border-radius: 5px;
}

.rating-stars .star:hover,
.rating-stars .star.active,
.rating-stars .star.hovered {
	color: #ffcc00;
	border-color: #ffcc00;
}

.container-offer {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.item-offer {
	margin: 0 20px;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 10px;
	width: 250px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
	width: 200px;
	height: 200px;
	max-width: none;
	transition: opacity 0.3s ease;
}

.plan-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
	text-align: center;
	color: #5c5f7f;
}

.quantity {
	font-size: 16px;
	margin-top: 10px;
	color: #5c5f7f;
	font-weight: bold;
}

.create-offer-button {
	margin-top: 20px;
	/*padding: 10px 15px;*/
	background-color: #5c5f7f;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
}

.create-offer-button:hover {
	background-color: #fb236a;
}

.reorder-button {
	margin-top: 40px;
	padding: 12px 25px;
	background-color: #5c5f7f;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 18px;
}

.reorder-button:hover {
	background-color: #fb236a;
}

.grayed-out {
	opacity: 0.5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.container-offer {
		flex-direction: column;
	}

	.item-offer {
		margin-bottom: 20px;
	}
}
