@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* GENERAL */
html
{
	height: 100%;
}
*
{
	box-sizing: border-box;
	outline: none;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
BODY
{
	height: 100%;
	margin: 0;
	font-family: 'Open Sans',sans-serif;
	font-size: 14px;
	color: #353535;
	background-color: #141414;
}
::-webkit-scrollbar
{
  width: 10px;
}
::-webkit-scrollbar-thumb
{
  background-color: #141414;
  border-radius:10px;
  transition: all 0.5s ease;
}
::-webkit-scrollbar-thumb:hover
{
  background-color: #1e1e2d;
  transition: all 0.5s ease;
}
::-webkit-scrollbar-track
{
  background-color: #f1f1f1;
}
.flex-1
{
	width : 8.333333%;
}
.flex-2
{
	width : 16.666667%;
}
.flex-3
{
	width : 25%;
}
.flex-4
{
	width : 33.33%;
}
.flex-5
{
	width : 41.666667%;
}
.flex-6
{
	width : 50%;
}
.flex-7
{
	width : 58.333333%;
}
.flex-8
{
	width : 66.66%;
}
.flex-9
{
	width : 75%;
}
.flex-10
{
	width : 83.333333%;
}
.flex-11
{
	width : 91.666667%;
}
.flex-12
{
	width : 100%;
}
.content
{
	border-radius: 0.5rem;
	background-color: #fff;
	padding: 1rem;
	box-shadow: 0px 6px 16px 2px rgba(0, 0, 0, 0.05);
}
BODY > .content_page
{
	display: flex;
/*	height: 100%;*/
	min-height: 100%;
}
BODY > .content_page > header
{
	flex-basis: 13%;
	background-color: #0f1729;
	transition: flex-basis 0.3s ease;
}
BODY > .content_page > header.reduc
{
	flex-basis: 4%;
	transition: flex-basis 0.3s ease;
}
BODY > .content_page > header > .logo
{
	width: 100%;
	height: 70px;
	overflow: hidden;
	padding: 10px 30px;
	position: relative;
}
BODY > .content_page > header > .logo > div
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
BODY > .content_page > header.reduc > .logo
{
	display: none;
}
BODY > .content_page > header > .logo img
{
	width: 100%;
}
BODY > .content_page > header > nav > ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}
BODY > .content_page > header > nav > ul > li > a
{
	margin: 5px 0 5px 0;
	padding: 10px 25px;
	width: 100%;
	display: block;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color, font-size 0.2s ease;
	color: #a2a6b9;
	position: relative;
}
BODY > .content_page > header > nav > ul > li > a > i
{
	font-size: 15px;
}
BODY > .content_page > header > nav > ul > li > a > div
{
	display: inline-block;
	margin-left: 10px;
}
BODY > .content_page > header > nav
{
	position: sticky;
	top: 70px;
}
BODY > .content_page > header.reduc > nav
{
	margin-top: 60px;
}
BODY > .content_page > header.reduc > nav > ul > li > a > div
{
	display: none;
}
BODY > .content_page > header.reduc > nav > ul > li > a
{
	font-size: 20px;
	text-align: center;
	margin-left: 0;
	width: 100%;
}
BODY > .content_page > header > nav > ul > li > a.select, BODY > .content_page > header > nav > ul > li > a:hover
{
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background-color, font-size 0.2s ease;
}
BODY > .content_page > header > nav > ul > li > a.select::before, BODY > .content_page > header > nav > ul > li > a:hover::before
{
	content: "";
	width: 4px;
	height: 100%;
	position: absolute;
	inset-inline-start: 0;
	background-color: #fff;
	border-radius: 0 0.75rem 0.75rem 0;
	top: 0;
	left: 0;
	z-index: 99;
}
BODY > .content_page > header > nav a.dropdown-toggle
{
	margin-bottom: 0 !important;
}
BODY > .content_page > header > nav .dropdown-menu
{
	margin: -5px 0 0 35px;
	border-radius: 0 0 5px 5px;
	display: none;
}
BODY > .content_page > header > nav .dropdown.select > .dropdown-menu
{
	display: block;
}
BODY > .content_page > .reduc > nav .dropdown.select > .dropdown-menu
{
	display: none;
}
BODY > .content_page > header > nav .dropdown-menu > ul
{
	padding: 0;
	margin: 0;
	list-style: none;
}
BODY > .content_page > header > nav .dropdown-menu > ul > li > a
{
	margin: 5px auto;
	padding: 2px 5px;
	width: 90%;
	display: block;
	text-decoration: none;
	box-sizing: border-box;	
	color: #a2a6b9;
}
BODY > .content_page > header > nav .dropdown-menu > ul > li > a.select
{
	color: #fff;
}
BODY > .content_page > header > nav .dropdown-menu > ul > li > a > i
{
	margin-right: 5px;
}
BODY > .content_page > header > nav .dropdown-menu > ul > li > a > div
{
	display: inline-block;
}
BODY > .content_page > .contenu
{
	flex-basis: 87%;
	transition: flex-basis 0.3s ease;
	background-color: #eef1f7;
	overflow: hidden;
}
BODY > .content_page > header .reduction
{
	position: fixed;
	top: 4px;
	left: 228px;
	width: 39px;
	transition: 0.3s ease all;
	z-index: 99;
}
BODY > .content_page > .reduc .reduction
{
	position: fixed;
	left: calc(76px - 20px);
	width: 40px;
	transition: 0.3s ease all;
}
BODY > .content_page > .reduc .reduction span
{
	display: none;
}
BODY > .content_page > .reduc
{
	flex-basis: 96%;
	transition: flex-basis 0.3s ease;
}
BODY > .content_page > .contenu > section
{
	margin: 15px;
	min-height: calc(100% - 79px);
	padding: 20px;
}
.nav-top
{
	width: 100%;
	padding: 15px 15px 15px 30px;
	background-color: #fff;
	text-align: left;
	position: relative;
	left: 50%;
	transform: translate(-50%, 0);
}
.nav-toggle
{
	padding: 10px;
	background-color: #fff;
	border-radius: 50vh;
	cursor: pointer;
	color: #090f1c;
	transition: all 0.5s ease;
	border: 1px solid #090f1c;
}
.nav-toggle span
{
	display: none;
}
h1
{
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	text-align: left;
	color: #000000;
	margin: 0;
	margin-bottom: 20px;
}
h2
{
	margin: 0;
	padding: 25px 0 10px;
	text-align: center;
	text-transform: uppercase;
	font-size: 26px;
	font-weight: normal;
	color: #010101;
}
h3
{
	margin: 5px 0;
	text-align: center;
	font-size: 14px;
	color: #010101;
}
a
{
	color: #696969;
}
a:active,
a:focus
{
	color: #fff;
}
.titre-article
{
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	font-size: 17px;
	line-height: 23px;
	text-align: justify;
	color: #000000;
	margin: 30px 0 0;
	padding: 0;
	text-transform: initial;
}
.notification
{
  margin: 20px auto;
	padding: 12px 20px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	width: 100%;
	text-align: left;
}
label.notification
{
	padding: 5px 10px;
	font-weight: normal;
	font-size: 12px;
}
.notification.validation
{
  background-color: #4CAF50;
}
.notification.erreur
{
  background-color: #f44336;
}
.notification.information
{
  background-color: #3694f4;
}

/*TOASTMM*/
.notification-top {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 320px;
    z-index: 1000;
    perspective: 1000px; /* Ajout de perspective pour l'effet 3D */
    transition: transform 0.3s ease;
}
.notification-top:hover > div {
	display: block !important;
	transform: initial !important;
	position: relative;
	margin: 5px 0;
}
.notification-top:hover > div:first-child
{
	margin-top: 0px;
}
.notification-top:hover > div .close-toast
{
	z-index: 100;
}

.notif-top {
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px) translateX(10px) scale(0.9); /* Effet empilé initial */
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute; /* Modifié pour un positionnement absolu */
    pointer-events: auto;
    width: 100%;
}

.notif-top > div
{
	display: flex;
	flex: 1;
	align-items: center;
}

/* Appliquer des transformations de superposition */
.notif-top.show {
    opacity: 1;
}

.notification-top .notif-top:nth-child(1) {
    transform: translateY(0px) translateX(0px) scale(1);
    z-index: 99;
}

.notification-top .notif-top:nth-child(2) {
    transform: translateY(-10px) translateX(-5px) scale(0.80);
    z-index: 98;
}

.notification-top .notif-top:nth-child(3) {
    transform: translateY(-20px) translateX(-10px) scale(0.70);
    z-index: 97;
}

.notification-top .notif-top:nth-child(4) {
    transform: translateY(-30px) translateX(-15px) scale(0.60);
    z-index: 96;
}

.icone-notif {
    margin-right: 10px;
    font-size: 22px;
}

.text-notif {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
}

.close-toast {
  background: none;
	font-size: 20px;
	color: #888;
	cursor: pointer;
	position: absolute;
	top: -3px;
	left: -15px;
	z-index: 99;
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 50vh;
}

.close-toast:hover {
    color: #333;
}

.notif-top.success {
    border-left: 5px solid #51a351;
}

.notif-top.error {
    border-left: 5px solid #bd362f;
}

.notif-top.warning {
    border-left: 5px solid #BD932F;
}

.notif-top.violet {
    border-left: 5px solid #932FBD;
}


/*BOUTIQUE*/
label.label_paiement
{
	padding: 5px 10px;
	font-weight: 500;
	font-size: 0.75em;
	border-radius: 50rem;
}
.label_paiement.validation
{
  background-color: #e8fdf8;
  color: #1de9b6;
  border-color: #1de9b6;
	border: 1px solid;
}
.label_paiement.erreur
{
  background-color: #feeceb;
  color: #f44236;
  border-color: #f44236;
	border: 1px solid;
}
.label_paiement.information
{
  background-color: #e6f6fe;
  color: #04a9f5;
  border-color: #04a9f5;
	border: 1px solid;
}
.label_paiement.alert
{
  background-color: #fef9ea;
  color: #f4c22b;
  border-color: #f4c22b;
	border: 1px solid;
}
#commandeInfo
{
	display: flex;
}
#commandeInfo > .commande_detail
{
	flex-basis: 72%;
	border-right: 1px solid #000;
	padding-right: 20px;
}
#commandeInfo > .commande_info
{
	padding-left: 20px;
	flex-basis: calc(100% - 72%);
}
#commandeInfo span.labelDataProduit
{
	/*color: #fff !important;*/
	/*background-color: #0f1729 !important;*/
	display: inline-block !important;
	padding: 2px 6px !important;
	font-size: 11px !important;
	font-weight: bold !important;
}
#commandeInfo .infoLabelProduit.plan > *
{
	vertical-align: middle;
}
#commandeInfo ul.ulGamme
{
	padding: 0;
	margin: 0;
	margin-left: 30px;
	list-style: none;
}
#commandeInfo ul.ulGamme > li
{
	padding: 5px;
	border-radius: 10px;
}
#commandeInfo ul.ulGamme > li .color_blue
{
	color: #00609b;
}
#commandeInfo ul.ulGamme > li > ul
{
	margin: 0;
	padding: 0;
	list-style: none;
}
#commandeInfo ul.ulGamme > li > ul > li
{
	padding: 2px 0;
}
#commandeInfo table thead
{
	background-color: #0f1729;
	color: #fff;
}
#commandeInfo table tbody tr:not(:last-child)
{
	border-bottom: 1px solid #000;
}
#commandeInfo .detail_bloc_droite
{
	border-radius: 0.25rem;
	border: 1px solid #e9ebec;
	color: #212529;	
	margin-bottom: 20px;
}
#commandeInfo .detail_bloc_droite > .titre
{
	border-bottom: 1px solid #e9ebec;
	padding: 1rem;
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 7px 0;
	color: #495057;
	display: flex;
	justify-content: space-between;
}
#commandeInfo .detail_bloc_droite > .titre span.picto
{
	margin-right: 7px;
}
#commandeInfo .detail_bloc_droite > .contenu_detail
{
	padding: 1rem;
}
#commandeInfo .detail_bloc_droite > .contenu_detail > ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}
#commandeInfo .detail_bloc_droite > .contenu_detail > ul > li:first-child
{
	padding-bottom: 5px;
}
#commandeInfo .detail_bloc_droite > .contenu_detail > ul > li:not(:first-child):not(:last-child)
{
	padding: 5px 0;
}
#commandeInfo .detail_bloc_droite > .contenu_detail > ul > li:last-child
{
	padding-top: 5px;
}
#commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting
{
	display: flex;
	gap: 25px;
	align-items: center;
}
#commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting > .picto
{
	flex-basis: 60px;
}
#commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting > div:last-child
{
	flex-basis: calc(100% - 60px);
}
#commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting form > div
{
	display: flex;
	gap: 10px;
}
#commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting form > div select, #commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting form > div input
{
	padding: 5px 10px;
	width: 100%;
	max-width: initial;
	border-radius: 0.5rem;
}
#commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting form > div > fieldset:first-child
{
	flex-basis: 45%;
}
#commandeInfo .detail_bloc_droite > .contenu_detail .transporteur .trackWaiting form > div > fieldset:last-child
{
	flex-basis: 100%;
}
#commandeInfo .coordonnees_commande
{
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}
#commandeInfo .coordonnees_facturation, #commandeInfo .coordonnees_livraison
{
	border-radius: 0.25rem;
	border: 1px solid #e9ebec;
	color: #212529;	
	flex-basis: 50%;
}
#commandeInfo .coordonnees_facturation .contenu_coordonnee, #commandeInfo .coordonnees_livraison .contenu_coordonnee
{
	padding: 1rem;
}
#commandeInfo .coordonnees_facturation .contenu_coordonnee > div.nom, #commandeInfo .coordonnees_facturation .contenu_coordonnee > div.societe, #commandeInfo .coordonnees_livraison .contenu_coordonnee > div.nom, #commandeInfo .coordonnees_livraison .contenu_coordonnee > div.societe
{
	font-weight: bold;
}
#commandeInfo .coordonnees_livraison .contenu_coordonnee .codePickup
{
	color: red;
	font-weight: bold;
}
#commandeInfo .coordonnees_facturation > .titre, #commandeInfo .coordonnees_livraison > .titre
{
	border-bottom: 1px solid #e9ebec;
	padding: 1rem;
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 7px 0;
	color: #495057;
	display: flex;
	justify-content: space-between;
}
#commandeInfo .coordonnees_facturation > .titre span.picto, #commandeInfo .coordonnees_livraison > .titre span.picto
{
	margin-right: 7px;
}
#commandeInfo .infoProduits
{
	border-radius: 0.25rem;
	border: 1px solid #e9ebec;
	color: #212529;	
}
#commandeInfo .infoProduits table
{
	margin-bottom: 0;
}
#commandeInfo .infoProduits > .titre
{
	border-bottom: 1px solid #e9ebec;
	padding: 1rem;
	font-size: 16px;
	font-weight: bold;
/*	margin: 0 0 7px 0;*/
	color: #495057;
	display: flex;
	justify-content: space-between;
}
#commandeInfo .infoProduits > .titre span.picto
{
	margin-right: 7px;
}
#commandeInfo .infoProduits .button
{
	background-color: #0f1729;
	border-color: #0f1729;
	padding: 0.25rem 0.5rem;
	font-size: 0.765625rem;
	border-radius: 0.2rem;
	text-decoration: none;
	color: #fff;
}
#commandeInfo .infoProduits .button:hover, #commandeInfo .infoProduits .button:focus, #commandeInfo .infoProduits .button:active
{
	background-color: #1f88c0;
	border-color: #1f88c0;
}
#commandeInfo .detail_bloc_droite .button, #commandeInfo .detail_bloc_droite button
{
	background-color: #0f1729;
	border-color: #0f1729;
	padding: 0.25rem 0.5rem;
	font-size: 0.765625rem;
	border-radius: 0.2rem;
	text-decoration: none;
	color: #fff;
	border: none;
}
#commandeInfo .detail_bloc_droite .button:hover, #commandeInfo .detail_bloc_droite button:hover, #commandeInfo .detail_bloc_droite .button:focus, #commandeInfo .detail_bloc_droite button:focus, #commandeInfo .detail_bloc_droite .button:active, #commandeInfo .detail_bloc_droite button:active
{
	background-color: #1f88c0;
	border-color: #1f88c0;
}

.onglet_page ul
{
	margin: 0;
	padding: 0;
	list-style: none;
}
.onglet_page ul > li
{
	display: inline-block;
	padding: 5px 15px;
	background-color: #ebebeb;
	border-radius: 5px;
	transition: all 0.2s ease;
	cursor: pointer;
}
.onglet_page ul > li.select, .onglet_page ul > li:hover
{
	font-weight: bold;
	background-color: #141414;
	color: #fff;
	transition: all 0.2s ease;
}
.onglet_page ul > li > a
{
	text-decoration: none;
}
.onglet_page ul > li:hover > a
{
	color: #fff;
}
.contenu_page > div
{
	display: none;

	margin: 20px 0;
	border-radius: 5px;
}
.contenu_page > .select
{
	display: block;
}
.login
{
	background: url('../img/bg_login2.jpg');
	background-repeat: no-repeat;
	background-size: 100%;
	height: 100%;
	width: 100%;
}
.login::before
{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(30, 30, 30, 0.8);
	content: '';
}
.login_left h2
{
	color: #fff;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
.login_contenu > div:first-child
{
	width: 65%;
	height: 100vh;
	position: relative;
}
.form_login
{
	width: 75%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.form_login label
{
	text-align: center;
	font-weight: bold;
	width: 100%;
	display: block;
	margin-bottom: 5px;
}
.form_login > form > div
{
	margin-bottom: 20px;
}
.login_left
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.login_form
{
	width: 35%;
	padding: 15px;
	background-color: #fff;
	top: 0;
	right: 0;
	position: absolute;
	height: 100%;
}
.logo_login
{
	max-width: 300px;
	margin: 30px auto;
}
.form_login input[type="submit"]
{
	width: 100%;
	display: block;
	padding: 15px;
	background-color: #141414;
	transition: background-color ease 0.2s;
}
.form_login input[type="submit"]:hover
{
	background-color: #404040;
	transition: background-color ease 0.2s;
}

/* CSS BASE */
.center
{
	justify-content: center;
	text-align: center;
}
.middle
{
	display: flex!important;
	align-items: center!important;
}
.middle.center
{
	justify-content: center;
}
table
{
	width: 100%;
	margin-bottom: 1rem;
	color: #212529;
	border-collapse: collapse;
	overflow: hidden;
}
table tbody tr
{
	border-bottom: 1px solid #f7f7f7;
}
table tbody tr:hover
{
	background-color: #f7f7f7;
}
table th,
table td
{
	padding: 0.75rem;
	vertical-align: middle;
}

table thead th
{
	vertical-align: bottom;
	border-bottom: 1px solid #e7edf3;
	border-top: 1px solid #e7edf3;
	text-align: left;
}

table tbody + tbody
{
	border-top: 2px solid #dee2e6;
}

table-striped tbody tr:nth-of-type(odd)
{
	background-color: rgba(0, 0, 0, 0.05);
}

table-hover tbody tr:hover
{
	background-color: rgba(0, 0, 0, 0.075);
}
table .action_table
{
	width: 0;
	white-space: nowrap;
}
table .action_table
{
	width: 0;
	white-space: nowrap;
}
.btn_table
{
	padding: 8px;
	background-color: #141414;
	border-radius: 10px;
	color: #fff;
	font-weight: bold;
}
table .action_btn_table
{
	text-align: center;
	width: 0;
	white-space: nowrap;
}
#position_produit td.position
{
	display: flex;
	gap: 5px;
	align-items: center;
}
#position_produit td.position > input
{
	max-width: 51px;
}
#position_image ul
{
	padding: 0;
	margin: 0;
}
#position_image li
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f7f7f7;
	padding: 10px;
	margin-bottom: 5px;
}

#position_image .position-container
{
	display: flex;
	align-items: center;
	gap: 20px;
}
#position_image .position-container input
{
	width: 51px;
	text-align: center;
}

/*MESSAGERIE*/
.messagerie
{
	height: calc(100vh - 215px);
	display: flex;
	background-color: #f1f0f0;
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.messagerie > .contenu_contact
{
	flex-basis: 25%;
	background-color: #fff;
	height: 100%;
	overflow: auto;
	border-right: 1px solid #cecece;
}
.messagerie > .contenu_contact > ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}
.messagerie > .contenu_contact > ul .contact
{
	display: flex;
	padding: 15px;
	border-bottom: 1px solid #cecece;
	align-items: center;
}
.messagerie > .contenu_contact > ul > .nonlu
{
	background-color: #ededed;
}
.messagerie > .contenu_contact > ul > li > a
{
	text-decoration: none;
}
.messagerie > .contenu_contact > ul .contact > .img_contact
{
	flex-basis: 15%;
}
.messagerie > .contenu_contact > ul .contact > .img_contact img
{
	width: 100%;
	border-radius: 50vh;
}
.messagerie > .contenu_contact > ul .contact > .info_contact
{
	padding: 0 0 0 15px;
	flex-basis: 85%;
}
.messagerie > .contenu_contact > ul .contact > .info_contact > div
{
	flex-basis: 85%;
}
.messagerie > .contenu_contact > ul .contact > .info_contact > .contact_info > div
{
	display: flex;
	align-items: top;
}
.messagerie > .contenu_contact > ul .contact > .info_contact > .contact_info > div > div:first-child
{
	flex-basis: 70%;
}
.messagerie > .contenu_contact > ul .contact > .info_contact > .contact_info > div > div:last-child
{
	flex-basis: 60%;
}
.messagerie > .contenu_contact > ul .contact > .info_contact > .contact_info > div > .time
{
	font-size: 11px;
	text-align: right;
	color: #000;
}
.messagerie > .contenu_contact > ul .contact > .info_contact > .contact_info
{
	flex-basis: 50%;
}
.messagerie > .contenu_contact > ul .contact > .info_contact > .contact_info .nom_contact
{
	display: block;
	font-weight: bold;
	color: #000;
}
.messagerie > .contenu_contact > ul .contact > .info_contact .sujet
{
	font-style: italic;
	color: #979797;
}
.messagerie > .contenu_contact > ul .contact > .info_contact .nom_form
{
	margin-top: 10px;
	margin-bottom: 10px;
}
.messagerie > .contenu_contact > ul .contact > .info_contact .nom_form > label
{
	padding: 5px 10px;
	border-radius: 10px;
	color: #000;
	background-color: #ebf3fe;
	font-size: 10px;
}
.messagerie > .contenu_message
{
	flex-basis: 75%;
}
.contenu_message > .content_msg > .info_message
{
	padding: 15px;
	background-color: #fff;
	display: flex;
}
.contenu_message > .content_msg > .info_message > div
{
	flex-basis: 50%;
}
.contenu_message > .content_msg > .info_message > div:first-child > .nom_prenom
{
	font-weight: bold;
}
.contenu_message > .content_msg > .info_message > div:first-child > .sujet
{
	font-style: italic;
	color: #979797;
}
.contenu_message > .content_msg > .info_message > div:last-child
{
	text-align: right;
}
.contenu_message > .content_msg > .info_message > div:last-child > .heure
{
	font-weight: bold;
}
.contenu_message > .content_msg > .message
{
	margin: 15px;
	background-color: #fff;
	min-height: 67vh;
	padding: 15px;
}

.preview
{
	height: 150px;
}
.preview > a > img
{
	height: 100%;
}

/*POPUP*/
#popup
{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: none;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(3px) saturate(0);
}

#popup-background
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.7;
}

#popup img
{
	display: block;
	margin: 0 auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#popup .contenu-popup
{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50%;
	background-color: #fff;
	transform: translate(-50%, -50%);
	border-radius: 0.3rem;
	border: 1px solid #e9ebec;
	box-shadow: 0 3px 3px rgba(56, 65, 74, 0.1);
	transition: transform .3s ease-out,-webkit-transform .3s ease-out;
	max-width: 500px;
}
#popup .popup_content
{
	background-color: #fff;
	z-index: 99;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 45%;
	transform: translate(-50%, -50%);
	padding: 15px;
	border-radius: 15px;
}
#popup .contenu-popup .popup-header
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 10px;
	padding-top: 10px;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	border-bottom: 1px solid #cecece;
	margin-bottom: 15px;
}
#popup .contenu-popup .title-header
{
	font-size: 1.015625rem;
	line-height: 1.5;
	color: #0f1729;		
	font-weight: bold;
}
#popup .contenu-popup .close-header span
{
	text-decoration: none;
	display: inline-block;
	width: 33px;
	height: 33px;
	border-radius: 50%;
	background-color: #fff;
	text-align: center;
	line-height: 33px;
	color: #0f1729;
	font-size: 24px;
	transition: all ease 0.5s;
	font-family: initial;
} 
#popup .contenu-popup .popup-section
{
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
#popup .contenu-popup .popup-footer
{
	align-items: center;
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 1px solid #cecece;
	margin-top: 15px;
}

@keyframes fadeIn
{
	0% {transform: translate(-50%, -60%); opacity: 0;}
	100% {transform: translate(-50%, -50%); opacity: 1;}
}

/*FORMULAIRE*/
fieldset
{
	margin : 0;
	padding : 0;
	border : 0;
}
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='password'],
input[type='number'],
input[type='calendar'],
input[type='datetime-local'],
select,
textarea
{
	margin: 2px 0;
	padding: 15px;
	outline: none;
	font-family: 'Open Sans',sans-serif;
	font-size: 14px;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border: 1px solid transparent;
	width: 100%;
}
input[type='color']
{
	margin: 2px 0;
	padding: 5px;
	outline: none;
	font-family: 'Open Sans',sans-serif;
	font-size: 14px;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border: 1px solid transparent;
	width: 100%;
	min-height: 35px;
}
textarea
{
	padding : 6px;
}
input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='calendar']:focus,
input[type='datetime-local']:focus,
select:focus,
textarea:focus
{
	border : 1px solid #51b1e7;
	outline : none;
}
input.error_form, textarea.error_form, select.error_form
{
	border: 1px solid #f44336;
	font-weight: bold;
	color: #7d7d7d;
}
form > fieldset
{
	display: block;
	gap: 20px;
}
form > fieldset > div
{
	width: 100%;
	display: flex;
	gap: 10px;
	align-items: center;
}
form > fieldset > div > *:not(label)
{
	margin-top: 15px !important;
}
form > fieldset > div > label, form > fieldset > div > .label
{
	flex-basis: 15% !important;
	font-weight: bold;
}
form > fieldset > .articles > div:not(.label)
{
	width: 100%;
} 
.articles > div > .article
{
	padding: 10px;
	border: 1px solid #000;
	border-radius: 10px;
	margin-bottom: 20px;
}
.articles > div > .article > label
{
	width: 100%;
	background-color: #141414;
	display: flex;
	color: #fff;
	padding: 10px;
	font-weight: bold;
	margin-bottom: 10px;
	align-items: center;
}
.articles > div > .article > label > div:first-child
{
	flex-basis: 100%;
}
.articles > div > .article > label > div:nth-child(2)
{
	background-color: #323232;
	padding: 5px 10px;
	margin: 0 5px;
	border-radius: 5px;
}
.articles > div > .article > label > div:nth-child(3)
{
	background-color: #323232;
	padding: 5px 13px;
	margin: 0 5px;
	border-radius: 5px;
}
.articles > div > .article > div > input
{
	margin-bottom: 10px;
}
.articles > div .articles_box
{
	display: flex;
	gap: 10px;
	align-items: center;
	padding-bottom: 10px;
}
.btn_add_article
{
	text-align: center;
	width: 100%;
}
.btn_add_article > .add_article
{
	background-color: #141414;
	border: 0;
	padding: 7px 20px;
	border-radius: 10px;
	color: #fff;
	margin: 20px 0;
	cursor: pointer;
}
form > fieldset:not(:first-child) > div
{
	margin-top: 30px;
}
form > fieldset textarea
{
	resize: vertical;
}
form > .btn
{
	text-align: center;
}
form .image-uploader, form .image-uploaders
{
	width: 100%;
}
form .upload-container
{
	border: 2px dashed #ccc;
	padding: 20px;
	width: 100%;
	height: 200px;
	text-align: center;
}
form input[type="submit"]
{
	background-color: #141414;
	border: 0;
	padding: 7px 20px;
	border-radius: 10px;
	color: #fff;
	margin: 20px 0;
}
.onoffswitch {
    position: relative; width: 90px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #0f1729; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block;
	width: 16px;
	margin: 9px;
	background: #FFFFFF;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 56px;
	border: 2px solid #999999;
	border-radius: 50rem;
	transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}
#datedropper
{
	position: fixed;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
}

.box_raccourcis > ul
{
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}
.box_raccourcis li
{
	background-color: #fff;
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
	transition: all .4s;
}
.box_raccourcis li:hover
{
	transform: translateY(calc(-1.5rem / 5));
	box-shadow: 0 5px 10px rgba(30,32,37,.12);
	transition: all .4s;
}
.box_raccourcis > ul a
{
	height: 70px;
	width: 115px;
	display: block;
	text-decoration: none;
	color: #7B7B7B;
	position: relative;
}
.box_raccourcis > ul a > div
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}
.box_raccourcis > ul a > div > span
{
	display: block;
	font-size: 37px;
}

#cards
{
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-top: 20px;
}
#cards > div
{
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
}
#cards .card-header
{
	padding: 0 15px;
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}
#cards .card-subheader
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #f9fbfc;
}
#cards .card-subheader > div
{
	flex-basis: calc(100% / 4);
	text-align: center;
	border-right: 1px dashed #e9ebec;
	border-top: 1px dashed #e9ebec;
	border-bottom: 1px dashed #e9ebec;
}
#cards .card-subheader > div:first-child
{
	border-left: 0;
}
#cards .card-subheader > div:last-child
{
	border-right: 0;
	border-left: 0;
}
#cards .card-subheader h5
{
	font-size: 18px;
	padding: 10px 0;
	margin: 0;
	color: #495057;
}
#cards .card-subheader p
{
	padding-bottom: 10px;
	margin: 0;
	color: #878a99;
}

#position_image ul
{
	padding: 0;
	margin: 0;
}
#position_image li
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f7f7f7;
	padding: 10px;
	margin-bottom: 5px;
}

#position_image .position-container
{
	display: flex;
	align-items: center;
	gap: 20px;
}
#position_image .position-container input
{
	width: 51px;
	text-align: center;
}

@media screen and (max-width:414px)
{
	BODY > .content_page > header
	{
		display: none;
		transition: all ease 0.5s;
		width: 0%;
	}
	BODY > .content_page > .contenu
	{
		width: 100%;
		word-break: break-word;
		flex-basis: 100%;
	}
	.nav-toggle
	{
		left: 10px;
	}
	.nav-top
	{
		padding: 15px 15px 15px 65px;
	}
	BODY > .content_page > header.reduc
	{
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		background-color: rgba(30, 30, 30,0.9);
		transition: all ease 0.5s;
		backdrop-filter: blur(5px) saturate(100%);
	}
	BODY > .content_page > header.reduc > nav > ul > li > a
	{
		color: #fff;
		text-align: left;
	}
	BODY > .content_page > header.reduc > nav > ul > li > a > div
	{
		display: inline-block;
	}
	form > fieldset > div
	{
		display: block;
	}
	.eleve_box
	{
		display: block;
	}
	.eleve_box > div
	{
		width: 100%;
	}

	.contenu_page > div
	{
		overflow: auto;
	}

	table
	{
		overflow-x: scroll;
		width: 100vh;
	}

	#table_eleve > thead > tr > th
	{
		white-space: nowrap;
	}
}

/* ============================================================
   SECTIONS BLOG — TYPES ET CHAMPS
   ============================================================ */

.article-inner
{
	padding: 10px 5px;
}

.article-row
{
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
}

.article-row-texte,
.article-row-photo
{
	display: block;
}

.article-label
{
	min-width: 135px;
	font-weight: 600;
	font-size: 13px;
	flex-shrink: 0;
}

.article-row-texte textarea,
.article-row-figcaption input,
.article-row-titre input,
.article-row-sous-titre input
{
	flex: 1;
}

/* Couleurs des sections par type */
.article[data-section-type="citation"]
{
	border-color: #2980b9;
}
.article[data-section-type="photo"]
{
	border-color: #27ae60;
}
.article[data-section-type="conclusion"]
{
	border-color: #8e44ad;
}
.article[data-section-type="citation"] > label
{
	background-color: #2980b9;
}
.article[data-section-type="photo"] > label
{
	background-color: #27ae60;
}
.article[data-section-type="conclusion"] > label
{
	background-color: #8e44ad;
}

/* ============================================================
   ICON PICKER
   ============================================================ */

.icon-picker-group
{
	display: flex;
	align-items: center;
	gap: 8px;
}

.btn-icon-picker
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid #ccc;
	background: #f5f5f5;
	cursor: pointer;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	transition: background 0.15s;
}
.btn-icon-picker:hover
{
	background: #e8e8e8;
}
.btn-icon-picker svg
{
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.btn-icon-clear
{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 12px;
	border-radius: 10px;
	border: 1px solid #e74c3c;
	background: #fff;
	color: #e74c3c;
	cursor: pointer;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	transition: background 0.15s;
}
.btn-icon-clear:hover
{
	background: #fff0ef;
}

/* Modale icon picker */
#lucide-icon-modal
{
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: flex;
	align-items: center;
	justify-content: center;
}
.icon-modal-overlay
{
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.5);
}
.icon-modal-box
{
	position: relative;
	background: #fff;
	border-radius: 15px;
	width: 92%;
	max-width: 720px;
	max-height: 82vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.icon-modal-header
{
	padding: 14px 16px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.icon-modal-header h3
{
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
.icon-search-wrapper
{
	flex: 1;
	position: relative;
	min-width: 180px;
}
.icon-search-wrapper > i
{
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	font-size: 13px;
}
.icon-search-wrapper input
{
	width: 100%;
	padding: 8px 10px 8px 33px;
	border-radius: 8px;
	border: 1px solid #ccc;
	box-shadow: none;
	margin: 0;
	font-size: 13px;
}
.icon-modal-close
{
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	color: #555;
	padding: 0 4px;
	line-height: 1;
}
.icon-modal-close:hover
{
	color: #000;
}
.icon-modal-count
{
	padding: 5px 16px;
	font-size: 12px;
	color: #888;
	border-bottom: 1px solid #f0f0f0;
	background: #fafafa;
}
.icon-modal-grid
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	gap: 4px;
	padding: 12px;
	overflow-y: auto;
	flex: 1;
}
.icon-modal-loading
{
	grid-column: 1 / -1;
	text-align: center;
	padding: 40px;
	color: #888;
}
.icon-grid-item
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 5px 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.12s;
	text-align: center;
}
.icon-grid-item:hover
{
	background: #f0f4ff;
}
.icon-grid-item svg
{
	width: 22px;
	height: 22px;
	margin-bottom: 5px;
	stroke-width: 1.5;
}
.icon-grid-item span
{
	font-size: 10px;
	color: #555;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

/* ============================================================
   PHOTO PAR SECTION
   ============================================================ */

.section-photo-upload
{
	width: 100%;
}
.section-photo-preview
{
	position: relative;
	display: inline-block;
	margin-bottom: 10px;
}
.section-photo-preview img
{
	max-height: 130px;
	border-radius: 8px;
	display: block;
}
.section-photo-remove
{
	position: absolute;
	top: -8px;
	right: -8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e74c3c;
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	padding: 0;
}
.section-photo-dropzone
{
	border: 2px dashed #ccc;
	border-radius: 10px;
	padding: 18px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	color: #888;
}
.section-photo-dropzone:hover,
.section-photo-dropzone.dragover
{
	border-color: #27ae60;
	background: #f0fff4;
}
.section-photo-dropzone.uploading
{
	border-color: #3498db;
	background: #f0f8ff;
}
.section-photo-dropzone.has-image
{
	border-style: dashed;
	border-color: #aaa;
	padding: 10px;
}
.section-photo-dropzone i
{
	font-size: 24px;
	display: block;
	margin-bottom: 6px;
}
.section-photo-dropzone p
{
	margin: 0;
	font-size: 13px;
}

/* ============================================================
   TEMPS DE LECTURE
   ============================================================ */

/* Badge dans la liste des articles */
.lecture-badge-list
{
	display: inline-block;
	padding: 3px 10px;
	border-radius: 50rem;
	background: #f0f4ff;
	color: #3c5cb8;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

/* Barre live dans le formulaire */
.lecture-live-bar
{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	margin: 10px 0 0;
	background: #f8f9ff;
	border: 1px solid #dde3f8;
	border-radius: 10px;
	font-size: 13px;
	color: #555;
	flex-wrap: wrap;
}
.lecture-live-icone
{
	color: #3c5cb8;
	font-size: 15px;
}
.lecture-badge-val
{
	font-weight: 700;
	color: #3c5cb8;
	font-size: 15px;
}
.lecture-badge-mots
{
	color: #888;
	font-size: 12px;
}
.lecture-live-sep
{
	color: #ccc;
}
.lecture-badge-saved
{
	color: #27ae60;
	font-size: 12px;
	font-weight: 600;
}

/* Atouts dynamiques (zones d'intervention) */
.atout-wrapper
{
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.atout-list
{
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.atout-item
{
	display: flex;
	align-items: center;
	gap: 8px;
}
.atout-item input[type="text"]
{
	flex: 1;
	min-width: 0;
	width: 100% !important;
}
.atout-remove
{
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fdecea;
	border: 1px solid #f5c6c2;
	border-radius: 6px;
	color: #c0392b;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	transition: background 0.15s;
}
.atout-remove:hover
{
	background: #f5c6c2;
}
.atout-add-btn
{
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	background: #f0f4ff;
	border: 1px dashed #aab8e8;
	border-radius: 6px;
	color: #3c5cb8;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s;
}
.atout-add-btn:hover
{
	background: #dde6ff;
}

/* Couleurs dynamiques (réalisations) */
.couleur-wrapper
{
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.couleur-list
{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.couleur-item
{
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f8f9ff;
	border: 1px solid #dde3f8;
	border-radius: 8px;
	padding: 6px 10px;
}
.couleur-picker
{
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	background: none;
	flex-shrink: 0;
}
.couleur-input
{
	width: 90px;
	font-family: monospace;
	font-size: 13px;
	text-transform: uppercase;
}
.couleur-remove
{
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fdecea;
	border: 1px solid #f5c6c2;
	border-radius: 50%;
	color: #c0392b;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.15s;
}
.couleur-remove:hover
{
	background: #f5c6c2;
}

/* Fieldset avec légende (réalisations) */
fieldset > legend
{
	font-weight: 700;
	font-size: 13px;
	color: #3c5cb8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0 6px;
	margin-bottom: 4px;
}

/* Fix : couleur-item — empêcher le CSS global d'étirer les inputs */
.couleur-item
{
	flex: 0 0 auto;
}
.couleur-item input[type="color"].couleur-picker
{
	flex: 0 0 36px;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px;
	max-width: 36px;
	padding: 2px;
	cursor: pointer;
	border-radius: 50%;
	border: 2px solid #dde3f8;
}
.couleur-item input[type="text"].couleur-input
{
	flex: 0 0 90px;
	width: 90px !important;
	min-width: 0;
}

/* Fix : preview image dans les formulaires */
.preview img
{
	max-width: 100%;
	max-height: 200px;
	width: auto;
	height: auto;
	border-radius: 8px;
	border: 1px solid #dde3f8;
	display: block;
}

/* FAQ — groupes par page et badge */
tr.faq-group-header td
{
	background: #f0f4ff;
	color: #3c5cb8;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 8px 15px;
	border-top: 2px solid #dde3f8;
}
.badge-page
{
	display: inline-block;
	padding: 2px 10px;
	border-radius: 50rem;
	background: #f0f4ff;
	color: #3c5cb8;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

/* Repeater (chiffres, points forts) */
.repeater-list
{
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}
.repeater-item
{
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f8f9ff;
	border: 1px solid #dde3f8;
	border-radius: 10px;
	padding: 10px 12px;
}
.repeater-item-tall
{
	align-items: flex-start;
}
.repeater-fields
{
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.repeater-fields input[type="text"],
.repeater-fields textarea
{
	width: 100% !important;
	margin: 0 !important;
	box-shadow: none !important;
	border: 1px solid #dde3f8 !important;
	border-radius: 8px !important;
	background: #fff;
}
.repeater-fields textarea
{
	min-height: 70px;
	resize: vertical;
}
.repeater-remove
{
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fdecea;
	border: 1px solid #f5c6c2;
	border-radius: 6px;
	color: #c0392b;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.15s;
}
.repeater-remove:hover { background: #f5c6c2; }

/* Couleur avec nom */
.couleur-nom-input
{
	flex: 1 !important;
	width: auto !important;
	min-width: 120px;
	font-size: 13px;
}

/* Compteur de caractères SEO */
.meta-counter
{
	display: inline-block;
	font-size: 11px;
	font-weight: 400;
	color: #aaa;
	margin-left: 6px;
	vertical-align: middle;
}
.meta-counter.over { color: #e74c3c; font-weight: 600; }

/* Hint sous un champ */
.field-hint
{
	display: block;
	font-size: 11px;
	color: #999;
	margin-top: 4px;
}
.field-hint code
{
	background: #f0f0f0;
	border-radius: 3px;
	padding: 1px 4px;
	font-size: 11px;
}

/* Date de publication — badge de statut */
.date-pub-group
{
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.date-pub-group input[type='datetime-local']
{
	flex: 1;
	min-width: 200px;
	width: auto !important;
}
.date-pub-badge
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 20px;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}
.date-pub-badge.draft    { background: #f0f0f0; color: #999; }
.date-pub-badge.scheduled { background: #e8f3fd; color: #2980b9; }
.date-pub-badge.published { background: #eafaf1; color: #27ae60; }

.date-pub-shortcut
{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 20px;
	border: 1px solid #c5e0f7;
	background: #eaf5fd;
	color: #2980b9;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s;
}
.date-pub-shortcut:hover { background: #d0eaf8; border-color: #a8d4f0; }

/* === Modal reconnexion session === */
#session-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
#session-modal-overlay.sm-visible {
    opacity: 1;
    pointer-events: all;
}
#session-modal {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px 28px;
    width: 400px;
    max-width: 92vw;
    box-shadow: 0 12px 48px rgba(0,0,0,.3);
    animation: sm-slide-in .25s ease;
}
@keyframes sm-slide-in {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
.sm-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.sm-header i { font-size: 1.3rem; color: #e67e22; }
.sm-header span { font-weight: 700; font-size: 1.1rem; color: #222; }
.sm-desc {
    color: #666;
    font-size: .88rem;
    margin: 0 0 18px;
    line-height: 1.5;
}
#sm-form > div { margin-bottom: 14px; }
#sm-form label {
    display: block;
    font-size: .8rem;
    color: #555;
    margin-bottom: 4px;
    font-weight: 600;
}
#sm-btn {
    width: 100%;
    margin-top: 6px;
    padding: 11px;
    background: #141414;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s;
}
#sm-btn:hover:not(:disabled) { background: #2d2d2d; }
#sm-btn:disabled { opacity: .65; cursor: default; }

/* === Toolbar liste (recherche + filtres) === */
.liste-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.liste-recherche {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.liste-recherche i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}
.liste-recherche input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: .9rem;
}
.liste-toolbar select {
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: .88rem;
    cursor: pointer;
}
.liste-compteur {
    font-size: .82rem;
    color: #888;
    white-space: nowrap;
}

/* === Pagination liste === */
.liste-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 18px 0 6px;
}
.liste-pagination .page-btn {
    min-width: 34px;
    padding: 7px 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: .85rem;
    transition: all .15s;
}
.liste-pagination .page-btn:hover { border-color: #141414; }
.liste-pagination .page-btn.active {
    background: #141414;
    color: #fff;
    border-color: #141414;
}

/* === Bannière brouillon (autosave) === */
.draft-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8e6;
    border: 1px solid #f0dfae;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: .9rem;
}
.draft-banner i { color: #c9971c; font-size: 1.1rem; }
.draft-banner span { flex: 1; }
.draft-banner button {
    border: none;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: .82rem;
    cursor: pointer;
    transition: opacity .15s;
}
.draft-banner button:hover { opacity: .85; }
.draft-banner .draft-restore { background: #141414; color: #fff; }
.draft-banner .draft-dismiss { background: transparent; color: #888; text-decoration: underline; }

/* === Badge compteur de mots en direct === */
.live-word-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: #666;
    background: #f4f4f4;
    border-radius: 20px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* === Cartes tableau de bord === */
.dash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 4px 0 26px;
}
.dash-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.dash-card--scheduled { border-left: 4px solid #e67e22; }
.dash-card--alert     { border-left: 4px solid #c0392b; }
.dash-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 10px;
    font-size: 1.15rem;
    color: #141414;
}
.dash-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dash-card-label {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #999;
    font-weight: 600;
}
.dash-card-value {
    font-size: .92rem;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.dash-card-number { font-size: 1.5rem; font-weight: 700; }
.dash-card-empty { color: #aaa; font-weight: 400; }
.dash-card-sub { font-size: .78rem; color: #888; }
.dash-card-sub a { color: #141414; text-decoration: none; font-weight: 600; }
.dash-card-sub a:hover { text-decoration: underline; }

/* === Bouton publication Google Business === */
.btn-gmb.gmb-done i { color: #2e7d32; }
