.COULEUR_APPLI {
	color: rgb(65, 100, 230) !important;
}

.BORDER_COULEUR_APPLI {
	border-color: rgb(65, 100, 230) !important;
}

.fond-black {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1050;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 24px;
	overflow: auto;
}

.popup_uniface {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	max-width: 100%;
	max-height: calc(100vh - 48px);
	overflow: auto;
}

.container-fixe {
	background-color: rgb(243, 244, 246) !important;
}

.bord {
	background: rgb(245, 240, 250);
}

.titre-page-cong {
	color: rgb(65, 100, 230) !important;
	font-weight: bold !important;
	font-family: "Barlow", sans-serif !important;
	margin-bottom: 30px !important;
}

.bloc-page-cong {
	border-radius: 6px;
	background-color: white;
	border: 1px solid #cadcf4 !important;
	box-shadow: 0 0 20px #cadcf4 !important;
}

.srh-button-G {
	display: inline-block;
	transition: 0.2s;
	margin-right: 10px !important;
	font-weight: bold !important;
	padding: 5px 20px !important;
	border: 1px solid white !important;
	background-color: rgb(65, 100, 230) !important;
	color: white !important;
	border-radius: 6px !important;
	text-decoration: none;
	cursor: pointer;
}

.srh-button-G:hover {
	transform: translate(-0.25em, -0.25em) !important;
	background-color: white !important;
	color: rgb(65, 100, 230) !important;
	box-shadow: 4px 2px 2px rgb(65, 100, 230) !important;
	border: 1px solid rgb(65, 100, 230) !important;
}

.srh-button-G:active {
	transform: translate(0, 0) !important;
	box-shadow: none !important;
}

.srh-button-P {
	display: inline-block;
	padding: 5px 20px !important;
	margin-right: 10px !important;
	transition: 0.2s;
	font-weight: bold !important;
	background-color: rgb(242, 83, 41) !important;
	color: white !important;
	border: 1px solid white !important;
	border-radius: 6px !important;
	text-decoration: none;
	cursor: pointer;
}

.srh-button-P:hover {
	box-shadow: 4px 2px 2px rgb(242, 83, 41) !important;
	transform: translate(-0.25em, -0.25em) !important;
	background-color: white !important;
	color: rgb(242, 83, 41) !important;
	border: 1px solid rgb(242, 83, 41) !important;
}

.srh-button-P:active {
	transform: translate(0, 0) !important;
	box-shadow: none !important;
}

.affiche_filtre {
	background-color: rgb(250, 250, 250);
	border: 1px solid #cadcf4 !important;
	box-shadow: 0 0 20px #cadcf4 !important;
	border-radius: 8px;
	margin-bottom: 40px;
	padding: 8px;
}

.affiche_topbar_menu {
	position: relative;
	display: flex;
	justify-content: space-between;
}

.fichecli_form {
	color: black;
	font-weight: bold;
	font-size: 24px;
}

.button-filtre {
	position: absolute;
	font-size: 35px;
	right: 20px;
	height: 20px;
	cursor: pointer;
}

.affiche_choix_filtre {
	padding: 0 20px;
	/* overflow: hidden; */
	transition: max-height 0.5s, padding 0.5s;
}

.filtre-row {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 18px;
}

.filtre-item {
	flex: 1 1 calc(25% - 15px);
	display: flex;
	flex-direction: column;
	position: relative;
}

.label_filtre_form {
	font-weight: bold;
	margin-top: 10px;
}

.dropdown-container {
	position: relative;
	width: 100%;
}

.dropdown-button {
	cursor: pointer;
	padding-right: 42px !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dropdown-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.dropdown-popup {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 100%;
	background: #fff;
	border: 1px solid #cadcf4;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 20;
	display: none;
	max-height: 240px;
	overflow: auto;
}

.dropdown-popup ul {
	list-style: none;
	margin: 0;
	padding: 8px;
}

.dropdown-popup li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 4px;
}

.input_filtre_form,
.input_filtre_number_form,
.input-popup-form {
	border-radius: 6px;
	border: 1px solid #cadcf4;
	background-color: #fff;
}

.input_filtre_form {
	text-align: center;
	padding: 3px 0;
}

.input_filtre_number_form {
	text-align: center;
	padding: 3px 0;
	flex: 1 1 0%;
}

.div-affichage-formation {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 18px;
}

.div_formation_unique {
	display: flex;
	flex-direction: column;
	background-color: rgb(250, 250, 250);
	border: 1px solid black;
	border-radius: 10px;
	max-height: 220px;
	overflow: hidden;
	padding: 4px 8px;
	position: relative;
}

.titre_formation {
	display: block;
	text-align: center;
	color: #000;
	font-weight: bold;
	font-size: 20px;
}

.duree_formation {
	display: block;
	text-align: center;
	color: #666;
	font-size: 14px;
	font-weight: bold;
	margin-top: -3px;
	margin-bottom: 8px;
}

.description_formation {
	display: block;
	color: #999;
	font-size: 12px;
	text-align: center;
	overflow: hidden;
	margin-bottom: 12px;
}

.btn_info_sup_form {
	padding: 6px 0;
	margin: 12px 20%;
	border: 2px solid blue;
	border-radius: 12px;
	background-color: white;
	color: blue;
	transition: all 0.3s ease;
	align-items: flex-end;
	margin-top: auto;
	cursor: pointer;
}

.btn_info_sup_form:hover {
	color: white;
	background-color: blue;
}

.div-topbar-popup-form {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 0 6px 6%;
}

.titre-popup-form {
	font-size: 32px;
	font-weight: bold;
}

.div-content-popup-form-03 {
	padding: 30px 20px 9px 20px;
	background-color: #fff;
	display: grid;
	gap: 26px;
	border-top: 1px solid #000;
}

.div-content-popup-form-02 {
	padding: 9px 20px 30px 20px;
	background-color: #fff;
	display: grid;
	border-bottom: 1px solid #000;
}

.div-popup-content-box {
	border: 1px solid #333;
	border-radius: 18px;
	padding: 12px;
	background: #fff;
	text-align: left;
	margin-bottom: 20px;
}

.popup-content-title {
	display: flex;
	align-items: center;
	gap: 6px;
}

.popup-content-icon {
	margin: 0 6px;
	font-size: 26px;
}

.span-titre-popup-form {
	font-weight: bold;
	color: #333;
}

.popup-content-texte {
	margin: 10px 20px 0 5px;
}

.span-popup-form {
	color: #444;
}

.table-add-form {
	width: 100%;
	border-collapse: collapse;
}

.table-add-form tr {
	text-align: left;
}

.table-add-form td {
	padding: 15px;
	vertical-align: top;
}

.table-add-form tr td:nth-child(1) {
	width: 35%;
}

.table-add-form tr td:nth-child(2) {
	width: 65%;
}

.span-popup-form-01 {
	font-size: 16px;
	font-weight: bold;
}

.input-popup-form {
	font-size: 20px;
	width: 100%;
	height: 40px;
	margin: 2px;
}

.texte-input-form {
	position: absolute;
	top: 10%;
	left: 2%;
	font-size: 22px;
	color: #777;
	pointer-events: none;
	max-width: 100%;
	height: 30px;
	word-break: break-all;
	overflow: hidden;
}

.cadre-texte-champ-obligatoire {
	border: 1px solid;
	border-radius: 6px;
	padding: 4px 0;
	margin: 0 10%;
}

@media (max-width: 1025px) {
	.filtre-item {
		flex: 1 1 100%;
	}
}

@media (max-width: 900px) {
	.div-affichage-formation {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.table-add-form tr,
	.table-add-form td {
		display: block;
		width: 100% !important;
	}

	.div-topbar-popup-form {
		padding-left: 0;
	}

	.titre-popup-form {
		font-size: 26px;
	}
}

.page-cong:first-of-type {
	margin-top: 70px;
}

.filtre-item input {
	background-color: white;
	border: 1px solid #C4DCF4;
	box-shadow: 0 0 20px #C4DCF4;
}

.srh-button:disabled,
.srh-button-G:disabled,
.srh-button-P:disabled,
.srh-button[disabled],
.srh-button-G[disabled],
.srh-button-P[disabled],
.srh-button.disabled,
.srh-button-G.disabled,
.srh-button-P.disabled {
	background-color: #e9ecef !important;
	color: white !important;
	box-shadow: none !important;
	border: 1px solid white !important;
	transform: translate(0,0) !important;
	cursor: default !important;
}

.span-titre-popup-form {
	font-weight: bold;
	font-size: 18px;
	text-align: left;
	margin-right: 6%;
	color: #333;
}

.span-popup-form {
	margin-right: 14%;
	text-align: justify;
	font-size: 20px;
	color: #444;
}

.popup_uniface .nom-champ-page-cong {
	display: block;
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 6px;
}

@media (min-width: 1200px) {
	.popup_uniface {
		position: relative;
	}
}

/* ELL : DE004123 : popup "fiche formation" en paysage  */

/* Popup plus large pour accueillir 2 colonnes */
#ufld\:DIV\.POPUP\.TRA .popup_uniface {
	width: 1000px !important;
	max-width: 95vw;
}


/* Conteneur principal : 2 colonnes (description | tableau critères) */
.div-content-popup-landscape {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 24px;
	padding: 20px 20px 10px 20px;
	background-color: #fff;
	border-top: 1px solid #000;
	align-items: start;
}

/* Colonne de gauche : description */
.popup-landscape-description {
	border: 1px solid #333;
	border-radius: 18px;
	padding: 16px;
	background: #fff;
	height: 100%;
}

.popup-landscape-description .popup-content-title {
	margin-bottom: 10px;
}

.popup-landscape-description .popup-content-texte {
	margin: 0;
	font-size: 16px;
	color: #444;
	text-align: justify;
}

/* Colonne de droite : bloc critères (style "fiche" empilée) */
.popup-landscape-criteres {
	border: 1px solid #cadcf4;
	border-radius: 12px;
	padding: 18px 20px;
	background-color: rgb(65, 100, 230);
}

.criteres-popup-liste {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.critere-popup-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.critere-popup-item:not(:last-child) {
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.critere-popup-label {
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: orange;
}

.critere-popup-valeur {
	font-size: 16px;
	/* font-weight: bold; */
	color: #fff;
}

/* Bloc programme de formation + boutons d'action : sur la même ligne, sous les 2 colonnes */
.div-content-popup-form-programme {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 20px 25px 20px;
	background-color: #fff;
	border-bottom: 1px solid #000;
}

.div-content-popup-form-programme .div-popup-content-box {
	margin-bottom: 0;
	flex: 1 1 auto;
}

.div-content-popup-form-programme .popup-content-texte {
	justify-content: center !important;
}

/* Boutons d'action, à côté du programme */
.div-content-popup-actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

/* Responsive : repasse en 1 colonne sur petits écrans */
@media (max-width: 900px) {
	.div-content-popup-landscape {
		grid-template-columns: 1fr;
	}

	.div-content-popup-form-programme {
		flex-direction: column;
		align-items: stretch;
	}

	.div-content-popup-form-programme .popup-content-texte {
		justify-content: center !important;
	}

	.div-content-popup-actions {
		justify-content: center;
	}
}