/*
Design by Metamorphosis Design
http://www.metamorphozis.com
Released for free under a Creative Commons Attribution 2.5 License
*/

* 
{
margin: 0px;
padding: 0px;
}

body {
	/* background: #ffffff url("../images/logo.jpg") 0px 55px repeat-x; */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #000000;
	top: 0;
}


h1, h2, h3, p, ol, ul {
	margin-top: 0;
}

h1, h2, h3 {
	font-family: Arial, Helvetica, sans-serif;
}

h1, h2 {
	text-transform: lowercase;
	font-weight: normal;
}

h1 {
	font-size: 2.4em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.2em;
	text-align: center;
}

a {
	color: #b46cb8;
}

a:hover {
	text-decoration: none;
	color: #652b68;
}

.link {
	text-decoration: none;
	color: #b46cb8;
}

a.link {
	text-decoration: none;
	color: #b46cb8;
}

span.link {
	text-decoration: none;
	color: #b46cb8;
}

a.link:hover {
	text-decoration: none;
	color: #652b68;
}

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

.align-center img {
	margin-left: auto;
	margin-right: auto;
}

hr {
	display: none;
}

#main
{
width: 1200px;
margin: 0 auto 0 auto;
}

/* Header */
#header {
	width: 1200px;
}

#header {
    position: relative;
}

.admin-header-alert {
    position: absolute;
    left: 12px;
    top: 8px;
    z-index: 999;
    pointer-events: none;
}

.admin-new-gif {
    width: 22px;
    height: auto;
    display: block;
}

.admin-header-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

#top {
	display: flex;
	width: 1200px;
	margin: 0 auto;
	padding-top: 15px;
}

#logo {
float: left;
width: 310px;
height: 101px;
background: url("../images/logo.png") no-repeat;
vertical-align: middle;
}

#banner {
width: 100%;
height: 95px;
background: url("../images/banner-lamontrealaise.png") no-repeat;
vertical-align: middle;
margin-bottom: 30px;
}

#banner-2 {
width: 100%;
height: 95px;
background: url("../images/banner-chattpairversion.png") no-repeat;
vertical-align: middle;
margin-bottom: 10px;
}

#logo h1, #logo p {
	margin: 0;
	line-height: normal;
}

#logo h1 {
	padding: 30px 0 0 20px;
	font-size: 24px;
	color: #000000;
}
#logo h2 {
	padding: 10px 0 0 20px;
	font-size: 10px;
	text-transform: uppercase;
	color: #ffffff;
}

#logo a {
	text-decoration: none;
	color: #000000;
}

.aventures {
width: 375px;
height: 45px;
float: right;
margin-left: 6px;
margin-top: -40px;
position: relative;
z-index: 999;
}

#menu {
height: 30px;
width: 1170px;
padding-top: 12px;
text-align: center;
}

#b1 {
	background:url("../images/b11.png") no-repeat;
}

#b2 {
	background:url("../images/b22.png") no-repeat;
}

#b3 {
	background:url("../images/b33.png") no-repeat;
}

#b4 {
	background:url("../images/b44.png") no-repeat;
}

#b5 {
	background:url("../images/b55.png") no-repeat;
}

#b6 {
	background:url("../images/b66.png") no-repeat;
	color: #FFFFFF!important;
}

#menu ul {
	margin: 0;
	list-style: none;
	
}

#menu li {
	display: inline-block;
}

#menu a {
	float: left;
	width: 110px;
	height: 35px;
	text-decoration: none;
	text-align: center;
	padding-top: 8px;
	font-size: 15px;
	font-weight: bold;
	color: #ffffff;

}

#menu a:hover {
	height: 31px;
	margin-top:-5px;
}

/*** Header right ****/
#header_right {
    top: 0;
    z-index: 10;
    width: 100%;
    margin-top: -25px;
    padding-bottom: 5px;
}

/* Adjust menu styling inside the right column */
#menu_right {
    display: flex;
    justify-content: center;
}

#menu_right ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#menu_right li {
    margin: 0;
}

#menu_right a {
    padding: 5px 30px;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}

/* Page */
#page {
	margin: 0 auto;
	background: url("../images/cent_m.png") repeat-y;
	background-color: #F8001C;
}

.page2 {
	background: url("../images/top_m.png") top no-repeat;
}

.sidebar .titre {
	background:url("../images/webcam-titre.jpg") no-repeat;
	width: 170px;
	height: 35px;
	margin: 0 auto;
	text-align: center;
}


/* Content */

#content {
	float: left;
	width: 760px;
	height: 1400px;
}


#content .post ul, #content .post ol
{
margin-left: 30px;
}

#content .top
{
width: 497px;
background: url("../images/top.png") no-repeat;
height: 13px;
}

#content .middle_back
{
width: 499px;
padding: 10px 20px 20px 20px;
}

#content .title
{
background: url("../images/tit_b.jpg") top no-repeat;
height: 28px;
padding-top: 10px;
padding-left: 30px;
}

#content .date 
{
	height: 31px;
	margin-bottom: 10px;
	margin-top: 10px;
	padding-top: 3px;
	font-size: 10px;	
}

#content .date ul
{
	list-style: none;	
}

#content .date li
{
	display: inline; 
}

#content .small_icon1
{
height: 24px;
width: 150px;
float: left;
display: block;
text-align: left;
padding-top: 6px;
padding-left: 30px;
}

#content .small_icon2
{
height: 24px;
width: 120px;
float: left;
display: block;
text-align: left;
padding-top: 6px;
padding-left: 30px;
}

#content .small_icon3
{
height: 24px;
width: 100px;
float: left;
display: block;
text-align: left;
padding-top: 6px;
padding-left: 30px;
}

.post {
	padding: 13px 0px 0px 0px;
	color: #000000;
}

.post a {
	color: #034791;
}

.post a:hover {
	color: #034791;
}

.post H2
{
color: #ffffff;
text-transform: uppercase;
font-size: 14px;
font-weight: bold
}

.border-tab {
	border: solid 2px black;
	border-radius: 15px;
	background-color: #F8001C;
}
/* Sidebars */

#webcams {
	background: url("../images/webcams-mtlam.jpg") top no-repeat;
	width: 185px;
	height: 566px;
}

.sidebar {
	float: left;
	width: 219px;

}

.sidebar2 {
	padding: 13px 7px 0px 11px;
}

.sidebar4 {
	padding: 13px 7px 0px 11px;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}


.sidebar li {
	padding: 4px 0 4px 10px;
}

.sidebar a {
	text-decoration: none;
	color: #034791;
	font-size: 11px;
}
.sidebar a:hover {
	color: #0A6894;
	text-decoration: underline;
}

.sidebar h2 {
	color: #ffffff;
	height: 18px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

.bottom_small
{
height: 2px;
background: url("../images/small_bottom.gif") no-repeat;
width: 183px;
}


/* Left Sidebar */

.sidebar3 {
	padding: 13px 0px 0px 8px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #b46cb8;
    padding: 0 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.category-list a:hover {
    background-color: #6A296E;
    color: #b46cb8;
}

.count {
    /** background: #e0e0e0; */
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
}

.no-categories {
    color: #ffffff;
    font-style: italic;
    text-align: center;
}

.btn-video-delete {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0; 
}

/* Right Sidebar */
.btn.btn-connexion {
	--bs-btn-color: #fff;
	--bs-btn-bg: #6A296E;
	--bs-btn-border-color: #6A296E;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #b46cb8;
	--bs-btn-hover-border-color: #b46cb8;
	--bs-btn-focus-shadow-rgb: 49, 132, 253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #6A296E;
	--bs-btn-active-border-color: #6A296E;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #6A296E;
	--bs-btn-disabled-border-color: #6A296E;
  }

.nickname {
	color: #000000;
}

/****** PAGE VERIFICATION PHOTO ******/
.verif-page {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.verif-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
}

.verif-card .card-body {
  padding: 1.5rem;
}

.verif-main-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
}

.verif-main-intro {
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  line-height: 1.7;
}

.verif-guidelines-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 1.25rem;
}

.verif-section-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.verif-section-intro {
  color: rgba(255,255,255,.78);
  font-size: .98rem;
  line-height: 1.6;
}

.verif-guideline-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.verif-box-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.verif-box-text {
  color: rgba(255,255,255,.86);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.verif-image-frame {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid rgba(255,255,255,.10);
}

.verif-image {
  display: block;
  width: 100%;
  height: auto;
}

.verif-current-media-label {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .95rem;
}

.verif-current-image,
.verif-current-video {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: #000;
}

.verif-upload-box {
  max-width: 420px;
  margin: 0 auto;
}

.verif-file-input {
  border-radius: 12px;
  min-height: 48px;
}

.verif-submit-btn {
  min-width: 220px;
  border-radius: 999px;
  font-weight: 600;
  padding: .75rem 1.3rem;
}

.verif-note {
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  font-size: .96rem;
}

/****** PAGE VERIFICATION WEBCAM *****/
.verif-wrap,
.verif-page {
  max-width: 980px;
  margin: 24px auto;
}

.phrase {
  font-size: 1.08rem;
  background: #f6f7fb;
  border: 1px dashed #bfc6d3;
  border-radius: 12px;
  padding: 12px 16px;
  line-height: 1.6;
  color: #1f2937;
}

#preview,
video#preview {
  width: 100%;
  max-height: 420px;
  background: #000;
  border-radius: 14px;
  display: block;
}

.controls {
  gap: .65rem;
}

.controls .btn {
  border-radius: 999px;
  min-width: 160px;
  font-weight: 600;
}

.verif-rules-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

.verif-rules-list li {
  margin-bottom: .45rem;
}

.verif-page .card,
.verif-wrap.card {
  background: #000 !important;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

/****** PAGE FAQ **********/
.faq-verification-wrap {
  margin-top: 1.5rem;
}

.faq-verification-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

.faq-verification-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #212529;
}

.faq-verification-intro {
  font-size: .98rem;
  color: #5c6670;
  margin-bottom: 1rem;
}

.faq-verification-box {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}

.faq-verification-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: #1f2a37;
}

.faq-verification-text {
  font-size: .95rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: .85rem;
}

.faq-verification-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #495057;
}

.faq-verification-list li {
  margin-bottom: .45rem;
  line-height: 1.5;
}

.faq-verification-image-placeholder {
  min-height: 180px;
  border: 2px dashed rgba(0,0,0,.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  text-align: center;
  padding: 1rem;
  color: #6c757d;
  font-size: .95rem;
}

.faq-verification-image-placeholder span {
  max-width: 220px;
}

.faq-verification-image-frame {
  width: 100%;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.faq-verification-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.faq-verification-box {
  display: flex;
  flex-direction: column;
}

.faq-verification-image-frame {
  margin-top: auto;
}

@media (max-width: 767.98px) {
  .faq-verification-image-frame {
    border-radius: 12px;
  }
}

@media (max-width: 767.98px) {
  .faq-verification-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .faq-verification-title {
    font-size: 1.05rem;
  }

  .faq-verification-subtitle {
    font-size: .98rem;
  }

  .faq-verification-text,
  .faq-verification-intro,
  .faq-verification-list li {
    font-size: .93rem;
  }

  .faq-verification-image-placeholder {
    min-height: 150px;
  }
}

/* PASSWORD FORGET / RESET **/
.password-forgot-form {
    max-width: 260px;      /* largeur du bloc */
    margin: 0 auto;        /* centre le formulaire dans la page */
}

.password-forgot-form .form-control {
    max-width: 260px;      /* largeur des inputs */
    margin: 0 auto;        /* centre horizontalement l’input */
}

.password-forgot-form .btn {
    display: block;
    margin: 1rem auto 0;   /* bouton centré */
}
.password-reset-form {
    max-width: 260px;      /* largeur du bloc */
    margin: 0 auto;        /* centre le formulaire dans la page */
}

.password-reset-form .form-control {
    max-width: 260px;      /* largeur des inputs */
    margin: 0 auto;        /* centre horizontalement l’input */
}

.password-reset-form .btn {
    display: block;
    margin: 1rem auto 0;   /* bouton centré */
}

/* POINTS SYSTEM ****/
.points-display p {
    margin: 0;
    line-height: 1.2;
    font-size: 14px;
}
.points-display .highlight {
    color: #f8cc79;
    font-weight: bold;
}
.points-display .white {
    color: white;
}

.custom-tabs {
  border: none !important; 
  gap: 10px; /* espace entre les onglets */
}

.custom-tabs .nav-link {
  background: #f8f9fa;
  border: none !important; 
  border-radius: 15px;
  padding: 10px 20px;
  font-weight: bold;
  color: #555;
  transition: all 0.3s ease-in-out;
}

.custom-tabs .nav-link:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
}

.custom-tabs .nav-link.active {
  background: linear-gradient(135deg, #ffd700, #ffb400);
  color: #fff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  border: none !important;   
}

.custom-card {
  position: relative;
  width: 100%;
  height: 320px;              /* ✅ Hauteur fixe pour toutes les cartes */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;     /* ✅ L'image prend toute la largeur */
  border-radius: 12px;
}

/* Images différentes selon le type */
.custom-card.vip {
  background-image: url('/assets/images/membre_carte.png');
}
.custom-card.gold {
  background-image: url('/assets/images/membre_carte.png');
}

.custom-card .card-body {
  position: absolute;
  top: 35%;                   /* Descend un peu le contenu */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;                 /* ✅ Plus large */
  text-align: center;
}

.custom-card .card-title {
  font-size: 1.3rem;
  font-weight: bold;
}

.custom-card .btn {
  margin-top: -10px;
}



/* PAGE POINTS **/
.card-img-center {
  display: block;
  margin: 10px auto;
  max-width: 100%;
  height: auto;
}
/* —— UI achat : encadré + liste jolie —— */
.pv-recap-box{
background: rgba(33,37,41,.03);
border: 1px solid rgba(0,0,0,.08);
border-radius: 12px;
padding: 12px 14px;
}

/* UL en 2 colonnes, sans puces */
.pv-recap-list{
list-style: none;     /* enlève les puces */
margin: 0;
padding: 0;
}
.pv-recap-list li{
display: grid;
grid-template-columns: 1fr auto; /* gauche = clé, droite = valeur */
align-items: baseline;
column-gap: 12px;
padding: 4px 0;
}
/* pas de ✓ ni rien devant */
.pv-recap-list li::before{ content: none !important; }

.pv-recap-key{
text-align: left;
color: #6c757d;       /* comme text-muted */
}
.pv-recap-val{
text-align: right;
font-weight: 600;
white-space: nowrap;  /* évite les retours sur la colonne valeur */
}

/* Ligne total séparée */
.pv-recap-total{
margin-top: 2px;
padding-top: 10px;
border-top: 1px dashed rgba(0,0,0,.18);
}
.pv-recap-total .pv-recap-key{
color: #212529;
font-weight: 600;
}
.pv-recap-total .pv-recap-val{
font-size: 1.125rem; /* ~fs-5 */
}

/* Style for the login form container */
.login-form {
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
    /*background-color: #F8001C;*/
    /*border: 2px solid #F8001C;*/
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Style for labels */
.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #FFFFFF;
}

/* Style for input fields */
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Style for input fields on focus */
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Style for the login button */
.login-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect for the login button */
.login-form button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Style for the register and logout links */
.login-form p {
    text-align: center;
    margin-top: 10px;
}

.login-form p a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
}

.login-form p a:hover {
	color: #610669;
    text-decoration: none;
}

/* Style for warning messages */
.warning-message {
    display: block;
    color: #dc3545; /* Red color for warnings */
	background-color: #ccc;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
}

/****** MIDDLE COLUMN *********/

/****** INDEX *****************/
  /* Empêche le scroll quand la modale est ouverte */
  body[data-age-gate="open"] { overflow: hidden; }

  /* Fallback blur si backdrop-filter non supporté */
  #site-root.blurred { filter: blur(18px) saturate(80%); pointer-events: none; user-select: none; }

  .age-gate-overlay{
    position: fixed; inset: 0; z-index: 10000;
    display: grid; place-items: center;
    background: rgba(10,10,10,0.55);
    backdrop-filter: blur(18px) saturate(110%);
    -webkit-backdrop-filter: blur(18px) saturate(110%);
    padding: 24px;
  }
  .age-card{
    width: min(560px, 92vw);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 24px 22px;
    text-align: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial, "Helvetica Neue";
  }
  #age-gate input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #0d6efd; /* couleur bleue bootstrap */
  cursor: pointer;
  }
  #age-desc { font-size: 18px; }
  .age-emoji{ font-size: 42px; margin-bottom: 8px; }
  .age-card h2{ font-size: 22px; margin: 0 0 8px; }
  .age-card p{ color:#333; margin:0 0 16px; }
  .confirm, .remember{ display:flex; gap:10px; align-items: flex-start; justify-content: center; margin:8px 0; font-size: 18px;}
  .confirm input, .remember input{ transform: translateY(2px); }
  .actions{ display:flex; gap:12px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
  .btn-enter{
    padding: 10px 16px; border:0; border-radius: 5px; font-weight: 600; cursor: pointer;
    background: #610669; color:#fff;
  }
  .btn-enter:hover{ filter: brightness(0.95); }
  .btn-leave{
    padding: 10px 16px; border-radius: 5px; border: 1px solid #aaa; background: #fff; color: #333; cursor:pointer;
  }
  .legal{ display:block; color:#666; margin-top:10px; font-size: 18px; }

  @media (prefers-color-scheme: dark){
    .age-card{ background:#141414; color:#f2f2f2; }
    .age-card p, .legal{ color:#cfcfcf; }
    .btn-leave{ background:#141414; color:#f2f2f2; border-color:#3a3a3a; }
  }
  .blurred-img {
  filter: blur(8px);
  pointer-events: none; /* empêche le hover/clic si tu veux */
}
.msg-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .msg-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

.alert-success.custom-message-register {
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.username-tooltip {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
    display: none;
}

.no_online_users {
    text-align: center;
    padding: 40px;
    color: white;
    margin: 20px 0;
}

.promo-form p {
  font-size: 1.1rem;
  color: #fff;
}

.texte-bienvenue {
	font-size: 1rem;
	color: #FFFFFF;
}

span.text-validation-error {
	color:#F8001C;
	background-color: #ccc;
}

.modal-dialog {
    width: 400px;
    margin: 30px auto;	
}

/* Custom COLUMNS styles for the layout */
.main-container {
    display: flex;
	margin-top: 20px;
	margin-bottom: 50px;
}
.left-column, .right-column {
    width: 17%; /* Each side column takes 20% of the width */
    display: flex;
    flex-direction: column;
    padding: 0 5px;
	height: 100vh; /* Stretch to the bottom of the site */
}
.middle-column {
    width: 66%; /* Middle column takes 60% of the width */
    padding: 5px 15px 15px 15px;
    /*background-color: #F8001C; /* Add background color */
    border-radius: 10px; /* Add rounded corners */
    border: 2px solid #6A296E; /* Add border */
	min-height: 1000px;
}
.left-column-top, .left-column-bottom, .left-column-bottom-2,
.right-column-top, .right-column-bottom {
    border: 2px solid #6A296E;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 5px;
    /*background-color: #F8001C;*/
}
.left-column-bottom, .left-column-bottom-2, .right-column-bottom {
    flex-grow: 1; /* Stretch to fill remaining space */
    overflow-y: auto; /* Add scrollbar if content overflows */
}
.left-column-top {
    /* If you want a specific height for the first section, you can set it here */
    min-height: 250px; /* Example height */
}
.left-column-bottom {
    /* If you want a specific height for the first section, you can set it here */
    min-height: 100px; /* Example height */
}
.left-column-bottom-2 {
    /* You can control the height or flexibility here */
    min-height: 100px; /* Example min-height, this allows it to grow if needed */
}

.chat-locked-box {
  background: linear-gradient(180deg, rgba(33,37,41,.98), rgba(18,20,24,.98));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  box-shadow:
    0 10px 30px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.04);
  text-align: center;
}

.chat-locked-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.chat-locked-text {
  font-size: .98rem;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
}

/***** USERS ONLINE ******/
#online-users-list { list-style: none; padding-left: 5px; margin: 0; }
#online-users-list li {
display: flex; align-items: center;
line-height: 1.2;
will-change: opacity;
}
/***** ONLINE USERS ULTRA STABLE *****/
#online-users-list,
.pv-online-users-stable {
  display: block;
  width: 100%;
  min-height: 56px;
  overflow-anchor: none;
  contain: layout paint;
}

#online-users-list li {
  box-sizing: border-box;
}

#online-users-list .online-user-row {
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  line-height: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 0 0 10px;
}

#online-users-list .online-user-row a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#online-users-list .online-user-row a span:last-child {
  display: inline-block;
  max-width: 135px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#online-users-list .genre-icon {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 20px;
  line-height: 20px;
  flex: 0 0 16px;
  text-align: center;
}

#online-users-list li.group-header {
  height: 16px;
  min-height: 16px;
  max-height: 16px;
  line-height: 16px;
  overflow: hidden;
  padding: 2px 8px 1px;
  font-size: .65rem;
  color: #b46cb8;
  text-transform: uppercase;
  letter-spacing: .04em;
}

#online-users-list li.group-header {
  color: #f0f0f0;
}

#online-users-list .online-user-row a {
  color: #b46cb8;
  text-decoration: none;
  font-size: 1.35em;
}

#online-users-list .online-user-row a:hover {
  color: #652b68;
  text-decoration: none;
}
#online-users-list .row-enter,
#online-users-list .row-enter-active,
#online-users-list .row-leave,
#online-users-list .row-leave-active {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  opacity: 1 !important;
}
/* soft fade for enter/leave without reflow */
.row-enter   { opacity: 0; }
.row-enter.row-enter-active { opacity: 1; transition: opacity 180ms ease; }
.row-leave   { opacity: 1; }
.row-leave.row-leave-active { opacity: 0; transition: opacity 160ms ease; }

#online-users-list {
    max-height: 620px; 
    overflow-y: auto;
}

#online-users-list::-webkit-scrollbar {
    width: 6px;
  }
  
  #online-users-list::-webkit-scrollbar-track {
    background: transparent;
  }
  
  #online-users-list::-webkit-scrollbar-thumb {
    background-color: #610669;
    border-radius: 4px;
  }
  
  #online-users-list {
    scrollbar-width: thin;
    scrollbar-color: #610669 transparent;
  }

.membership-type {
    font-size: 0.9em;
    color: #666;
}

/* General Table Styling */
table.chat-table {
    width: 100%;
    max-height: 150px;
	color: #000000!important;
    border-collapse: collapse;
}

/* Table Header Styling */
.chat-header {
    background-color: rgb(56, 9, 228);
    color: white;
    padding: 5px;
}

th.chat-header.coteleft {
    width: 80%;
    text-align: right;
}

th.chat-header.coteright {
    width: 20%;
    text-align: center;
}

/* Scrollable Table Cells */
td.chat-box {
    border: 2px solid black;
    background-color: rgb(219, 218, 218);
    height: 170px;
	vertical-align: top;
    padding: 5px;
}

td.users-box {
    border: 2px solid black;
    background-color: rgb(218, 218, 218);
    height: 170px;
	vertical-align: top;
    padding: 5px;
}

div #show_messages{
	color: #000000;
}

/* Input & Button Styling */
td.input-container {
	width:60%;
}

#show_messages {
	font-size: 16px;
	color: #000000!important;
	height: 100%;
	overflow-y: auto;
	vertical-align: bottom;
}

#show_users {
	height: 100%;
	overflow-y: auto;
}

#send_message {
    width: 70%;
    border-radius: 3px;
    border: 2px solid black;
    padding: 5px;
}

button {
    padding: 5px 10px;
    cursor: pointer;
    background-color: rgb(155, 152, 152);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 3px;
}

/****** Profile EDIT page *****/
.username-warning {
    background-color: #fff8c4; /* jaune pâle warning */
}
.username-warning[readonly] {
    opacity: 0.7;
    cursor: not-allowed;
}


/****** Profile page ********/
.online-status {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 50%;
}

/* CONTINUOUS LAYERED STARS */
.stars-continuous {
  position: relative;
  display: inline-block;
  line-height: 1;
}
.stars-continuous .row-bg,
.stars-continuous .row-fg {
  white-space: nowrap;
}

/* La couche OR est rognée selon la variable --pct */
.stars-continuous .row-fg {
  position: absolute;
  inset: 0 auto 0 0;  /* top:0; right:auto; bottom:0; left:0 */
  width: var(--pct);
  overflow: hidden;
  pointer-events: none; /* hover passe au fond */
}

/* On réutilise tes classes existantes */
.rating-display i.text-warning { color: gold !important; text-shadow: 0 0 4px rgba(255,215,0,.7); }
.rating-display i.text-secondary { color: #ccc !important; }
.rating-display i { transition: transform .2s ease, color .2s ease; }
.star-gold { color: gold !important; text-shadow: 0 0 4px rgba(255,215,0,.6); transition: transform .2s ease; }
.star-empty { color: #ccc !important; opacity: .3; transition: transform .2s ease; }

/* Zoom au survol (s'applique aux deux couches) */
.rating-display i:hover { transform: scale(1.2); }

/* Glow si score parfait */
.rating-display.perfect-score .star-gold {
  text-shadow: 0 0 8px rgba(255,215,0,.9), 0 0 14px rgba(255,200,0,.7);
}
.rating-display .star-gold.bi-star-fill {
  color: gold !important;
  text-shadow: 0 0 6px rgba(255,215,0,.8) !important;
}

/* Optionnel : aligne mieux les deux rangées pour éviter un léger jitter */
.stars-continuous .row-bg i,
.stars-continuous .row-fg i {
  vertical-align: middle;
}

.vote-bar-container {
    display: flex;
    max-width: 240px;
    margin: 0 auto;
    border-radius: 8px;
    border-left: none;
    background: linear-gradient(to right, #68696b, #ffffff);
    overflow: hidden;
}

.vote-bar-form {
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0;
}

.vote-box {
    flex: 1;
    border: none;
    border-left: 1px solid #4d4e4e; /* left border for spacing */
    background: transparent;
    font-weight: bold;
    font-size: 12px;
    padding: 8px 0;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-box:first-child {
    border-left: none !important;
}

.vote-box span {
    pointer-events: none;
    display: block;
    text-align: center;
    width: 100%;
    
    background: linear-gradient(to right, purple, red);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vote-box:hover,
.vote-box.active {
    background-color: rgba(211, 20, 7, 0.2);
    color: white;
}
.vote-box.disabled {
    pointer-events: none;
    opacity: 0.5;
}
.toast-body {
    font-size: 14px;
}

#photoModalDesktop .btn-close {
position: absolute;
top: 1rem;
right: 1rem;   /* <-- à droite */
z-index: 1060;
opacity: 1;
}

/* Agrandir le X */
#photoModalDesktop .close-xl {
transform: scale(2); /* 2x plus gros */
}

/**** ADMIN BLOCK REPORTS *********/
.admin-reports-wrap{
    background: rgba(20,20,28,.96);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.admin-reports-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:18px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-reports-title{
    margin:0;
    font-size:1.55rem;
    font-weight:700;
    color:#fff;
    text-transform: lowercase;
}

.admin-reports-subtitle{
    margin-top:4px;
    font-size:.92rem;
    color:rgba(255,255,255,.65);
}

.admin-reports-count{
    white-space:nowrap;
    background: rgba(124,77,255,.16);
    color:#efe7ff;
    border:1px solid rgba(124,77,255,.35);
    padding:10px 14px;
    border-radius:999px;
    font-weight:700;
    font-size:.95rem;
}

.admin-reports-table{
    width:100%;
    margin:0;
    table-layout:fixed;
}

.admin-reports-table thead th{
    background:#181a20 !important;
    color:#f4f4f4 !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    font-size:.95rem;
    font-weight:700;
    padding:14px 16px !important;
    vertical-align:middle;
}

.admin-reports-table td{
    border-color:rgba(255,255,255,.06) !important;
    padding:16px !important;
    vertical-align:top;
}

.admin-reports-table tbody tr:hover{
    background:rgba(255,255,255,.03);
}

.col-date{ width: 120px; }
.col-user{ width: 130px; }
.col-actions{ width: 195px; }
.col-reason{ width: auto; }

.report-date{
    white-space:normal;
    color:#f1f1f1;
    font-size:.93rem;
}

.report-date-wrap{
    display:flex;
    flex-direction:column;
    line-height:1.25;
    gap:4px;
}

.report-date-day{
    font-weight:700;
    color:#ffffff;
}

.report-date-time{
    color:rgba(255,255,255,.68);
    font-size:.88rem;
}

.report-user{
    font-weight:600;
    color:#fff;
    word-break:break-word;
}

.report-user-target{
    color:#ffd76b;
}

.report-reason-cell{
    min-width:0;
}

.report-reason-content{
    display:block;
    width:100%;
    min-height:76px;
    max-height:260px;
    overflow:auto;
    padding:14px 16px;
    border-radius:14px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
    color:#f5f5f5;
    line-height:1.55;
    white-space:pre-wrap;
    word-break:break-word;
    text-align:left;
}

.report-actions-cell{
    vertical-align:middle !important;
}

.report-actions-wrap{
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:stretch;
    min-width:160px;
}

.admin-action-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    min-height:32px;
    padding:2px 4px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.08);
    background:#1677e6;
    color:#fff;
    font-weight:700;
    transition:all .18s ease;
}

.admin-action-btn:hover{
    transform:translateY(-1px);
    filter:brightness(1.05);
}

.admin-action-delete{
    background:#1677e6;
    color:#fff;
}

.admin-action-suspend{
    background:#1677e6;
    color:#fff;
}

.admin-action-unblock{
    background:#1677e6;
    color:#fff;
}

.admin-action-btn span:first-child{
    font-size:1rem;
    line-height:1;
}

@media (max-width: 991px){
    .admin-reports-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .admin-reports-table{
        table-layout:auto;
    }

    .report-reason-content{
        min-width:320px;
    }
}

/**** BLOQUER USER OU REPORT ******/
.viewer-actions {
  margin-top: 10px;
}
.viewer-actions button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}
.delete-report {
  padding: 2px 5px;
  margin: 0 5px 10px 0;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  transition: background-color 0.3s;
}
.suspend-user {
  padding: 2px 5px;
  margin: 0 5px 10px 0;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  transition: background-color 0.3s;
}

.unblock-user {
  padding: 2px 5px;
  margin: 0 5px 10px 0;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  transition: background-color 0.3s;
}
.unblock-button-red {
background: #c00; 
color: white; 
border: none;
margin-bottom: 10px;
padding: 5px 12px; 
border-radius: 5px; 
cursor: pointer; 
float: right;
vertical-align:baseline;
}
#blocked-users-list {
  max-height: 400px;
  overflow-y: auto;
}
/****** GALLERIES **********/
#gallery-table {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
#gallery-table.visible {
    display: table;
    opacity: 1;
}

.gallery-title {
	text-decoration: none;
	font-weight: bold;
	padding: 0 10px;
	color: #FFB939;
}

.gallery-title:hover {
	text-decoration: none;
	font-weight: bold;
	padding: 0 10px;
	color: #be7f0a;
}

table.gallery-rounded {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    border-radius: 5px !important;
    overflow: hidden !important;
}

/* Internal borders */
table.gallery-rounded th,
table.gallery-rounded td {
    border-right: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}

/* Remove right border from last cell in each row */
table.gallery-rounded th:last-child,
table.gallery-rounded td:last-child {
    border-right: none !important;
}

/* Remove bottom border from last row */
table.gallery-rounded tr:last-child td {
    border-bottom: none !important;
}

/* Rounding outer corners */
table.gallery-rounded tr:first-child th:first-child {
    border-top-left-radius: 5px !important;
}

table.gallery-rounded tr:first-child th:last-child {
    border-top-right-radius: 5px !important;
}

table.gallery-rounded tr:last-child td:first-child {
    border-bottom-left-radius: 5px !important;
}

table.gallery-rounded tr:last-child td:last-child {
    border-bottom-right-radius: 5px !important;
}

/****** Profile EDIT page ****/
.input-sm {
    height: 22px!important;
}

select.input-sm {
    height: 22px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dark-input {
    background-color: #797575!important;
    color: #fff!important;
    border: 1px solid #555!important;
}

.dark-input::placeholder {
    color: #bbb;
}

.tableau-profil th, .tableau-profil td {
    padding: 5px 10px; /* Minimal padding */
    vertical-align: middle; /* Vertically center content */
}

.tableau-profil tr {
    margin-bottom: 5px; /* Minimal space between rows */
}

.tableau-profil select, .tableau-profil input, .tableau-profil textarea {
    display: block; /* Make the elements block-level */
    margin: 0 auto; /* Center horizontally */
    padding: 5px; /* Adjust padding for input fields */
    height: auto; /* Let the height adjust to content */
}

.tableau-profil input, .tableau-profil select, .tableau-profil textarea {
    vertical-align: middle; /* Optional: centers text inside inputs */
}

/*********** ACCESS SETTINGS ************/
.big-check {
    transform: scale(1.4);
    margin-right: 6px;
}

.check-label {
    font-size: 1.1rem;
    color: #ffcc00;
    font-weight: 500;
}

/****** Compte page ********/
.custom-file-short::file-selector-button {
    content: "📷 Photo";
    padding: 0.25rem 0.75rem;
    font-weight: bold;
    background-color: #880029;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-file-short {
    font-size: 0.85rem;
    max-width: 240px;
}

.w-5 { width: 5% !important; }
.w-10 { width: 10% !important; }
.w-15 { width: 15% !important; }

/* Reduce the padding inside the table cells */
.tableau-profil td {
    padding: 3px 0 2px 0; /* Reduce vertical padding to minimal values */
}

/* Optional: Adjust the padding for the links */
.tableau-profil td a {
    padding-top: 3px;
    padding-bottom: 3px; /* Adjust these values as needed */
}

.tableau-profil th.description, .tableau-profil > .description td {
    vertical-align: top; /* Align both header and data cells vertically */
}

/* Align the text of the textarea with the top of the header */
.description td textarea {
    vertical-align: top; /* Align the textarea top with the text */
    width: 100%; /* Ensure textarea takes the full width */
    overflow-y: auto;
}

.tableau-profil .text-start {
    text-align: left !important;
    padding-top: 2px;
}

.category-header {
    font-weight: bold;
    background-color: #333;
    color: #fff;
}

.category-name {
    font-weight: bold;
    background-color: #333;
    color: #fff;
    text-align: left; /* Ensure the category name is aligned left */
    padding-left: 10px; /* Add some space from the left edge */
}

/******* INBOX  **************/
.link-black {
    color: black;
}
.link-black:hover {
    color: black; /* keep it black on hover too */
}

.messagerie tbody td:first-child {
    padding-left: 1rem; /* Bootstrap uses rem units */
}

table.messagerie tbody tr.unread {
    background-color: #8f8f91 !important;  /* gris clair */
}

table.messagerie tbody tr.unread:hover {
    background-color: #d6d8db !important;
}

table.messagerie tbody tr.unread td {
    background-color: inherit !important;
}

.unread {
    font-weight: bold;
    font-size: larger;
    background-color: #7e8081 !important; /* Light grey background */
}

.unread:hover a {
    color: #666565;
}

.unread a {
    color: #000; /* Ensure subject link is readable */
}

table.messagerie tbody tr {
    padding: 0 !important;
    height: 30px; /* Adjust as needed */
}

table.messagerie tbody td {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    vertical-align: middle;
}

table.messagerie form {
    margin: 0;
}

table.messagerie button {
    padding: 2px 6px !important;
    line-height: 1 !important;
    font-size: 0.8rem;
}

table.messagerie th:nth-child(1),  /* De */
table.messagerie td:nth-child(1) {
    width: 15%;
}

table.messagerie th:nth-child(2),  /* Sujet */
table.messagerie td:nth-child(2) {
    width: 50%;
}

table.messagerie th:nth-child(3),  /* Date */
table.messagerie td:nth-child(3) {
    width: 25%;
}

table.messagerie th:nth-child(4),  /* Actions */
table.messagerie td:nth-child(4) {
    width: 10%;
    white-space: nowrap;
    text-align: center;
}

.accordion-button-sm {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

.accordion-body {
    background-color: #f9f9f9;
}

.accordion-button .text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.accordion-body .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-wrap;
}

#historiqueAccordion .accordion-button {
    padding: 0.25rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.2;
    background-color: transparent;
    box-shadow: none;
}

#historiqueAccordion .accordion-button:not(.collapsed) {
    background-color: #f0f0f0; /* light background when expanded */
    box-shadow: none; /* remove the inner shadow */
}

#historiqueAccordion .accordion-button strong {
    font-weight: 500;
}
#historiqueAccordion .accordion-item {
    border-radius: 4px;
    overflow: hidden;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px; /* adjust as needed */
    display: inline-block;
    vertical-align: middle;
}

/****** Message view *********/
.card-text {
    font-size: 2em;
}

/****** New Gallery page *****/
.hidden-input { display: none!important; }

/******  GALLERIES ***********/
.galleries thead th:first-child {
    padding-left: 1rem;
    text-align: start;
}

.galleries tbody td:first-child {
    padding-left: 1rem;
    text-align: start;
}

/****** View Gallery page *****/
/* Gallery Styles */
.gallery-container {
    margin-top: 20px;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-thumbnail {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-container {
    margin: 20px auto;
    max-width: 1200px;
}

.gallery-item {
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 5px;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Modal Styles */
#galleryModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

#galleryModal .modal-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
}

#galleryModal .modal-image {
    max-width: 100vw;
    max-height: 90vh; /* leave room for controls */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

#galleryModal .vote-controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    z-index: 10;
    text-align: center;
}

#galleryModal .vote-controls-overlay .btn {
    padding: 6px 12px;
    font-size: 14px;
}

#galleryModal .arrow {
    color: white;
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

#galleryModal .prev {
    left: 20px;
}

#galleryModal .next {
    right: 20px;
}

#galleryModal .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 30;
}


/****** Profile edit page *******/
.bio-wrapper {
    position: relative;
}

.bio-readonly {
    background-color: #222;
    color: #ddd;
}

/* Overlay "En modération" */
.bio-pending-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;           /* on ne bloque pas le focus, juste les clics */
    background: rgba(0, 0, 0, 0.45); /* léger voile sombre */
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: 0 1rem;
    font-style: italic;
}

.tableau-profil-edit th {
	width: 30%;
    padding-right: 10px;
    padding-bottom: 10px;
}

.tableau-profil-edit th.description {
  vertical-align: top;
}

.tableau-profil-edit td {
	padding-bottom: 10px;
}

.tableau-profil-edit .form-control {
	line-height: 1rem !important;
}

.tableau-profil-edit {
	width: 100%;
	color: #FFFFFF;
	font-size: 1.3em;
	margin-bottom: 1.5rem;
}

.tableau-profil th {
	width: 40%;
}

.tableau-profil {
	width: 100%;
	color: #FFFFFF;
	font-size: 1.3em;
	margin-bottom: 1.5rem;
}

th.text-end {
	color: #b46cb8;
	font-weight: bold;
}

.columns {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 5px 0;
}

.column {
	flex: 1;
	border: 1px solid gray;
	margin: 2px;
	padding: 10px;
	&:first-child { margin-left: 0; }
	&:last-child { margin-right: 0; }
	
}

/********* SEARCH PAGE **********/
.profile-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
}
.profile-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

/********* PARTYS **********/
.card {
    transition: transform 0.2s ease;
}
.card:hover {
    transform: scale(1.03);
}

/*********  NOUS JOINDRE *****/
.contact-invite .btn {
  transition: transform 0.2s ease;
}
.contact-invite .btn:hover {
  transform: scale(1.05);
}

/********* FOOTER **********/
#footer {
	clear: both;
	padding-top: 10px;
	height: 32px;
	background: url("../images/futer.jpg") bottom repeat-x;
	text-align: center;
	margin-top: 30px;
}

#footer p {
	text-align: center;
	font-size: smaller;
	color: #FFFFFF;
}

#footer a {
	color: #FFFFFF;
}

#bg {
	background: url("../images/futer.jpg") bottom repeat-x;
	padding: 30px 0;
}

/* Lien de bascule de langue */
.lang-switch { font-weight: 600; }
.lang-switch:hover { text-decoration: underline; }

/* Compteur NEW USERS *****/
.admin-counter-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 24px !important;
}

.admin-counter-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 0 0 2px #fff;
}

/******* CUSTOM *************/


/**** Media Queries ****/
@media screen and (max-width: 980px) {
	.columns .column {
		  margin-bottom: 5px;
	  flex-basis: 40%;
		  &:nth-last-child(2) {
			  margin-right: 0;
		  }
		  &:last-child {
			  flex-basis: 100%;
			  margin: 0;
		  }
	  }
  }
  
  @media screen and (max-width: 680px) {
	  .columns .column {
		  flex-basis: 100%;
		  margin: 0 0 5px 0;
	  }
  }

  /* Responsive Design Profile page */
@media (max-width: 768px) {
    .profile-card {
        padding: 1.5rem;
    }

    .profile-card img {
        width: 130px;
        height: 130px;
    }
}

/* =========================
   MESSAGE HTML RENDU
========================= */

.message-rendered {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    line-height: 1.75;
    color: #111827;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.message-rendered p:last-child {
    margin-bottom: 0;
}

.message-rendered a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: underline;
}

.message-rendered img {
    max-width: 100%;
    border-radius: 12px;
}

/* =========================
   HISTORIQUE
========================= */

.message-thread-rendered {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #374151;
}

.message-thread-rendered p:last-child {
    margin-bottom: 0;
}

.message-thread-rendered img {
    max-width: 100%;
}

/* =========================================================
   PAIRVERSION ULTRA PREMIUM - GLASS VIOLET + OR
========================================================= */

.pvx-global-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fef3c7;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.14), rgba(168, 85, 247, 0.10));
    border: 1px solid rgba(250, 204, 21, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

/* =========================
   BANNIÈRE
========================= */

.pvx-global-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 24px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(13, 18, 34, 0.88), rgba(28, 36, 64, 0.78));
    border: 1px solid rgba(192, 132, 252, 0.18);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pvx-global-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,0.06), transparent 24%, transparent 76%, rgba(255,255,255,0.04));
    pointer-events: none;
}

.pvx-global-banner-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

.pvx-global-banner-orb-1 {
    top: -36px;
    right: -28px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.24), transparent 68%);
}

.pvx-global-banner-orb-2 {
    bottom: -60px;
    left: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.16), transparent 70%);
}

.pvx-global-banner-icon-wrap {
    position: relative;
    z-index: 1;
}

.pvx-global-banner-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fde68a;
    font-size: 1.35rem;
    font-weight: 800;
    background:
        linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(168, 85, 247, 0.14));
    border: 1px solid rgba(250, 204, 21, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 12px 30px rgba(0,0,0,.24);
}

.pvx-global-banner-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.pvx-global-banner-topline {
    margin-bottom: 10px;
}

.pvx-global-banner-title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0,0,0,.18);
}

.pvx-global-banner-text {
    color: rgba(255,255,255,0.94);
    line-height: 1.72;
    font-size: 0.98rem;
}

.pvx-global-banner-text p:last-child {
    margin-bottom: 0;
}

.pvx-global-banner-text strong {
    color: #fff3bf;
}

.pvx-global-banner-text a {
    color: #fcd34d;
    text-decoration: underline;
}

.pvx-global-banner:hover {
    transform: translateY(-1px);
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* =========================
   MODAL
========================= */

#globalMessageModal .modal-dialog {
    max-width: 760px;
}

#globalMessageModal .modal-content {
    background: transparent;
    border: 0;
}

#globalMessageModal .modal-backdrop,
.modal-backdrop.show {
    opacity: .72;
}

.pvx-global-modal {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(192, 132, 252, 0.18);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.84), rgba(255,255,255,0.76));
    box-shadow:
        0 30px 90px rgba(0,0,0,.48),
        inset 0 1px 0 rgba(255,255,255,0.30);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pvx-global-modal-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.62), rgba(248,250,252,0.72));
    pointer-events: none;
}

.pvx-global-modal-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(18px);
}

.pvx-global-modal-orb-1 {
    top: -60px;
    right: -30px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 70%);
}

.pvx-global-modal-orb-2 {
    bottom: -90px;
    left: -50px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.14), transparent 72%);
}

.pvx-global-modal-header {
    position: relative;
    z-index: 1;
    padding: 26px 28px 12px;
    background: transparent;
}

.pvx-global-modal-headings {
    max-width: calc(100% - 54px);
}

.pvx-global-modal-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.16;
    color: #111827;
    text-shadow: 0 1px 0 rgba(255,255,255,.28);
}

.pvx-global-modal-body {
    position: relative;
    z-index: 1;
    padding: 18px 28px 26px;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.78;
}

.pvx-global-modal-body p:last-child {
    margin-bottom: 0;
}

.pvx-global-modal-body strong {
    color: #111827;
}

.pvx-global-modal-body a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: underline;
}

.pvx-global-modal-close {
    position: relative;
    z-index: 2;
    opacity: .76;
    transition: transform .18s ease, opacity .18s ease;
}

.pvx-global-modal-close:hover {
    opacity: 1;
    transform: scale(1.08);
}

.pvx-global-modal-btn {
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #a855f7 60%, #f59e0b);
    box-shadow:
        0 12px 28px rgba(124, 58, 237, 0.28),
        inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.pvx-global-modal-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
        0 16px 34px rgba(124, 58, 237, 0.34),
        inset 0 1px 0 rgba(255,255,255,.18);
    opacity: .98;
}

/* =========================
   CONTENU RICHE
========================= */

.pvx-global-banner-text .msg-global-premium,
.pvx-global-modal-body .msg-global-premium {
    display: block;
    font-weight: 800;
    color: #b45309 !important;
    font-size: 1.05rem;
}

.pvx-global-banner-text .msg-global-discreet,
.pvx-global-modal-body .msg-global-discreet {
    color: #6b7280 !important;
}

.pvx-global-banner-text .msg-global-alert,
.pvx-global-modal-body .msg-global-alert {
    display: block;
    background: rgba(239, 68, 68, 0.10);
    color: #991b1b !important;
    border: 1px solid rgba(239, 68, 68, 0.14);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
}

.pvx-global-banner-text .msg-global-success,
.pvx-global-modal-body .msg-global-success {
    display: block;
    background: rgba(34, 197, 94, 0.10);
    color: #166534 !important;
    border: 1px solid rgba(34, 197, 94, 0.14);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
}

/* =========================
   Animations douces
========================= */
#pvx-global-banner-wrap {
    transition: opacity .22s ease, transform .22s ease;
}

.pvx-global-banner,
.pvx-global-modal {
    animation: pvxFadeUp .35s ease;
}

@keyframes pvxFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   Bouton fermer bannière
========================= */
.pvx-global-banner-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.pvx-global-banner-close:hover {
    background: rgba(255,255,255,0.14);
    transform: scale(1.06);
    opacity: 1;
}

.pvx-global-banner-close:focus {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(168, 85, 247, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 767.98px) {
    .pvx-global-banner {
        gap: 14px;
        padding: 18px 18px;
        border-radius: 22px;
    }

    .pvx-global-banner-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 16px;
        font-size: 1.18rem;
    }

    .pvx-global-banner-title {
        font-size: 1.08rem;
    }

    .pvx-global-banner-text {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .pvx-global-modal-title {
        font-size: 1.24rem;
    }

    .pvx-global-modal-header {
        padding: 20px 18px 10px;
    }

    .pvx-global-modal-body {
        padding: 16px 18px 20px;
    }
}

/****** COOKIES CONSENTEMENT ************/
  :root{
    --cc-bg:#111827;--cc-fg:#f9fafb;--cc-accent:#22c55e;--cc-accent-2:#ef4444;--cc-muted:#9ca3af;
    --cc-card:#1f2937;--cc-border:rgba(255,255,255,.08);
  }
  .cc-backdrop{position:fixed;inset:0;backdrop-filter:saturate(120%) blur(2px);background:rgba(0,0,0,.25);
    display:none;z-index:99998}
  .cc-banner{position:fixed;left:0;right:0;bottom:0;z-index:99999;
    display:none;box-sizing:border-box}
  .cc-inner{max-width:1100px;margin:auto;border:1px solid var(--cc-border);
    background:linear-gradient(180deg,var(--cc-card),#111827);
    color:var(--cc-fg);border-radius:14px;padding:18px;box-shadow:0 12px 28px rgba(0,0,0,.35);
    display:flex;gap:16px;align-items:flex-start}
  .cc-text{flex:1;line-height:1.45}
  .cc-title{font-size:17px;font-weight:700;margin:0 0 6px}
  .cc-desc{font-size:14px;color:var(--cc-muted);margin:0}
  .cc-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
  .cc-btn{appearance:none;border:1px solid var(--cc-border);background:#0b1220;color:#fff;
    padding:10px 14px;border-radius:10px;font-weight:600;cursor:pointer;font-size:14px;transition:.15s}
  .cc-btn:hover{transform:translateY(-1px)}
  .cc-accept{background:var(--cc-accent);border-color:rgba(0,0,0,.2)}
  .cc-decline{background:var(--cc-accent-2);border-color:rgba(0,0,0,.2)}
  .cc-manage{background:transparent}
  .cc-link{color:#60a5fa;text-decoration:none}
  .cc-link:hover{text-decoration:underline}
  .cc-prefs{display:none;margin-top:12px;border-top:1px solid var(--cc-border);padding-top:12px}
  .cc-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px dashed var(--cc-border)}
  .cc-row:last-child{border-bottom:0}
  .cc-row label{font-weight:600}
  .cc-switch{position:relative;width:42px;height:24px;background:#374151;border-radius:999px;transition:.2s;cursor:pointer}
  .cc-switch[data-on="true"]{background:var(--cc-accent)}
  .cc-switch input{position:absolute;opacity:0;width:0;height:0}
  .cc-dot{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s}
  .cc-switch[data-on="true"] .cc-dot{left:21px}
  .cc-save{margin-top:10px}
  /* Petit bouton flottant pour re-gérer les cookies */
  .cc-fab{position:fixed;left:14px;bottom:14px;background:#111827;color:#fff;border:1px solid var(--cc-border);
    padding:10px 12px;border-radius:999px;font-size:13px;cursor:pointer;z-index:99990;display:none}
  /* Responsive */
  @media (max-width:720px){
    .cc-inner{margin:8px;border-radius:12px;padding:14px;flex-direction:column}
    .cc-actions{width:100%}
    .cc-actions .cc-btn{flex:1}
  }



/* =========================================================
   STABILISATION LISTES LIVE DESKTOP
   Scope limité aux colonnes desktop : ne modifie pas le layout général.
========================================================= */
.left-column,
.right-column,
.left-column-top,
.right-column-bottom,
.webcam-list-container,
.online-users-scroll {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.left-column-top,
.right-column-bottom {
  overflow: hidden;
}

.webcams-page-hero,
.webcams-page-hero img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.webcam-list-container,
.online-users-scroll {
  width: 100%;
  overflow-x: hidden;
}

#webcam-list {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow-x: hidden;
  contain: layout paint;
}

#webcam-list .webcam-thumb {
  width: 100% !important;
  max-width: 160px;
  flex: 0 0 auto;
  margin: 0 auto 10px !important;
  box-sizing: border-box;
}

#webcam-list .video-container {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
}

#webcam-list .video-container video,
#webcam-list .video-container img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

#webcam-list .broadcaster-nickname {
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-webcams-message {
  width: 100%;
  max-width: 100%;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
}

#online-users-list {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  contain: layout paint;
}

#online-users-list li {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#online-users-list li:not(.group-header) {
  padding-right: 4px;
}

#online-users-list li.group-header {
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#online-users-list a {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#online-users-list a span:last-child {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#online-users-list .genre-icon,
#online-users-list .genre-dot {
  flex: 0 0 auto;
}

/***** WEBCAMS LIST - STABLE TOP ALIGN *****/

/***** NO WEBCAM MESSAGE - NO JUMP FINAL *****/

.webcam-list-container.pv-stable-live-box {
  position: relative;
  min-height: 105px;
  overflow: visible !important;
}

#no-webcams-message.no-webcams-message {
  display: block !important;

  position: absolute;
  top: 35px;
  left: 0;
  right: 0;

  width: 115px;
  max-width: 115px;
  height: 34px;
  margin: 0 auto !important;

  text-align: center;
  white-space: normal;
  line-height: 17px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);

  z-index: 10;
  pointer-events: none;

  opacity: 0;
  visibility: hidden;
}

/* Visible seulement quand le container dit empty */
.webcam-list-container.pv-stable-live-box[data-webcams-state="empty"] 
#no-webcams-message.no-webcams-message {
  opacity: 1;
  visibility: visible;
}

/* Caché quand webcam live ou chargement */
.webcam-list-container.pv-stable-live-box[data-webcams-state="live"] 
#no-webcams-message.no-webcams-message,
.webcam-list-container.pv-stable-live-box[data-webcams-state="loading"] 
#no-webcams-message.no-webcams-message {
  opacity: 0;
  visibility: hidden;
}

#webcam-list[data-pv-stable-list="webcams"],
#webcam-list {
  position: relative;
  z-index: 1;

  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start !important;

  padding-top: 8px;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Empêche une webcam seule de se centrer verticalement */
#webcam-list > div,
#webcam-list [id^="webcam-wrapper-"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center;
}

/* Stabilise la vignette */
#webcam-list img,
#webcam-list video,
#webcam-list canvas {
  display: block;
  max-width: 142px;
  width: 142px;
  height: auto;
  object-fit: cover;
}

/***** WEBCAMS LIST - HEIGHT CLEAN CSS ONLY *****/

/* Container général : pas de scrollbar par défaut */
.webcam-list-container.pv-stable-live-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start !important;

  min-height: 95px;
  max-height: none;
  overflow: visible !important;
}

/* Message aucune webcam : compact, 2 lignes */
#no-webcams-message.no-webcams-message {
  width: 100%;
  max-width: 105px;
  margin-top: 38px !important;
  margin: 8px auto 10px auto;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  font-size: 13px;
  color: #ffffff;
}

/* Liste webcam : toujours en haut */
#webcam-list[data-pv-stable-list="webcams"],
#webcam-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  padding-top: 8px;

  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Quand il y a des webcams, elles restent collées en haut */
#webcam-list > div,
#webcam-list [id^="webcam-wrapper-"] {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  align-self: center;
}

/* Vignette stable */
#webcam-list img,
#webcam-list video,
#webcam-list canvas {
  display: block;
  max-width: 142px;
  width: 142px;
  height: auto;
  object-fit: cover;
}

/**** SLIDER ACCUEIL NEW MEMBERS *****/
.onlineSwiper img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/*
 * Les flèches occupent 34 px chacune.
 * Le Swiper prend tout l'espace restant et calcule lui-même
 * la largeur exacte des 5 cartes.
 */
.new-users-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 175px;
    overflow: visible;
    padding: 0;
    gap: 8px;
    box-sizing: border-box;
}

.new-users-swiper {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 165px;
    margin: 0;
    overflow: hidden;
}

#newUsersSwiper .swiper-wrapper {
    align-items: flex-start;
}

/*
 * Ne pas forcer 130 px ici.
 * Swiper calcule : largeur disponible ÷ 5.
 */
#newUsersSwiper .swiper-slide {
    height: 165px;
    min-width: 0;
    max-width: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

#newUsersSwiper .col_1 {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

#newUsersSwiper .new-user-photo {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 7px;
}

/* Les longs pseudos ne peuvent plus élargir une carte. */
#newUsersSwiper .fs-6 {
    width: 100%;
    min-width: 0;
    min-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#newUsersSwiper {
    visibility: hidden;
    opacity: 0;
}

#newUsersSwiper.swiper-initialized {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.new-users-prev,
.new-users-next {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 34px !important;
    height: 44px !important;
    margin: 0 !important;
    flex: 0 0 34px;
}

/* Recentre visuellement les chevrons Swiper. */
.new-users-prev::after,
.new-users-next::after {
    font-size: 34px !important;
}

/* Sécurité pour les colonnes desktop un peu plus étroites. */
@media (max-width: 1180px) {
    .new-users-container {
        gap: 6px;
    }

    .new-users-prev,
    .new-users-next {
        width: 30px !important;
        flex-basis: 30px;
    }
}

