body {
	margin:10;
	padding:10;
	font:Georgia,Serif;
}

input.text { 
	color:#cc0000; 
	background-color:#ccccff; 
	font-size:17px; 
}

textarea { 
	color:#000000; 
	background-color:#ccccff; 
	font-size:17px; 
}

legend {
	color :saddlebrown;
	font-size:18px;
	font-style:bold;
}

fieldset {
	border:2px solid skyblue;
}

#principal {
	width:95%;
	border:solid 1px black;
	background:white;
	position:absolute;
	top:50px;
	left:2,5%;
}

#top {
	width:95%;
	border:solid 1px black;
	background:white;
	position:absolute;
	top:15px;
	left:2,5%;
}

#top input{
	background:skyblue;
}

/* Autocompletion */
.update{
	background-color:white;
	border:1px solid #888;
}

ul.contacts  {
	list-style-type: none;
	margin:0px;
	padding:0px;
	text-align: left;
}
ul.contacts li.selected { background-color: skyblue; cursor: pointer; }
li.contact {
	list-style-type: none;
	display:block;
	margin:0px;
	padding:0px;
	height:40px;
}
li.contact div.nom {
	font-weight:bold;
	font-size:14px;
	line-height:1.2em;
}

/* Styles pour la fonctionnalité d'affichage du mot de passe DSFR */
.fr-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.fr-input-wrap .fr-input {
	padding-right: 3rem;
	flex: 1;
}

.fr-input-wrap button {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 2;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fr-input-wrap button:hover {
	background-color: var(--hover-tint);
}

.fr-input-wrap button:focus {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

/* Icônes pour l'affichage du mot de passe */
.fr-input-wrap button::before {
	font-size: 1rem;
	color: var(--text-mention-grey);
}

.fr-input-wrap button:hover::before {
	color: var(--text-title-grey);
}

/* Styles pour le bouton "Afficher/Masquer" avec icône et texte */
#password-show {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.25rem !important;
	font-size: 0.875rem !important;
	color: var(--text-action-high-blue-france) !important;
}

/* Assurer que l'icône s'affiche correctement avec le texte */
#password-show::before {
	margin-right: 0.25rem;
	font-size: 1rem;
}

/* Styles pour le formulaire de connexion avec fond gris */
.login-form-container {
	background-color: #f6f6f6;
	padding: 2rem;
	margin-top: 1rem;
	border-radius: 0;
	border: none;
}

.login-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #161616;
	margin-bottom: 1.5rem;
	margin-top: 0;
}

/* Titre principal de la page */
h1 {
	font-size: 1.75rem;
	font-weight: 700;
	color: #161616;
	margin-bottom: 0.5rem;
}

/* Ajustements pour les champs dans le formulaire gris */
.login-form-container .fr-input-group {
	margin-bottom: 1.5rem;
}

.login-form-container .fr-input {
	background-color: white;
	border: 1px solid #ddd;
}

.login-form-container .fr-label {
	font-weight: 600;
	color: #161616;
}
