.navbread {
  width: 100%;
}

main,
.content,
.wrapper,
.container {
  overflow: visible !important;
}

/* Optionnel : dégradé subtil sur fond sombre */
.bg-gradient-dark {
  background: linear-gradient(180deg, #0a0d0d 0%, #1818184f 100%);
  border-bottom: 1px solid #080909;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #6c757d !important;
}

h1.page-title {
  margin-top: 10px;
}

.badge-primary {
  color: #dbdbdb;
  background: #2e4673;
  border: 1px solid #0b0b0b;
}

.badge-primary:hover {
  color: #fff;
  background: #26385a;
  border: 1px solid #0b0b0b;
}

/** Container custom **/

.box {
  padding: 10px 10px;
  border: 1px solid #181c1c;
  border-radius: 5px;
  background: #0a0d0d;
  box-shadow: 0 2px #0b0b0b;
  border-radius: 0 0 8px 8px;
}

.box img {
  max-width: 100%;
}

.box-content {
  background-color: #151818a3;
  padding: 2px;
  color: #aeb0af;
  border-left: 1px solid #181c1c;
  border-right: 1px solid #181c1c;
  border-bottom: 1px solid #181c1c;
  border-radius: 0 0 5px 5px;
}

.box-header {
  padding: 6px 10px;
  min-height: 15px;
  height: 35px;
  position: relative;
  background: #0a0d0d;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid #221f1fb8 !important;
}

.box-header h5 {
  font-size: 0.8rem;
}

h4.box-head-title {
  line-height: 20px;
  color: inherit;
  text-rendering: optimizelegibility;
  font-size: 0.9rem;
  text-shadow: 0 1px#000;
}

.box-content-inner {
  padding: 8px;
  max-width: 100%;
}

h4.head {
  font-weight: bold;
}

/**index navbar **/

img.logo {
  width: 120px;
  border-radius: 8px;
  border: 1px solid #000;
}

.index-avatar {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  border-radius: 50%;
}

/**Profil page**/

img.profil-avatar {
  max-width: 100%;
  max-height: 150px;
  border-radius: 100%;
}

/**Users page**/

.user {
  color: #8ca3f0;
  text-shadow: 0 1px #000;
}

.power-user {
  color: #c2994e;
  text-shadow: 0 1px #000;
}

.vip {
  color: #589958;
  text-shadow: 0 1px #000;
}

.admin {
  color: #e45656;
  text-shadow: 0 1px #000;
}

.bot {
  color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
}

/* TAILLE EN ROUGE DANS LE CHAT */
.chat-size {
  color: #c66 !important;
}

img.profil-list-avatar {
  max-width: 80px;
  max-height: 80px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 100%;
}

.add-movie-success {
  color: #73d08b;
}

/**admin**/

/**footer**/
/* FOOTER COLLÉ BAS - PAS STICKY */
.footer-fixed {
  width: 100vw; /* *** LARGEUR ÉCRAN COMPLET *** */
  position: relative; /* *** ASSURE LARGEUR TOTALE *** */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* VOS STYLES PARFAITS */
  margin-top: auto;
  color: #aeb0af;
}

/* MOBILE : BODY A L'ESPACE (PAS LES BOXES !) */
@media (max-width: 991px) {
  body {
    padding-bottom: 80px; /* ESPACE POUR FOOTER */
  }
}

/** movie prez**/

img.prez-thumb {
  max-width: 100%;
}

.nfo-container {
  padding: 15px;
  margin: 20px 0;
  max-width: 100%;
  overflow-x: auto;
  /* *** SCROLL VERTICAL *** */
  max-height: 400px;
  overflow-y: auto;
}

.nfo-content {
  font-size: 12px;
  line-height: 1.1;
  margin: 0;
  white-space: pre;
  word-wrap: normal;
}

.reso {
  color: #a84646;
  border: 1px solid #303333;
  padding: 3px;
  border-radius: 5px;
  font-size: 14px;
}
.src {
  color: #2b7784;
  border: 1px solid #303333;
  padding: 3px;
  border-radius: 5px;
  font-size: 14px;
}

.sd {
  color: #b0c1c2;
}
.hd {
  color: #38bcc2;
  text-shadow: 0 1px #535050;
}

.fhd {
  color: #a05757;
  text-shadow: 0 1px #535050;
}

.uhd {
  color: #6d4999;
  text-shadow: 0 1px #535050;
}

.title-prez {
  color: #fff;
}

.genre-prez {
  color: #737372;
  font-style: italic;
}

.duration-prez {
  font-style: italic;
  color: #737372;
}

.size-prez {
  color: #babbbb;
  font-weight: bold;
}

.number-movies {
  color: #fff;
  font-weight: bold;
}

.post-thumb {
  max-width: 100%;
  height: auto;
  display: block; /* Centre l'image */
  margin: 0 auto; /* Centre horizontalement */
}

img.tmdb {
  width: 80px;
}

.infos-last-movie {
  font-size: 0.9rem;
  text-align: center;
  width: auto;
  color: #888e97;
}

.row-cols-md-6 .col {
  margin-bottom: 15px; /* Espace entre images */
}

/* Style pour pickslove (coeur) */
.pickslove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.prod-logo {
  background: #241414;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 10px;
  margin-top: 10px;
}

.season-collapse .collapse {
  transition: height 0.3s ease;
}

.episode-card {
  border: 1px solid #151515;
  border-radius: 8px;
  overflow: hidden;
  background: #070909;
  transition: transform 0.2s;
}

.episode-thumb {
  width: 100%;
  height: 50px;
  object-fit: cover;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.8rem;
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-no {
  color: #4e6ea0;
}

.btn-season-toggle {
  background: #2a2a2a;
  border: none;
  color: white;
  font-weight: 500;
}

.btn-season-toggle:hover {
  background: #333;
}

/**commentaires**/

.comment-box {
  background-color: #111;
  border-radius: 10px;
  padding: 10px;
}

.comment-box textarea {
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #ddd;
}

.comment-box textarea:focus {
  border-color: #0d6efd;
  background-color: #202020;
  color: #fff;
}

.comment-box .smiley {
  cursor: pointer;
  font-size: 1.4rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.comment-box .smiley:hover {
  transform: scale(1.3);
  filter: brightness(1.3);
}

/* Animation douce des sections de l'accordéon */
.accordion-animated .accordion-collapse {
  transition: max-height 0.35s ease, opacity 0.35s ease;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
}

.accordion-animated .accordion-collapse.show {
  opacity: 1;
  max-height: 1500px; /* assez grand pour contenir plusieurs épisodes */
}

/* Animation légère du bouton au clic */
.accordion-button {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.form-select:focus,
.form-control:focus {
  border: 1px solid #2a313e !important;
}

.card.bg-dark {
  border: 1px solid transparent !important;
  box-shadow: 0 2px #0a0d0d !important;
}

.pagination {
  gap: 6px; /* Espace entre numéros */
  padding-bottom: 15px;
}

.page-link {
  padding: 5px 8px; /* Aéré */
  font-size: 14px; /* Compact */
  color: #aeb0af; /* Texte sombre */
  transition: all 0.2s ease; /* Animation fluide */
  border: 1px solid transparent !important;
  background: none;
}

.page-link:hover {
  color: #3769b2; /* Texte sombre */
  background: transparent !important;
  border: 1px solid transparent !important;
}

.page-item.active .page-link {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #3769b2; /* Texte sombre */
}

.page-item.active .page-link:focus {
  color: #aeb0af; /* Contraste */
  background-color: transparent !important;
  border-radius: 6px !important ;
  border: none !important;
  box-shadow: none !important;
}

.page-item.disabled .page-link {
  color: #6c757d; /* Points gris */
  border-color: transparent;
  background-color: transparent;
  cursor: default;
}

.tab-qual {
  width: 65px;
}

a.link-title {
  font-size: 1rem !important;
}

span.src_tiret_movie {
  color: #ba0f0f;
}

.box-stats {
  font-size: 0.92rem;
}

.count_stats {
  font-size: 0.92rem;
  color: #8d78f0;
}

.brackets {
  font-size: 0.82rem !important;
}

/* Mobile : plus compact */
@media (max-width: 576px) {
  .page-link {
    padding: 6px 10px;
    font-size: 12px;
  }
}

.chat-post {
  border: 1px solid rgba(26, 30, 30, 0.62);
  padding: 7px;
  background-color: #07070780;
  border-radius: 10px;
  font-size: 0.93rem !important;
  border: 1px solid #181c1c;
  box-shadow: 0 2px #070707;
  /*0c1111a6*/
}

#smiley-box {
  border: 1px solid #111515 !important;
  font-size: 13px !important;
}

#smiley-box img {
  max-width: 15px;
  max-height: 15px;
}
.chat-post img {
  max-width: 300px;
  max-height: 200px;
}

.chat-image {
  max-width: 300px;
  max-height: 200px;
  border-radius: 8px;
  margin: 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s;
}
.chat-image:hover {
  transform: scale(1.05);
}
.ratio {
  max-width: 400px;
  margin: 8px 0;
}

.mention {
  background: #0d6efd;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

/* Container principal */
.overflow-auto {
  /* Force la scrollbar VISIBLE */
  overflow-y: scroll !important;
  overflow-x: hidden;
  max-height: 400px; /* Ajuste selon ton besoin */
}

/* Webkit (Chrome, Safari, Edge) */
.overflow-auto::-webkit-scrollbar {
  width: 8px; /* Largeur fine */
}

.overflow-auto::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1); /* Fond discret */
  border-radius: 10px;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background: #6c757d; /* Gris Bootstrap */
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.overflow-auto::-webkit-scrollbar-thumb:hover {
  background: #5a6268;
  border-color: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #6c757d rgba(255, 255, 255, 0.1);
}

.bigbox-text {
  font-weight: 700;
  color: rgb(174, 176, 175);
  font-size: 2.2rem;
  text-shadow: O 2px #000 inset;
}

/* FIX MOBILE : MENU RESPONSIVE + COLONNES DÉCALÉES */
@media (max-width: 991.98px) {
  /* Menu ouvert → fond sombre + padding */
  .navbar-collapse.show {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1550;
    background: #0a0d0d !important;
    min-height: 280px !important;
  }

  /* Contenu principal descend sous le menu */
  .main-content-pushed {
    margin-top: 220px !important; /* Ajuste selon la hauteur du menu */
    transition: margin-top 0.3s ease;
  }

  /* Quand menu fermé → pas de décalage */
  .main-content-pushed.navbar-not-shown {
    margin-top: 1rem !important;
  }
}

/* === ÉMOTICÔNES === */
.tox .tox-emoji {
  filter: brightness(1.2);
}

/* === STRUCTURE GLOBALE === */

.navbread {
  background: rgb(13, 17, 17);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb a {
  color: #b0b0b0 !important;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff !important;
}

.breadcrumb-item.active {
  color: #e0e0e0 !important;
}

/* === POSTER / HEADER === */
.position-relative.rounded {
  background: linear-gradient(to right, #101018 40%, rgba(0, 0, 0, 0.8)),
    url("https://image.tmdb.org/t/p/original<?= $backdrop ?>");
  background-size: cover;
  background-position: center;
  height: 180px !important;
  color: white;
  display: flex;
  align-items: end;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}
.position-relative.rounded h1 {
  font-size: 1.8rem;
  font-weight: bold;
}
.position-relative.rounded p {
  margin: 0;
  opacity: 0.8;
}

/* === BOXES === */
.box-content {
  background: #0e0e11;
  border: 1px solid #1f1f1f;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.list-group-item {
  background: transparent;
  border-color: #1d1d1d;
  color: #cfcfcf;
}
.btn {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

/* === EPISODES === */
.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  background: #141414;
}
.accordion-button {
  background: #1a1a1a;
  color: #f8f9fa;
  border: none;
}
.accordion-button:not(.collapsed) {
  background: #0a0d0d !important;
  color: #3f8cff;
}

.episode-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease-in-out;
}

.episode-thumb img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}
.episode-no {
  color: #66b3ff;
  font-weight: 500;
}

/* === COMMENTAIRES === */
.card.bg-dark {
  box-shadow: 0 2px #0a0d0d !important;
}
.card.bg-dark:hover {
  border-color: #333;
}
.admin {
  color: #c63a3a !important;
  font-weight: 600;
}
.vip {
  color: #fdb456 !important;
  font-weight: 600;
}
.power-user {
  color: #66ccff !important;
  font-weight: 600;
}
.user {
  color: #21ac5e !important;
  font-weight: 600;
}

/* === FORMULAIRE COMMENTAIRE === */
textarea#commentTextarea {
  background: #0e0e0e;
  color: #ddd;
  border: 1px solid #222;
}
textarea#commentTextarea:focus {
  border-color: #3f8cff;
  outline: none;
  box-shadow: 0 0 5px #3f8cff;
}

/* === BOUTONS === */
.btn-dark {
  background: #333b46 !important;
  border: none;
  color: #f8f9fa;
}
.btn-dark:hover {
  background: #2a313a !important;
}
.btn-success {
  background: #14513d !important;
  border: none;
}
.btn-success:hover {
  background: #1a694e !important;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .position-relative.rounded {
    height: 180px !important;
    padding: 15px;
  }
  .box-head-title {
    font-size: 1rem;
  }
}

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

.logo-index {
  max-width: 200px;
  margin-left: -30px !important;
}
.banner {
  /*background: url("../img/ban.png") center center / cover no-repeat;*/
  height: 75px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background: #16191e;
}

/* Dégradé sombre */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 0;
  border-radius: 12px;
}

.banner-mus {
  background: url("../img/ban-mus.png") center center / cover no-repeat;
  height: 100px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Dégradé sombre */
.banner-mus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 0;
}

/* === LOGO === */
.banner-logo {
  position: relative;
  z-index: 1;
  animation: fadeInLogo 1s ease-in-out forwards;
}

.banner-mus-logo {
  position: relative;
  z-index: 1;
  animation: fadeInLogo 1s ease-in-out forwards;
}
.bigbox-text-mus .logog {
  color: #e5e6e4;
  text-shadow: 0 0 10px rgba(63, 140, 255, 0.6),
    0 0 20px rgba(63, 140, 255, 0.4);
}

.bigbox-text-mus {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(64, 99, 143);
}

.bigbox-text {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.bigbox-text .logog {
  color: #bf2c3a;
  /*text-shadow: 0 0 10px rgba(63, 140, 255, 0.6),
    0 0 20px rgba(63, 140, 255, 0.4);*/
}

a.mp_hover {
  background-color: #07070791;
  border: 1px solid transparent;
  border-radius: 8px;
  border: 1px solid #22222294;
}

a.mp_hover:hover {
  background-color: #070707;
  border: 1px solid #2c2c2c94;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

/* === ACCROCHE === */
.banner-tagline {
  position: relative;
  z-index: 1;
  animation: fadeInTagline 1.3s ease-in-out forwards;
}

.tagline-text {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

.tagline-highlight {
  color: #bf2c3a;
  font-weight: 600;
}

.box-user {
  background: #0f0f12;
  border: 1px solid #1b1b20;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.box-user:hover {
  border-color: #2b2b30;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.box-user .box-header {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.03)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 10px 10px 0 0;
}

.box-search {
  background: #0f0f12;
  border: 1px solid #1b1b20;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.box-search:hover {
  border-color: #2b2b30;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.search-form .input-group {
  display: flex;
  align-items: center;
  border: 1px solid #1f1f25;
  border-radius: 8px;
  overflow: hidden;
  background: #141418;
}

.search-input {
  background: transparent;
  border: none;
  color: #e0e0e0;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
  box-shadow: none;
  background: #1b1b22;
}

.btn-search {
  background: #1f1f25;
  color: #b8b8b8;
  border: none;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.btn-search:hover {
  color: #fff;
  background: #2b2b35;
}

.box-stats {
  background: #0f0f12;
  border: 1px solid #1b1b20;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.box-stats:hover {
  border-color: #2b2b30;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.box-stats .progress-bar {
  border-radius: 6px;
  transition: width 0.4s ease;
}

.box-pick {
  background: #0f0f12;
  border: 1px solid #1b1b20;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.box-pick:hover {
  border-color: #2b2b30;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.pick-card {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px;
}

.pick-img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.pick-card:hover .pick-img {
  transform: scale(1.05);
  opacity: 0.8;
}

.pick-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 10px;
  border-radius: 0 0 10px 10px;
}

.pick-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

.box-latest {
  background: #0f0f12;
  border: 1px solid #1b1b20;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.box-latest:hover {
  border-color: #2b2b30;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.movie-carousel {
  scrollbar-width: thin;
  scrollbar-color: #333 #111;
}
.movie-carousel::-webkit-scrollbar {
  height: 6px;
}
.movie-carousel::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}
.movie-carousel::-webkit-scrollbar-track {
  background: #111;
}

.movie-card {
  width: 120px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.movie-thumb-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.movie-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .movie-thumb {
  transform: scale(1.05);
}

.movie-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 6px 8px;
  text-align: left;
}

.movie-badge {
  background: rgba(157, 32, 32, 0.7) !important;
  color: #ddd;
  padding: 2px 6px;
  font-size: 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.movie-title {
  font-size: 0.8rem;
  color: #f5f5f5;
}

.movie-info small {
  font-size: 0.75rem;
  color: #8c8c8c;
}

.movie-thumb.placeholder {
  width: 100%;
  height: 170px;
  background: #181818;
  border-radius: 10px;
}

/* === Responsive Derniers Ajouts === */
@media (max-width: 768px) {
  .movie-carousel {
    flex-direction: column;
    gap: 1.2rem;
    overflow: visible;
  }

  .movie-card {
    width: 100%;
    display: flex;
    align-items: center;
    background: #141414;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .movie-card:hover {
    background: #1c1c1c;
    transform: translateY(-3px);
  }

  .movie-thumb-wrapper {
    width: 90px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
  }

  .movie-thumb {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .movie-info {
    flex: 1;
    text-align: left;
    padding-left: 10px;
  }

  .movie-info h6 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .movie-info small {
    font-size: 0.8rem;
    color: #aaa;
  }

  .movie-overlay {
    display: none;
  }
}

/* Animations */
@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTagline {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 120px;
  }

  .bigbox-text {
    font-size: 2.2rem;
  }

  .banner-tagline {
    margin-top: 5px;
  }

  .tagline-text {
    font-size: 1rem;
    text-align: center;
  }

  .tagline_mus {
    visibility: hidden;
  }
}

@media (max-width: 768px) {
  .profile-avatar {
    width: 100px !important;
    height: 100px !important;
  }
}

@media (max-width: 768px) {
  .list-group-item {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }
  @media (max-width: 768px) {
    .profile-info-wrapper {
      text-align: center;
    }
  }
}

@media (max-width: 768px) {
  .advanced-actions {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .advanced-actions .btn {
    width: 100% !important;
    max-width: 300px; /* optionnel : pour éviter trop large */
    text-align: center;
    font-size: 14px;
    padding: 10px 15px;
  }

  .lead {
    font-size: 1rem !important;
    font-weight: 300;
  }
}

/* Responsive pour la bannière Musique */
@media (max-width: 768px) {
  .banner-mus-responsive {
    flex-direction: column !important;
    text-align: center;
    padding: 20px !important;
    gap: 15px !important;
    min-height: 200px;
  }

  .banner-mus-responsive form {
    flex-direction: column !important;
    width: 100%;
  }

  .banner-mus-responsive input[type="search"] {
    width: 100% !important;
  }

  .banner-mus-responsive button {
    width: 100%;
    margin-top: 8px;
    width: 100%;
    margin-top: 8px;
    background: #0e0a12;
  }

  .banner-mus-tagline {
    text-align: center !important;
    padding-right: 0 !important;
  }

  .banner-mus-tagline img {
    max-width: 60px !important;
    margin: 0 auto;
    display: block;
  }

  .tagline-text {
    font-size: 14px !important;
  }
}

.progress {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  transition: width 1.2s ease-in-out;
  box-shadow: 0 0 6px rgba(63, 140, 255, 0.5);
}

.trumbowyg-box,
.trumbowyg-editor {
  background: #0a0d0d !important;
  color: #fff !important;
  height: 200px !important;
}

.trumbowyg-button-pane::before {
  background: none !important;
}

.trumbowyg-box {
  border: 1px solid #161a1e !important;
}
.trumbowyg-button-pane {
  background: #070707 !important;
  border-bottom: 1px solid #161a1e !important;
}
.trumbowyg-button-group svg {
  fill: #ccc !important;
}

.trumbowyg-button-pane .trumbowyg-button-group::after {
  background: rgb(40, 40, 49) !important;
}

.trumbowyg-button-pane button:not(.trumbowyg-disable):hover {
  background-color: #202037 !important;
  outline: 0;
}

.trumbowyg-button-pane button.trumbowyg-active,
.trumbowyg-button-pane button:not(.trumbowyg-disable):focus,
.trumbowyg-button-pane button:not(.trumbowyg-disable):hover {
  background-color: #202037 !important;
  outline: 0;
}

img.qual-icon {
  margin-bottom: 20px;
  margin-right: 10px;
  height: 32px;
}

img.qual-icon-index {
  margin-bottom: 20px;
  margin-right: 10px;
  height: 18px;
}

/* ——————————————————————————
   BADGES MODERNES (RESO + QUAL)
   —————————————————————————— */

.reso-badge,
.qual-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.72rem !important;
  font-weight: 600;
  border-radius: 6px !important;
  margin-right: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  color: #ececec;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* ————— Résolutions ————— */
.reso-sd {
  background: linear-gradient(135deg, #5c5c5c, #3e3e3e);
}

.reso-720p {
  background: linear-gradient(135deg, #505050, #2f2f2f);
}

.reso-1080p {
  background: linear-gradient(135deg, #8b5c1f, #5a3a12);
}

.reso-2160p {
  background: linear-gradient(135deg, #a02215, #680f0a);
}

/* ————— Qualités ————— */
.qual-webhd {
  background: linear-gradient(135deg, #2f687a, #1e4450);
}

.qual-web4k {
  background: linear-gradient(135deg, #2f687a, #1e4450);
}

.qual-blurayhd {
  background: linear-gradient(135deg, #1b47a8, #0f2c6b);
}

.qual-bluray4k {
  background: linear-gradient(135deg, #1b47a8, #0f2c6b);
}

.qual-remuxhd {
  background: linear-gradient(135deg, #323b8f, #21266a);
}

.qual-remux4k {
  background: linear-gradient(135deg, #323b8f, #21266a);
}

/* ————— Défaut ————— */
.reso-default,
.qual-default {
  background: linear-gradient(135deg, #555, #3a3a3a);
}

.navbread .breadcrumb {
  background: transparent;
}

.navbread .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.25);
}

.navbread .breadcrumb-item {
  color: #8fa3b0 !important;
}

.navbread .breadcrumb-item a {
  color: #8fa3b0 !important;
  transition: 0.2s;
}

.navbread .breadcrumb-item a:hover {
  color: #cfe8ff !important;
}

.navbread .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 500;
}

.form-index {
  height: 35px;
  border-radius: 8.5px;
  border: 1px solid #0a0d0d !important;
  color: #fdfbfb;
  text-shadow: 0 1px #04091e;
  background: #10151a !important;
  box-shadow: 0 0 15px #13191e inset;
}

.banner {
  overflow: visible !important;
}

.banner-search {
  overflow: visible !important;
  position: relative !important;
}

.banner .list-group {
  z-index: 5000 !important;
}

/* --- MOBILE --- */
@media (max-width: 767.98px) {
  /* Bannière ultra compacte */
  .banner {
    background: transparent !important; /* bannière invisible */
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    height: auto !important;
    box-shadow: none !important;
  }

  /* Logo garde sa taille normale */
  .banner-logo img {
    height: 95px !important; /* ajuste à ta convenance */
    width: auto !important;
  }

  /* Empêcher tout espace fantôme autour */
  .container-lg {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .box-header {
    text-align: center !important;
    display: block !important;
    height: auto !important;
  }
}

/* HERO SECTION */
.collection-hero {
  padding: 30px 0;
  border-bottom: 1px solid #1f242b;
  background: #0a0d0d;
}

.collection-hero-thumb img {
  width: 260px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Description */
.collection-hero p {
  font-size: 0.95rem;
}

/* MINI GRID */
.media-grid {
  background: #0a0d0d87;
  border: 1px solid #222831;
}

/* Media thumbnail */
.media-thumb {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 2px solid #1d2127;
  transition: 0.25s ease;
}

.media-thumb:hover {
  transform: scale(1.06);
  border-color: #1e1e1f;
  box-shadow: 0 0 15px #4b89ff44;
}

/* On small screens */
@media (max-width: 768px) {
  .collection-hero-thumb img {
    width: 100%;
    max-width: 300px;
  }
}

/* ====== PAGE COLLECTION / FORUM STYLE ====== */

/* Wrapper principal de la card (le gros bloc) */
.container .shadow[style*="background:#0d1111"] {
  /* petit hack ciblé sur le bloc qu'on a créé */
  background: #0d1111 !important;
  border-radius: 10px;
  border: 1px solid #1b2022 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Titre de la collection */
.container h2.text-light {
  font-size: 1.45rem;
  font-weight: 600;
}

/* Description */
.container p.text-secondary {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Séparateurs internes */
.container hr.text-secondary {
  border-color: #232a2d;
  opacity: 0.6;
}

/* ====== MÉDIAS ====== */

.container h5.text-light {
  text-transform: uppercase;
  color: #d1d5db !important;
}

.container .row.g-3 img.rounded.shadow-sm {
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border-radius: 6px;
  opacity: 0.92;
}

.container .row.g-3 img.rounded.shadow-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
  opacity: 1;
}

/* ====== FORMULAIRE COMMENTAIRE ====== */

#editor.form-control {
  border-radius: 6px;
  border: 1px solid #262f36;
  background: #0a0e11;
  font-size: 0.95rem;
  resize: vertical;
}

#editor.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
  outline: none;
}

button.btn-primary.btn-sm {
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 999px;
}

/* ====== BLOC COMMENTAIRE ====== */

.container .p-3.mb-3.rounded[style*="background:#101415"] {
  background: #101418 !important;
  border-radius: 8px;
  border: 1px solid #202730 !important;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease;
}

.container .p-3.mb-3.rounded[style*="background:#101415"]:hover {
  background: #131920 !important;
  border-color: #2b3540 !important;
  transform: translateY(-1px);
}

.container .p-3.mb-3.rounded img {
  object-fit: cover;
}

/* Pseudo + méta */
.container .p-3.mb-3.rounded strong {
  font-size: 0.92rem;
}

.container .p-3.mb-3.rounded .text-muted.small {
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Contenu du commentaire */
.container .p-3.mb-3.rounded .text-light {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Lien supprimer */
.container .p-3.mb-3.rounded a.text-danger.small {
  font-size: 0.75rem;
  text-decoration: none;
  opacity: 0.85;
}

.container .p-3.mb-3.rounded a.text-danger.small:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ====== BOUTONS D'ACTION HEADER COLLECTION ====== */

.container .d-flex.flex-wrap.gap-2 .btn {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.container .d-flex.flex-wrap.gap-2 .btn-success {
  border: none;
}

.container .d-flex.flex-wrap.gap-2 .btn-primary {
  border: none;
}

.container .d-flex.flex-wrap.gap-2 .btn-danger {
  border: none;
}

/* Petit effet hover */
.container .d-flex.flex-wrap.gap-2 .btn:hover {
  filter: brightness(1.1);
}

/* ====== BREADCRUMB (optionnel léger) ====== */

.navbread {
  border-bottom: 1px solid #15191d;
}

.navbread .breadcrumb {
  font-size: 0.85rem;
}

.navbread .breadcrumb a {
  text-decoration: none;
}

.navbread .breadcrumb a:hover {
  text-decoration: underline;
}

/* ————————————————
   NAVBAR STYLE COMPACT FORUM
   ———————————————— */

.navbar .container {
  padding-top: 2px;
}

/* liens */
.navbar-nav .nav-link {
  color: #c9c9c9 !important;
  padding: 6px 10px !important;
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* actif */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  background: #1b1f23;
  color: #df4747 !important;
}

/* icons */
.navbar-nav .nav-link i,
#userDropdown i {
  font-size: 15px !important;
}

/* user dropdown */
#userDropdown {
  padding: 0 !important;
  font-size: 0.9rem;
}

#userDropdown img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 5px #000;
}

/* badge messages */
#userDropdown .badge {
  transform: translateY(-1px);
  font-size: 0.65rem;
}

/* dropdown compact */
.dropdown-menu {
  background: #0f1215;
  border: 1px solid #1f252b;
  font-size: 0.85rem;
}

.dropdown-item {
  padding: 6px 10px !important;
  color: #c8c8c8;
}

.dropdown-item:hover {
  background: #1e242a;
  color: #fff;
}

/* connexion / inscription */
.navbar .btn {
  padding: 5px 10px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* mobile toggle */
.navbar-toggler {
  padding: 4px 6px !important;
  margin-left: auto;
}

/* mobile menu */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #0f1215;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #1a1e22;
    margin-top: 6px;
  }

  .navbar-nav .nav-link {
    padding: 8px !important;
  }
}

/* ————————————————————————
   STYLE COMPACT : MOTEUR DE RECHERCHE FILMS
   ———————————————————————— */

/*** HEADER BANDEAU ***/
.box-content {
  background-size: cover;
  background-position: left center;
  padding: 15px !important;
  border-bottom: 1px solid #1b1f23;
}

.box-content h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.box-content span {
  font-size: 0.8rem;
}

/*** CARTE FILTRES ***/
.card.bg-dark {
  background: #0d0f11 !important;
  border: 1px solid #1c1f23 !important;
  border-radius: 6px;
  box-shadow: 0 0 50px inset #00000070 !important;
}

.card-header {
  padding: 10px 14px !important;
  background: #0d0f11 !important;
  border-bottom: 1px solid #1c1f23 !important;
}

.card-header h5 {
  font-size: 0.95rem;
  color: #a9a9a9 !important;
}

/*** BOUTONS ***/
.card-header .btn,
.btn-sm {
  padding: 4px 10px !important;
  font-size: 0.78rem !important;
  border-radius: 6px !important;
}

.btn-danger.btn-sm {
  background: #8f352f !important;
  border-color: #8f352f !important;
}

.btn-primary.btn-sm {
  background: #3a63d3 !important;
}

/*** FORM LABELS & INPUTS ***/
.form-label {
  font-size: 0.75rem !important;
  color: #8f8f8f !important;
  margin-bottom: 2px !important;
}

.form-control,
.form-select {
  background: #121417 !important;
  border: 1px solid #22272b !important;
  color: #d7d7d7 !important;
  font-size: 0.83rem !important;
  border-radius: 6px !important;
}

/*** SEARCH BUTTON ***/
.btn-lg {
  padding: 6px !important;
  height: 100%;
}

/*** MODAL STYLE COMPACT ***/
.modal-content {
  background: #0d0f11 !important;
  color: #dadada !important;
  border: 1px solid #1c1f23 !important;
}

.modal-content input,
.modal-content textarea {
  background: #14171a !important;
  border: 1px solid #262b31 !important;
  color: #dcdcdc !important;
}

.modal-title {
  font-size: 1rem !important;
  color: #dcdcdc !important;
}

/*** ESPACE ENTRE LES SECTIONS (compact) ***/
.row.mb-4 {
  margin-bottom: 1rem !important;
}

/*** HOVER EFFECT ON CARD ***/
.card.bg-dark:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  transition: 0.15s;
}

/* ------------------------------
   HEADER / BANNIÈRE RECHERCHE
   ------------------------------ */

.media-header {
  background: linear-gradient(135deg, #0e0f11, #070809 40%, #1a1d21);
  border: 1px solid #111315;
  border: 1px solid #1c2227;
  border-left: 3px solid #8f352f;
  border-radius: 6px;
  padding: 18px 22px !important;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.4);
}

.media-title {
  color: #dcdcdc;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
}

.media-sub {
  margin-top: -2px;
  color: #9ca2a7;
}

.media-count {
  background: #1b1f23;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid #262b2f;
  color: #b9bfc5;
  display: inline-block;
}

/* Effet hover sur le bouton reset */
.media-header .btn-outline-secondary {
  border-radius: 5px;
  padding: 2px 10px;
}
.media-header .btn-outline-secondary:hover {
  background: #3a4047;
  color: #fff;
}

.media-header {
  background: #111418;
  border: 1px solid #1d2124;
  border-radius: 6px;
}

.media-title {
  font-size: 1.4rem;
}

.media-left {
  display: flex;
  flex-direction: column;
}

.media-actions .btn-sm {
  padding: 4px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* Alignement parfait même sur mobile */
@media (max-width: 768px) {
  .media-header .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-actions {
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }
}

/* ===========================
   BADGES STYLE PLEX / JELLYFIN
   =========================== */

/* Base */
.badge-plex {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.3px;
  margin-right: 6px;
  margin-bottom: 6px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Resolution ===== */
.badge-2160 {
  background: linear-gradient(90deg, #f39c12, #e67e22);
}
.badge-1080 {
  background: linear-gradient(90deg, #3498db, #1f77c9);
}
.badge-720 {
  background: linear-gradient(90deg, #9b59b6, #8e44ad);
}
.badge-sd {
  background: linear-gradient(90deg, #7f8c8d, #646f70);
}

/* ===== Qualité Source ===== */
.badge-web {
  background: linear-gradient(90deg, #16a085, #13856b);
}
.badge-web4k {
  background: linear-gradient(90deg, #1abc9c, #149b82);
}

.badge-brrip {
  background: linear-gradient(90deg, #34495e, #2c3e50);
}
.badge-br4k {
  background: linear-gradient(90deg, #2c3e50, #1c2b3a);
}

.badge-remux {
  background: linear-gradient(90deg, #8e44ad, #6d3184);
}
.badge-rem4k {
  background: linear-gradient(90deg, #9b59b6, #7d4493);
}

/* ===== Audio ===== */
.badge-audio {
  padding: 2px 6px;
  font-size: 0.65rem;
  border-radius: 4px;
  background: #222;
  color: #bfbfbf;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.badge-fr {
  background: #c0392b;
}
.badge-vostfr {
  background: #2980b9;
}
.badge-multi {
  background: #27ae60;
}

/* Icônes compactes */
.badge-plex i {
  font-size: 0.75rem;
}

/* Trigger du dropdown */
.nav-user-trigger {
  color: #d4d4d4;
  font-size: 0.85rem;
  padding: 6px 10px;
  background: #181a1d;
  border: 1px solid #2a2d31;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.15s;
  text-decoration: none;
}

.nav-user-trigger:hover {
  background: #202327;
  border-color: #3a3d42;
  color: #fff;
}

/* Avatar */
.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #303236;
}

/* Pseudo */
.nav-user-name {
  font-weight: 600;
}

/* Petit badge MP */
.nav-user-badge {
  background: #c22929;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.68rem;
  color: #fff;
  font-weight: bold;
}

/* Icône caret */
.nav-user-caret {
  font-size: 0.65rem;
}

/* Dropdown menu */
.forum-dropdown {
  background: #1a1c1f;
  border: 1px solid #2d2f33;
  border-radius: 6px;
  min-width: 200px;
  padding: 6px 0;
}

/* Items */
.forum-dropdown-item {
  padding: 8px 14px;
  font-size: 0.85rem;
  color: #c6c6c6;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: 0.15s;
}

.forum-dropdown-item:hover {
  background: #26292d;
  color: #fff;
}

/* Icône */
.forum-icon {
  font-size: 1rem;
  opacity: 0.85;
}

/* Divider */
.forum-divider {
  border-color: #2e3135;
  margin: 6px 0;
}

/* --- NAV FORUM STYLE --- */

.navbar-nav .nav-link {
  color: #d0d0d0 !important;
  font-size: 0.87rem !important;
  padding: 8px 12px !important;
  border-radius: 5px !important;
  position: relative !important;
  transition: 0.15s ease-in-out !important;
  display: flex !important;
  align-items: center !important;
}

/* Icônes légèrement plus ternes */
.navbar-nav .nav-link i {
  opacity: 0.8 !important;
  transition: 0.15s !important;
}

/* Survol */
.navbar-nav .nav-link:hover {
  background: #202225 !important;
  color: #ffffff !important;
  border-radius: 5px !important;
}

.navbar-nav .nav-link:hover i {
  opacity: 1 !important;
}

/* État actif (via ta fonction isLinkActive) */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover {
  color: #fff !important;
  font-weight: 600 !important;
  background: #2b2e33 !important;
}

/* Petite barre active en bas */
.navbar-nav .nav-link.active::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 10% !important;
  width: 80% !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: #c22929 !important; /* Rouge BigBox */
}

/* Espacement horizontal plus propre */
.navbar-nav {
  gap: 4px !important;
}

.btn-track {
  padding: 2px 8px !important;
  font-size: 0.75rem !important;
  line-height: 1.1 !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.btn-track i,
.btn-track span {
  line-height: 1 !important;
}

blockquote {
  border-left: 2px solid #6c87a85e !important;
  margin: 10px 0;
  padding: 8px 12px;
  background: rgb(20, 24, 28);
  color: #d9e1e8;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 1px solid #0a0d0d;
}

.quote-author {
  font-weight: bold;
  color: #6d89aa;
  margin-bottom: 4px;
  display: block;
}

.topic_link:hover {
  color: rgb(128, 172, 191) !important;
}

.post-content {
  border: 1px solid #0e1112;
  padding: 19px;
  box-shadow: 0 0 10px #0e0f11 inset;
  background: rgb(16, 19, 21);
  border-radius: 10px;
}

.post-content img {
  max-width: 100% !important;
  max-height: 500px;
}
