
/* ==========================================================================
   LAYOUT LOGIN (Split Screen)
   ========================================================================== */
body.auth-body.layout-mobile {
	overflow: hidden;
}
body.auth-body.layout-desktop {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.login-form {
	background-color: #ffffff;
	overflow: auto;
	height: 100%;
	padding: 20px;
	text-align: center;
}
.login-image {
	background-image: url('../share/img/herriko-etxea.jpg'); /* Chemin vers la photo de la mairie */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	height: 100%;
}
/* ==========================================================================
   COMPOSANTS DU FORMULAIRE
   ========================================================================== */
.text-center { text-align: center;  }
.login-logo { width: 120px; height: auto; }
.login-title {
	font-size: 22px;
	font-weight: 400;
	color: #333;
}
.lang-choice {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0px 10px;
	margin-bottom: 40px;
}
#form-login {
	width: fit-content;
	margin: 0px auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	color: #666;
}

/* Champs de saisie */
#email, #password {
	width: 100%;
	padding: 12px;
	border-color: #ccc;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s;
}
#email:focus, #password:focus {
	border-color: #e61e29;
	outline: none;
}

/* Wrapper pour l'œil du mot de passe */
.input-password-wrapper { position: relative; }
.btn-pwd-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #e61e29; /* Rouge Urcuit */
	cursor: pointer;
	padding: 5px;
}
.btn-pwd-toggle .symbol { font-size: 20px; }

/* Ligne d'actions (Checkbox + Bouton) */
.form-row-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 25px;
}

/* Checkbox personnalisée (Simple et propre) */
.checkbox-container {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #666;
	cursor: pointer;
}
.checkbox-container input[type="checkbox"] { margin-right: 8px; }

/* Bouton Rouge Urcuit */
.btn-primary-red {
	background-color: #e61e29;
	color: white;
	border: none;
	padding: 10px 24px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}
.btn-primary-red:hover { background-color: #c81922; }

/* Lien MDP oublié */
.form-footer { text-align: center; margin-top: 30px; }
.form-footer a {
	font-size: 12px;
	color: #666;
	text-decoration: none;
}
.form-footer a:hover { color: #e61e29; text-decoration: underline; }
