@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
	font-family: "Raleway", sans-serif !important;
	font-weight: 500;
}


/* Style moderne et simple */
form {
	max-width: 600px;
	/* margin: 50px auto; */
	background: #fff;
	padding: 30px;
	border-radius: 10px;
	/* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
	transition: 500ms;
}

form:hover {
	box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

form label {
	display: block;
	margin-bottom: 8px;
	color: #333;
	text-align: left;
}

form input,
form select {
	width: 100%;
	padding: 10px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
}

.form-navigation {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 20px;
}

.form-navigation button {
	background-color: #4a90e2;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	flex: 1;
}

.form-navigation button:hover {
	background-color: #357ab8;
}

/* Pour cacher dynamiquement */
.hidden {
	display: none !important;
}


button {
	background-color: #4a90e2;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 6p x;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.2s ease;
}

button:hover {
	background-color: #357ab8;
}

.navDiv {
	justify-content: center;
	display: flex;
	gap: 10px;
	border-radius: 0px 0px 10px 10px;
	border: 0px solid #00000040;
	/* border: 1px solid rgb(207 207 207 / 40%); */
	border-top: none;

	padding: 10px;
}

#boutform {
	display: none;
}

.navDiv button {
	border-radius: 10px;
}

fieldset {
	border-radius: 10px 10px 0px 0px;
	border: 0px solid #00000040;
	border-bottom: none;
	margin: 0;
}



div.element {
	position: relative;
	margin: 0;
}

.row {
	margin-bottom: 10px;
}

input {
	margin: 0 !important;
}

div.element:has(input[type="text"])::after {
	position: absolute;
	content: "";
	width: 0%;
	height: 2px;
	background: black;
	bottom: 0;
	left: 0;
	transition: 1.5s;
}



div.element:has(input[type="text"])::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 1px;
	background: grey;
	bottom: 0;
	left: 0;
}

input[type="text"] {
	border: none;
	border-radius: 0;
	/* border-bottom: 1px solid grey; */
}

input[type="text"]:focus {
	outline: none;
}

div.element:has(input[type="text"]:focus)::after {
	width: 100%;
	background: grey;

}

table img {
	max-width: 100%;
}

.banner-container {
	margin: 10px;
	max-width: 100%;
	overflow-x: auto;
}

.banner-container img {
	width: 100%;
	height: auto;
	max-width: 728px;
	display: block;
	margin: 0 auto;
}


.form-container {
	width: 400px;
	/* largeur fixe pour desktop */
	margin: 20px auto;
	/* centr� avec marge */
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}


.rgpd-table {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	border-collapse: collapse;
}

/* Facultatif : adapte le texte */
.texte-rgpd,
.infotexte {
	font-size: 16px;
	line-height: 1.5;
	text-align: justify;
	display: block;
	padding: 10px;
}

.infotexte {
	text-align: center;

}

.img2 {
	display: none !important;
}

/* Pour �viter d�bordements sur mobile */
@media (max-width: 1000px) {
	form {
		max-width: 600px;
		margin: 20px;
	}
}

@media (max-width: 600px) {

	.img1 {
	display: none !important;
	}
	.img2 {
		display: block !important;
	}


	.rgpd-table {
		padding: 0 10px;
	}

	.texte-rgpd {
		font-size: 14px;
	}
}


span.error {
    color: red;
    position: absolute;
    right: 0;
}




#inscription {
    text-align: center;
    margin: auto;
    max-width: 700px;
    padding: 20px;
    border-radius: 12px;
    padding-top: 0px;
}

/* Texte informatif */
.texte-rgpd {
    display: block;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

/* Alerte champs obligatoires */
.texte-rgpd font {
    color: red;
    font-weight: bold;
}

/* Messages de r�ponse */
#sucess {
    background-color: #d1f3d1;
    color: #245b24;
    border-left: 6px solid #4CAF50;
    padding: 16px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 1rem;
	text-align: justify;
}


.center-lien {
    text-align: center; /* Centre le lien */
}

#error {
    background-color: #fddede;
    color: #861515;
    border-left: 6px solid #f44336;
    padding: 16px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 1rem;
}

/* Lien vers un badge suppl�mentaire */
.lienbadge {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}
.lienbadge:hover {
    color: #2d1485;
}

/* Table RGPD */
.rgpd-table {
    margin: auto;
    width: 90%;
    max-width: 800px;
    border-collapse: collapse;
    font-size: 0.95rem;
    /* background: #fff; */
    padding: 20px;
}

.rgpd-table .texte-rgpd {
    text-align: left;
    color: #555;
    line-height: 1.5;
    padding: 10px;
}

/* Responsiveness */
@media screen and (max-width: 768px) {
    #inscription, .rgpd-table {
        width: 95%;
    }
}



#qfauto-0-legend{
	width: 100%;
}