html {
	scrollbar-width: thin;
}

li ul
{
	display:none;
}

li:hover ul
{
	display:block;
	position:relative;
	top:0;
}

/* Style du container du toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Masquer l'input checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Style du slider (fond) */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

/* Cercle intérieur (bouton qui glisse) */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  z-index: 1;
}

/* Ajouter un fond vert quand coché */
input:checked + .slider {
  background-color: #4caf50;
}

/* Déplacer le bouton (cercle) vers la droite */
input:checked + .slider:before {
  transform: translateX(26px);
}

/* Style pour les icônes */
.icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  transition: opacity 0.4s, color 0.4s;
  z-index: 2;
}

/* Icône X (état initial) */
.icon.unchecked {
  left: 10px;
  color: red; /* Rouge par défaut */
  opacity: 1;
}

/* Icône ✔ (état activé) */
.icon.checked {
  right: 10px;
  color: green; /* Vert par défaut */
  opacity: 0;
}

/* Afficher ou cacher les icônes selon l'état du toggle */
input:checked + .slider .icon.checked {
  opacity: 1; /* Montrer le ✔ */
  color: green; /* Maintenir la couleur verte */
}

input:checked + .slider .icon.unchecked {
  opacity: 1; /* Toujours visible */
  color: #A9A9A9; /* Gris pas très foncé pour le X */
}

input:not(:checked) + .slider .icon.unchecked {
  opacity: 1; /* Montrer le X */
  color: red; /* Maintenir la couleur rouge */
}

input:not(:checked) + .slider .icon.checked {
  opacity: 1; /* Toujours visible */
  color: #A9A9A9; /* Gris pas très foncé pour le ✔ */
}	

#EyeMdps {
	color: #aaa; /* Couleur grise par défaut */
	transition: color 0.3s ease;
}

#EyeMdps:hover {
	color: #000; /* Change la couleur lorsque vous passez la souris dessus */
}

.checkbox-group {
	margin: 10px 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.checkbox-container {
	display: flex;
	align-items: center;
	gap: 10px;
}
.checkbox-container input[type="checkbox"] {
	display: none;
}
.checkbox-container label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 2px solid #007bff;
	border-radius: 4px;
	cursor: pointer;
	background-color: white;
	position: relative;
	transition: all 0.3s ease;
}
.checkbox-container label::after {
	content: '✔'; /* La coche */
	position: absolute;
	font-size: 16px;
	color: green;
	display: none;
}
.checkbox-container input[type="checkbox"]:checked + label {
	background-color: #e6ffe6;
	border-color: green;
}
.checkbox-container input[type="checkbox"]:checked + label::after {
	display: block; /* Afficher la coche */
}
.checkbox-container span {
	font-size: 16px;
}
button {
	margin-top: 20px;
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	display: none; /* Caché par défaut */
}
button:hover {
	background-color: #0056b3;
}


/* Container principal */
.textarea-container {
    position: relative;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Label du textarea */
.textarea-label {
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: white;
    font-size: 12px;
    color: #57606a;
    padding: 0 5px;
    pointer-events: none;
    transition: 0.3s ease-in-out;
}

/* Style de base du textarea */
textarea {
    width: 100%;
    min-height: 150px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    color: #24292f;
    background-color: #f6f8fa;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    resize: vertical;
}

/* Style du textarea en hover */
textarea:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-color: #8cb3d9;
}

/* Style quand le textarea est en focus */
textarea:focus {
    border-color: #0969da;
    box-shadow: 0 0 0 2px rgba(9, 105, 218, 0.3);
    background-color: white;
}

/* Effet sur le label quand le textarea est en focus ou rempli */
textarea:focus + .textarea-label,
textarea:not(:placeholder-shown) + .textarea-label {
    color: #0969da;
    font-weight: bold;
}
	
.monimage
{
	// border-radius: 7% 7% 7% 7%;
	// border-radius: 16px 16px 16px 16px;
	border-radius: 15px 15px 15px 15px;			
	border: solid #bfb144 2px;
}