/* Issu de ressources/css/filactualites.css (tools/convertit_css.py), simplifié pour Bootstrap 6 : maintenu à la main */
@layer site {

.pub_affiliation {
    max-width: 100%;
    margin: 0 auto;
}
.pub_affiliation_img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin: auto;
}
.pub_affiliation_text {
    font-size: 0.9rem;
}
.cashback_wrapper {
    position: relative;
    border: 2px solid #0e2c3e;
    border-radius: 14px;
    padding: 25px 10px 10px;
    max-width: 420px;
    margin: 20px auto;
    background: #fffdf9;
}

.cashback_legend {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: aliceblue;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    border: 2px solid #0e2c3e;
    border-radius: 5px;
    background: #0e2c3e;
    color: #FFF;
}

.cashback_legend_logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.code {
	border: 1px solid;
    padding: 2px 5px;
    color: #FFF;
    background: #000;
    font-weight: bold;
    font-size: 20px;
}
.operation_speciale {
	border: 1px solid;
    display: inline-block;
    padding: 5px 20px;
    background: rgba(255, 0, 0, 0.1);
}

.post.vide {
	border: 3px solid #e2e2e2;
    box-shadow: 0px 0px 35px 0px rgb(0 0 0 / 20%);
    white-space:normal;
}
.tab-container.full-width-style.filactualite > ul.nav.nav-tabs {
    width: 100%;
    float: none;
    border-bottom: 20px solid #f5f5f5;
    text-align: center;
}
.tab-container.full-width-style.arrow-left.filactualite > ul.nav.nav-tabs li {
    margin-bottom: 0;
    display: inline-block;
    flex: auto;
}
.tab-container.full-width-style.arrow-left.filactualite > ul.nav.nav-tabs li a {
	padding: 10px 20px;
	height: auto;
	margin-right: 0;
}
.tab-container.full-width-style.filactualite .tab-content {
	width:100%;
	background: transparent;
}
.tab-container.full-width-style.arrow-left.filactualite .tab-content .tab-pane {
	padding:0;
	min-height: auto;
}
.tab-container.full-width-style.arrow-left.filactualite .tab-content .tab-pane .accordion .card {
	margin-bottom: 0;
	border-left: 1px solid #78caff;
	border-right: 1px solid #78caff;
	border-top: 1px solid #78caff;
}
.tab-container.full-width-style.arrow-left.filactualite .tab-content .tab-pane .accordion .card:last-child {
	border-bottom: 1px solid #78caff;
}

.tab-container.full-width-style.arrow-left.filactualite .tab-content .tab-pane .accordion .card .card-header:hover {
	background:#b8e4f9;
}
.tab-container.full-width-style.arrow-left.filactualite .tab-content .tab-pane .accordion .card .card-header {
	padding: 5px 10px;
	background: #ddeff5;
	border-bottom: 1px solid #a2d9fd;
}
.tab-container.full-width-style.arrow-left.filactualite .tab-content .tab-pane .accordion .card .card-header button {
	outline:none;
	box-shadow: none;
}
div.reactions h3 {
    font-family:"Kaushan Script";
    font-weight:bold;
}
div.post {
	box-sizing:border-box;
	white-space: nowrap;
}
div.post.fil {
	border: 2px solid #c5edff;box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);border-radius: 10px;
}

div.post div.post-header div.auteur, div.post-fullscreen-modal div.post-header div.auteur {
	height: 38px;
	text-align: left;
	box-sizing: content-box;
	background: #01b7f2;
	padding: 2px 10px;
}

div.post div.post-header div.auteur img, div.post-fullscreen-modal div.post-header div.auteur img {
	max-height: 100%;
	border: 2px solid #cce7ff;
	background: #FFF;
	display: block;
	float:right;
}
div.post div.post-header div.auteur span, div.post-fullscreen-modal div.post-header div.auteur span {
	color: #cce7ff;
	font-size: 18px;
	line-height: 20px;
	display: inline-block;
	vertical-align: middle;
}
div.post-fullscreen-modal div.post-header div.auteur div.horaire {
	display:none;
}
div.post div.post-header div.titre, div.post-fullscreen-modal div.post-header div.titre {
	background: #6fdafd;
	color: #3b468e;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	font-weight: bold;
}
div.post-fullscreen-modal div.contenu {
	padding: 20px 20px;
	font-size: 16px;
	color: #363636;
}
div.post-fullscreen-modal div.contenu div.message {
	display: inherit!important;
	text-align: center;
}
div.post.cashback div.post-header div.titre {
	background: #ffe17e;
	color:#a77120
}
div.post.fil .message img {
	max-height:128px;
	width:auto;
}
div.post.adoption div.post-header div.titre {
	background: #7effb5;
	color:#20a76f;
}
div.post.deces div.post-header div.titre {
	background: #ca5d5d;
	color:#811010
}
div.post.fil.deces {
	border: 2px solid #dd5151;
}
div.post.deces div.post-body {
	background: #ffeaea;
}
div.post.deces div.post-footer {
	background: #eabbbb;
}
div.post div.post-body {
	box-sizing: content-box;
	background: #99e7ff;
	color: #2a495f;
}

div.post div.post-footer div.reactions div.message {
	padding: 10px 30px;
	max-width: 91%;
	white-space: normal;
	text-align: center;
	margin: auto;
	background: #c7e8ff;
	font-size: 15px;
	color: #6689ad;
	border: 2px solid #bcdeff;
	margin-bottom: 20px;
}
div.reactions div.reaction {
	display:inline-block;
	width: 35px;
	margin: 0 10px;
	white-space: normal;
	position: relative;
}
div.reactions div.reaction a {
	display:inline-block;
	opacity:0.5;
	cursor:pointer;
	position: relative;
}
div.reactions div.reaction a:hover {
	opacity:1;
}
div.reactions div.reaction a img {
	max-width: 32px;
}

div.reactions div.reaction a:hover span {
    display: block;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

div.reactions div.reaction a:hover span::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

div.reactions div.reaction a span {
    opacity: 0;
    visibility: hidden;
	display:none;
}

div.reactions div.reaction > span {
	padding: 2px 2px;
	border-radius: 15px;
	box-sizing: content-box;
	width: 12px;
	display: inline-block;
	height: 12px;
	line-height: 12px;
	margin-top: 4px;
	color: #6d6c6c;
	font-weight: bold;
	font-size: 14px;
	position: absolute;
	right: -5px;
	bottom: -5px;
}
div.reactions div.reaction.active > span {
	background: rgba(70,150,220,0.3);
}
div.reactions div.reaction.active a {
	opacity:0.9;
}
div.post.actu div.post-body div.photo {
	position:absolute;
	top:-50px;
	height:50px;
	left:0;
	text-align: left;
}
div.post.actu div.post-body div.photo img {
	height:50px;
}
div.post.actu div.post-body {
	margin-top:50px;
	position:relative;
	padding-top: 5px!important;
}
div.post div.post-body div.photo:not(:empty) {
	display:inline-block;
	width: 200px;
	height:150px;
	box-sizing: content-box;
	vertical-align: middle;
	position:relative;
}
div.post div.post-body div.photo img {
	max-width:100%;
}
div.post div.post-footer {
	text-align:left;
	background: #daf6ff;
	display: inline-block;
	width: 100%;
	position:relative;
}
div.post div.post-footer div.reactions {
	display:inline-block;
	vertical-align:middle;
	width: auto;
	text-align: center;
	padding: 5px;
}
div.post div.post-footer div.commentaires {
	display:inline-block;
	vertical-align:top;
	text-align: right;
	margin-left:auto;
}
div.post div.post-footer div.commentaires > a {
	color:#40a0f3;
	cursor:pointer;
	font-size: 24px;
	line-height: 30px;
	padding: 10px;
	display: inline-block;
	user-select: none;
}
div.post-fullscreen-modal div.post-footer div.commentaires > a:hover {
	color:#60c0ff;
}
div.post-fullscreen-modal div.commentaire {
	padding: 0;
	text-align: left;
}
div.post-fullscreen-modal div.commentaire div.reactions {
	width: 42px;
	white-space: nowrap;
	overflow: hidden;
	transition:0.3s ease all;
	display: block;
	padding: 4px 4px 10px 4px;
	margin-left: auto;
}
div.post-fullscreen-modal div.commentaire div.reactions:hover {
	width:190px;
	background:rgba(205,235,255,0.8);
	border-radius:10px;
	overflow:visible;
}
div.post-fullscreen-modal div.commentaire div.reactions div.reaction {
	width: 24px;
	cursor: pointer;
	opacity: 0.6;
}
div.post-fullscreen-modal div.commentaire div.reactions div.reaction:hover {
	opacity: 1;
}
div.post-fullscreen-modal div.commentaire div.reactions div.reaction img {
	width: 100%;
}
div.post-fullscreen-modal div.commentaire div.reactions div.reaction span.badge {
	font-size: 8px;
	width: 9px;
	height: 9px;
	bottom: -4px;
	right: -4px;
	background: rgba(255,255,255,0.6);
}
div.post-fullscreen-modal div.commentaire div.reactions div.reaction span.texte {
	display: none;
}
div.post-fullscreen-modal div.commentaire div.reactions div.reaction:hover span.texte {
	display: block;
	position:absolute;
	top:0;
	margin-top:-20px;
	right: 0;
	width:auto;
	background:rgba(150,220,255,0.9);
	border-radius:2px;
	font-size:14px;
	color:#000;
	left: inherit;
}
div.post-fullscreen-modal div.nouveau {
	padding-top: 20px;
	position: fixed;
	bottom: 0;
	width: 450px;
	padding: 20px;
	background: rgba(100,100,100,0.6);
}
div.post-fullscreen-modal div.nouveau div.input input {
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}
div.post-fullscreen-modal div.commentaire:nth-child(even) {
	background:#FFF;
}
div.post-fullscreen-modal div.commentaire:nth-child(odd) {
	background: #f9f9f9;
}
div.post-fullscreen-modal div.commentaire div.logo {
	display:inline-block;
	vertical-align: top;
	width: 54px;
	border: 1px solid rgba(0,0,0,0.3);
	overflow: hidden;
	border-radius: 5px;
	height: 54px;
	background-size:cover;
	margin: 10px 10px;
	background-position:center center;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
	background-repeat: no-repeat;
}
div.post-fullscreen-modal div.commentaire div.message {
	display: inline-block;
	min-height: 54px;
	padding: 5px 5px 5px 15px;
	width: calc(100% - 80px);
	margin-right: 0;
	white-space: normal;
	margin-top: 10px;
	height: 100%;
}
div.post-fullscreen-modal div.commentaire div.message div.auteur span {
	color: #01b7f2;
	font-weight: bold;
	font-size: 16px;
	margin-right:20px;
}
div.post-fullscreen-modal div.commentaire div.message div.auteur div.date {
	display: inline-block;
	font-style: italic;
	font-size: 13px;
	color: #7babc3;
}
div.post.fil.actu {
	border-color:#fafafa;
}
div.post.fil.actu div.auteur {
	display:none;
}
div.post.fil.actu div.commentaire div.auteur {
	display:block;
}
div.post.fil.actu div.post-body {
	background:#f1f1f1;
}
div.post.fil.actu div.titre {
	padding:5px 15px;
	font-size:17px;
	height:auto;
	white-space:initial;
	line-height:22px;
	background:#ffffff;
	color:#575757;
}
div.post.actu div.post-body div.reactions div.message {
	max-width: 90%;
	background: #fff;
	color: #000;
	border-color: #f1f1f1;
}
div.post.adoption, div.post.annonce {
	border-color: #cceccc;
}
div.post.adoption div.post-footer, div.post.annonce div.post-footer {
	background: #cceccc;
}
div.post.adoption div.post-body, div.post.annonce div.post-body {
	box-sizing: content-box;
	background: #eafbea;
}
div.post.adoption div.post-header div.auteur, div.post.annonce div.post-header div.auteur {
	background: #cceccc;
}
div.post.adoption div.post-footer div.commentaires > a, div.post.adoption div.post-header div.auteur span, div.post.annonce div.post-footer div.commentaires > a, div.post.annonce div.post-header div.auteur span {
	color:#11733d;
}
div.post div.post-header div.horaire {
	color:#717171;
	font-size:12px;
}

div.post.fil.organisme div.contenu div.message, div.post.fil.actu div.contenu div.message, div.post.fil.annonce div.contenu div.message, div.post.fil.cagnotte div.contenu div.message {
  display:block!important;
  font-size: 16px;
  line-height: 32px;
}
div.post.fil.actu div.contenu div.message p {
	font-size: 14px;
  	line-height: 16px;
}
div.post.fil.organisme div.contenu div.message span.important {
	display: block;
    font-size: 30px;
}

@media (max-width:600px) {
	div.post div.post-body div.reactions div.message {
		max-width: 100%;
	}
	div.post div.post-header div.titre {
		font-size: 18px;
		white-space:normal;
	}
	div.post div.post-footer div.commentaires {
      display:block!important;
      width:100%!important;
    }
    div.post div.commentaires .collapse {
      margin-left:0!important;
    }
    div.reactions div.reaction {
		width: 32px;
	}
}
/* Barre de menu */
/* Barre de menu */.feed-menubar {
	position: relative;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	z-index: 999;
	transition: all 0.3s ease;
	padding: 0;
	margin-bottom: 30px;
	border-radius: 12px;
	overflow: hidden;
}

.feed-menubar.fixed {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	margin-bottom: 0;
	border-radius: 0;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.feed-menubar-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 12px 20px;
	gap: 10px;
}

.menubar-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	color: rgba(255,255,255,0.9);
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 10px 15px;
	border-radius: 12px;
	text-decoration: none;
	position: relative;
	min-width: 80px;
}

.menubar-item:hover {
	background: rgba(255,255,255,0.15);
	color: white;
	transform: translateY(-3px);
}

.menubar-item:active {
	transform: translateY(-1px);
}

.menubar-item i {
	font-size: 24px;
	margin-bottom: 2px;
}

.menubar-home-icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.menubar-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.menubar-notification {
	position: relative;
}

.menubar-badge {
	position: absolute;
	top: 8px;
	right: 15px;
	background: #ff4757;
	color: white;
	font-size: 10px;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 10px;
	min-width: 18px;
	text-align: center;
	border: 2px solid #667eea;
}

#toggle-sidebar-mobile {
	display: none;
}

/* Container principal */.feed-container {
	display: flex;
	gap: 20px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Sidebar gauche */.feed-sidebar {
	width: 280px;
	flex-shrink: 0;
	position: sticky;
	top: 20px;
	height: fit-content;
	transition: transform 0.3s ease;
}

.feed-sidebar-content {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
}

.sidebar-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #333;
}

.sidebar-subtitle {
	font-size: 14px;
	font-weight: 600;
	color: #666;
	margin: 15px 0 10px 0;
	text-transform: uppercase;
}

.sidebar-section {
	margin-bottom: 25px;
}

.sidebar-btn {
	display: block;
	background: var(--ra-skin);
	color: white;
	padding: 12px 20px;
	border-radius: 6px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s;
}

.sidebar-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	color: white;
}

.sidebar-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	color: #333;
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.2s;
	margin-bottom: 5px;
}

.sidebar-link:hover, .sidebar-link.active {
	background: #e9ecef;
	color: #333;
}

.sidebar-link i, .sidebar-icon {
	width: 20px;
	text-align: center;
}

/* Zone principale */.feed-main {
	flex: 1;
	max-width: 680px;
	margin: 0 auto;
}

/* Posts */.post {
	background: white;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	margin-bottom: 20px;
	cursor: pointer;
	transition: box-shadow 0.2s;
}

.post:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post-header {
	padding: 0;
}

.post-body {
	padding: 0;
}

.post .photo {
	position: relative;
	cursor: pointer;
}

.post .photo:hover .absolute-center {
	opacity: 1;
}

.post .absolute-center {
	opacity: 0;
	transition: opacity 0.2s;
	z-index: 2;
}

.post .contenu {
	padding: 10px;
}

.post-footer {
	border-top: 1px solid #e9ecef;
	padding: 0px 20px;
}

.post-fullscreen-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.post-fullscreen-modal.active {
	display: block;
}

.post-fullscreen-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.95);
	cursor: pointer;
}

.post-fullscreen-content {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.post-fullscreen-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255,255,255,0.95);
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	z-index: 3;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.post-fullscreen-close:hover {
	background: #fff;
	transform: scale(1.1);
}

.post-fullscreen-grid {
	display: flex;
	height: 100%;
	max-width: 1600px;
	margin: 0 auto;
}

.post-fullscreen-left {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	overflow: auto;
	background: rgba(0,0,0,0.5);
}

.post-fullscreen-right {
	width: 450px;
	background: white;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	box-shadow: -4px 0 20px rgba(0,0,0,0.3);
	position: relative;
	overflow-x:hidden;
}

.post-fullscreen-comments [id^="content_commentaires_"] {
	display: block !important;
	position: relative;
	width: 100%;
	padding-bottom: 70px;
}

/* Scrollbar personnalisÃ©e pour la zone commentaires */.post-fullscreen-right::-webkit-scrollbar {
	width: 8px;
}

.post-fullscreen-right::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.post-fullscreen-right::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

.post-fullscreen-right::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* Responsive */@media (max-width: 1024px) {
	.feed-sidebar {
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		z-index: 998;
		transform: translateX(-100%);
		background: white;
		box-shadow: 2px 0 10px rgba(0,0,0,0.1);
	}
	
	.feed-sidebar.open {
		transform: translateX(0);
	}
	
	#toggle-sidebar-mobile {
		display: flex;
	}
	
	.feed-main {
		max-width: 100%;
	}
	.post-fullscreen-grid {
        flex-direction: column;
        height: auto; /* Hauteur automatique selon le contenu */
        max-height: 100vh; /* Limite maximale pour Ã©viter de dÃ©passer l'Ã©cran */
        overflow-y: auto; /* Scroll pour tout le conteneur */
    }

    .post-fullscreen-left {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        overflow: visible; /* Pas de scroll interne */
    }

    

    

    .post-fullscreen-right {
        width: 100%;
        height: auto;
        flex: none;
        overflow-y: visible;
    }

    div.post-fullscreen-modal div.nouveau {
        position: relative;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
	.feed-menubar {
		margin-bottom: 20px;
	}
	
	.feed-menubar.fixed {
		border-radius: 0;
		z-index:90000;
	}
	
	.feed-main {
		padding-bottom: 90px;
	}
	
	.menubar-item {
		min-width: 60px;
		padding: 8px 10px;
	}
	
	.menubar-label {
		font-size: 10px;
	}
	
	.menubar-item i {
		font-size: 20px;
	}
	
	.menubar-home-icon {
		width: 24px;
		height: 24px;
	}
	div.post-fullscreen-modal div.nouveau {
		position:relative;
	}
	.post-fullscreen-left {
		height: 60%;
		padding: 70px 15px 15px 15px;
	}
	
	.post-fullscreen-right {
		height: 40%;
	}
	
	.post-fullscreen-close {
		top: 15px;
		right: 15px;
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.feed-menubar-content {
		padding: 10px 10px;
		gap: 5px;
	}
	
	.menubar-item {
		min-width: 50px;
		padding: 6px 5px;
	}
	
	.menubar-label {
		display: none;
	}
	
	
	
}
/* Styles pour les posts cliquables */.post-clickable-image {
	cursor: pointer;
	position: relative;
	transition: transform 0.3s ease;
}

.post-clickable-image:hover {
	transform: scale(1.02);
}

.post-zoom-icon {
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	font-size: 32px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.post .photo:hover .post-zoom-icon {
	opacity: 1;
}

.post-open-comments {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 15px;
	border-radius: 6px;
	transition: all 0.2s;
	text-decoration: none;
	color: inherit;
}

.post-open-comments:hover {
	background: rgba(0,0,0,0.05);
	color: var(--ra-skin);
}

.post-open-comments i {
	font-size: 20px;
}

.post-open-comments span {
	font-weight: 600;
}

.post-comments-hidden {
	display: none !important;
}
/* Infobulle - Conteneur principal */div.post-fullscreen-comments div.commentaire div.infobulle {
    position: absolute;
     /* Position au-dessus du commentaire */
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 0; /* Pas de padding global */
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
}

/* Flèche de l'infobulle */div.post-fullscreen-comments div.commentaire div.infobulle div.infobulle-arrow {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #3498db;
}

/* Conteneur du contenu */div.post-fullscreen-comments div.commentaire div.infobulle div.infobulle-content {
    display: flex;
    flex-direction: column;
    padding: 0; /* Pas de padding global */
}

/* Section haut : Pseudo + Avatar */div.post-fullscreen-comments div.commentaire div.infobulle-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    background-color: #3498db;
    border-radius: 12px 12px 0 0;
}

/* Pseudo et infos */div.post-fullscreen-comments div.commentaire div.infobulle-header div.infobulle-pseudo-info {
    flex: 1;
    max-width: 75%;
    padding: 8px 10px;
}

div.post-fullscreen-comments div.commentaire div.infobulle-header div.infobulle-pseudo-info .pseudo {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

div.post-fullscreen-comments div.commentaire div.infobulle-header div.infobulle-pseudo-info .infobulle-badge {
    background-color: #4267B2;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    display: inline-block;
    margin-left: 6px;
}

div.post-fullscreen-comments div.commentaire div.infobulle-header div.infobulle-pseudo-info .ville {
    font-size: 12px;
    color: #daf0f2;
    margin: 4px 0;
    display: flex;
    align-items: center;
}

div.post-fullscreen-comments div.commentaire div.infobulle-header div.infobulle-pseudo-info .ville i {
    margin-right: 4px;
    color: #3498db;
}

div.post-fullscreen-comments div.commentaire div.infobulle-header div.infobulle-pseudo-info .a-propos {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: #555;
}

div.post-fullscreen-comments div.commentaire div.infobulle-header div.infobulle-pseudo-info .a-propos .titre {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

/* Avatar */div.post-fullscreen-comments div.commentaire div.infobulle-header div.logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 5px;
    background-color: #FFF;
}

/* Section filleul */div.post-fullscreen-comments div.commentaire div.infobulle-filleul {
    padding: 10px 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

div.post-fullscreen-comments div.commentaire div.infobulle-filleul .filleul-badge {
    background-color: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 8px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

div.post-fullscreen-comments div.commentaire div.infobulle-filleul .filleul-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

div.post-fullscreen-comments div.commentaire div.infobulle-filleul .filleul-nom {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

/* Barre de boutons */div.post-fullscreen-comments div.commentaire div.infobulle-footer {
    display: flex;
    background-color: #3498db;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

div.post-fullscreen-comments div.commentaire div.infobulle-footer .infobulle-btn {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

div.post-fullscreen-comments div.commentaire div.infobulle-footer .infobulle-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

div.post-fullscreen-comments div.commentaire div.infobulle-footer .infobulle-btn i {
    font-size: 16px;
    margin-bottom: 4px;
}

/* Affichage de l'infobulle */div.post-fullscreen-comments div.commentaire div.infobulle.visible {
    opacity: 1;
    visibility: visible;
}
    .asso-tooltip {
      position: relative;
      cursor: pointer;
      text-decoration: underline;
      color: blue;
    }

    .asso-tooltip:hover .asso-tooltip-content {
      display: flex;
    }

    .asso-tooltip-content {
      display: none;
      position: absolute;
      left: 0;
      top: 100%;
      width: 300px;
      background: white;
      border: 1px solid #ccc;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      padding: 10px;
      flex-direction: column;
      align-items: center;
      z-index: 100;
    }

    .asso-tooltip-content::before {
      content: "";
      position: absolute;
      left: 10px;
      top: -10px;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid white;
    }

    .asso-tooltip img {
      max-width: 100%;
      height: auto;
      margin-bottom: 10px;
    }

    .asso-tooltip button {
      background: #007bff;
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 3px;
      cursor: pointer;
    }

    .asso-tooltip button:hover {
      background: #0056b3;
    }

/* Modal style réseaux sociaux */.social-modal {
	border: none;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.social-modal .dialog-header {
	padding: 1.25rem 1.5rem;
}

.social-modal .dialog-title {
	font-size: 1.25rem;
	color: #1c1e21;
}

.social-modal .close {
	padding: 0;
	margin: 0;
	opacity: 0.5;
	font-size: 1.75rem;
	font-weight: 300;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.social-modal .close:hover {
	opacity: 1;
	background-color: #f0f2f5;
}

.social-modal .dialog-body {
	padding: 0 1.5rem 1.5rem;
}

/* Inputs style moderne */.form-control {
	border-radius: 12px;
	padding: 0.875rem 1rem;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.form-control:focus {
	background-color: #fff !important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
	outline: none;
}

.form-control-lg {
	font-size: 1.1rem;
	padding: 1rem 1.25rem;
	font-weight: 500;
}

textarea.form-control {
	resize: none;
	line-height: 1.6;
}

.form-control::placeholder {
	color: #65676b;
	opacity: 0.8;
}

/* Zone d'upload d'image */.upload-zone {
	position: relative;
	border: 2px dashed #d0d3d8;
	border-radius: 12px;
	background-color: #f7f8fa;
	transition: all 0.3s ease;
	overflow: hidden;
}

.upload-zone:hover {
	border-color: #007bff;
	background-color: #f0f7ff;
}

.upload-label {
	cursor: pointer;
	padding: 2rem;
	display: block;
	transition: all 0.2s ease;
}

.upload-content {
	text-align: center;
}

.upload-content p {
	font-size: 0.9rem;
}

/* Preview image */.image-preview {
	position: relative;
	padding: 1rem;
}

.preview-img {
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	border-radius: 12px;
}

.btn-remove-image {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 10;
}

.btn-remove-image:hover {
	background-color: rgba(220, 53, 69, 0.9);
	transform: scale(1.1);
}

/* Section lien */.link-section {
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.btn-outline-secondary {
	border-color: #d0d3d8;
	color: #65676b;
	border-radius: 8px;
	padding: 0.625rem 1rem;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
	background-color: #f7f8fa;
	border-color: #007bff;
	color: #007bff;
}

.btn-outline-secondary i.fa-chevron-down {
	font-size: 0.75rem;
	transition: transform 0.3s ease;
}

.btn-outline-secondary[aria-expanded="true"] i.fa-chevron-down {
	transform: rotate(180deg);
}

/* Alert info */

/* Toggle visibilité */.visibility-toggle {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.visibility-info {
	flex: 1;
}

.visibility-info i {
	font-size: 1.1rem;
}

.visibility-info span {
	font-size: 0.95rem;
	color: #1c1e21;
}

.visibility-info small {
	font-size: 0.8rem;
	display: block;
}

/* Custom switch moderne */
/* Style de base pour les deux parties */.visibility-info {
    flex: 1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

/* Partie active (illuminée) */.visibility-info.active {
    opacity: 1;
}

/* Espacement et alignement */.visibility-toggle .d-flex {
    display: flex;
    width: 100%;
}

/* Style du toggle (inchangé) */

/* Bouton publier */.btn-publish {
	background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
	border: none;
	border-radius: 12px;
	padding: 0.875rem 1.5rem;
	font-size: 1rem;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
	transition: all 0.3s ease;
	text-transform: none;
	letter-spacing: 0.3px;
}

.btn-publish:hover {
	background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
	box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
	transform: translateY(-2px);
}

.btn-publish:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Animations */.modal.fade .modal-dialog {
	transition: transform 0.25s ease-out;
}

/* Responsive */@media (max-width: 576px) {
	.social-modal .dialog-header, .social-modal .dialog-body {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	.form-control-lg {
		font-size: 1rem;
	}
	
	.upload-label {
		padding: 1.5rem 1rem;
	}
}

/* Scrollbar personnalisée */.dialog-body::-webkit-scrollbar {
	width: 8px;
}

.dialog-body::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.dialog-body::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 10px;
}

.dialog-body::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}
}
