html,
body {
  font-family: "roboto", sans-serif;
  font-optical-sizing: auto;
  overflow-x: hidden;
    margin: 0;
        padding: 0;
        width: 100%;
} 
#menu-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1050;
}

#main-content {
    margin: 100px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}
/* page profile */ 
 .profile-info-line {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.profile-info-line h6 {
  width: 180px;
  margin: 0;
}

.profile-info-line p {
  margin: 0;
  font-weight: 500;
}

@media (max-width: 576px) {
  .profile-info-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .profile-info-line h6 {
    flex-shrink: 0;
    width: 140px;
    margin: 0;
    font-size: 0.9rem;
    text-align: left;
  }

  .profile-info-line p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    flex-grow: 1;
    word-break: break-word;
  }
}
.match-stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: center;
}

.match-stat {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  font-size: 0.95rem;
}
/* page games*/
.match-hover-effect {
  transition: transform 0.3s ease;
}

.match-hover-effect:hover {
  transform: scale(1.03);
  z-index: 3;
}
/* modals */

.custom-modal-content {
  background-color: white;
  border: 2px solid #ffca00;
  border-radius: 1rem; /* arrondi général de la boîte */
}
.custom-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* 3-4 colonnes desktop, 2 mobile */
  gap: 16px;
}

.custom-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.2s;
  cursor: pointer;
}

.custom-photo-grid img:hover {
  border-color: #ffca00; /* ou #6EB96B selon ta palette */
  transform: scale(1.05);
}

.custom-photo-grid img.selected {
  border-color: #6EB96B;
  box-shadow: 0 0 0 3px rgba(110, 185, 107, 0.5);
}
@media (max-width: 576px) {
  #pictureModal .modal-dialog {
    max-width: 95% !important; /* Réduit la largeur du modal */
    margin-left: auto;
    margin-right: auto;
  }

  #pictureModal .modal-content {
    max-height: 78vh;
    overflow-y: auto;
  }

  #pictureModal .modal-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
.btn-green {
  background-color: #6EB96B;
  color: #000;
  border: none;
}

.btn-green:hover {
  background-color: #5aa85b;
}

.rounded-btn {
  border-radius: 6px !important;
}
.form-control:focus {
  border-color: #ffca00 !important;
  
}input[type="checkbox"].check-terms {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  display: inline-block;
  box-sizing: border-box;
  border: 2px solid #ffca00; /* ✅ bordure jaune tous les côtés */
  border-radius: 4px;
  background-color: white;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
}

input[type="checkbox"].check-terms:checked::after {
  content: "✓";
  color: black;
  font-size: 16px;
  position: absolute;
  top: -1px;
  left: 4px;
}
@media (max-width: 576px) {
  #addCreditModal .row.align-items-center {
    gap: 0.25rem !important; /* Réduit l’espace entre input et "DT" */
  }

  #addCreditModal input#addCredit {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    text-align: right;
  }

  #addCreditModal .col-3 {
    padding-left: 0 !important;
    text-align: left;
  }

  #addCreditModal .col-7,
  #addCreditModal .col-3 {
    flex: 0 0 auto;
    width: auto;
    max-width: unset;
  }

  #addCreditModal .row.justify-content-center {
    flex-wrap: nowrap;
    justify-content: center;
  }
}

/* page p2 */
.btn-payer-p2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px; /* 4cm ≈ 150px */
  height: 38px; /* 1cm ≈ 38px */
  border-radius: 8px; /* 0.2cm ≈ 8px */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  font-family: "Bebas Neue", "Oswald", sans-serif; /* Button font */
  font-size: 21.33px; /* Adjusted for better fit */
  letter-spacing: 2px;
  padding: 0 24px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* page join match */
@media (max-width: 768px) {
  #total,
  #total tbody,
  #total tr,
  #total td {
    width: 100% !important;
    text-align: center;
  }

  #total tr {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  #total td {
    flex: 1;
    text-align: left;
    padding: 8px;
    white-space: nowrap;
  }

  #total td:last-child {
    text-align: right;
  }

  #payerButton,
  #joinMatchButton {
    width: 100%;
    margin-top: 10px;
  }

  .mobile-total-wrapper {
    justify-content: center !important;
    margin-right: 0 !important;
    width: 100%;
  }

  .mobile-total-inner {
    width: 100%;
    padding: 0 10px;
  }

  .text-end {
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  .player-row img {
  border-radius: 50%;
  object-fit: cover;
  max-width: 90px;
    height: auto;
    margin-bottom: 8px;
}
  .player-row {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .player-row td {
    width: 100% !important;
    justify-content: center;
    display: flex;
    text-align: center;
  }

  .name-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .name-wrapper span,
  #price {
    font-size: 16px;
    font-weight: 500;
    margin: 0 4px;
  }
}
.btn-add-friend {
  --bs-btn-color: #000; /* Texte noir */
  --bs-btn-bg: #fff; /* Fond blanc */
  --bs-btn-border-color: #ffca00; /* Bordure jaune */
  --bs-btn-hover-color: #000; /* Texte noir au survol */
  --bs-btn-hover-bg: #f1f1f1; /* Fond gris clair au survol */
  --bs-btn-hover-border-color: #ffca00; /* Bordure jaune au survol */
  --bs-btn-focus-shadow-rgb: 255, 215, 0; /* Ombre de focus dorée */
  --bs-btn-active-color: #000; /* Texte noir au clic */
  --bs-btn-active-bg: #f1f1f1; /* Fond gris clair au clic */
  --bs-btn-active-border-color: #ffca00; /* Bordure jaune au clic */
  --bs-btn-disabled-color: #000; /* Texte noir si désactivé */
  --bs-btn-disabled-bg: #fff; /* Fond blanc si désactivé */
  --bs-btn-disabled-border-color: #ffca00; /* Bordure jaune si désactivé */
  width: 200px; /* Largeur du bouton */
  height: 38px; /* Hauteur du bouton */
  border-radius: 8px; /* Coins arrondis */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre subtile */
  font-family: "Bebas Neue", "Oswald", sans-serif; /* Police du bouton */
  font-size: 21.33px; /* Taille de la police */
  letter-spacing: 1.5px; /* Espacement des lettres */
  align-items: center; /* Centrage vertical */
  justify-content: center; /* Centrage horizontal */
  padding: 0; /* Enlever le padding pour respecter la hauteur */
  line-height: 1; /* Aligner verticalement le texte */
  border: 2px solid #ffca00; /* Bordure jaune */
}
.btn-add-friend:hover {
  background-color: #f1f1f1; /* Fond gris clair au survol */
  border-color: #ffca00; /* Bordure jaune au survol */
}
.btn-add-friend:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.5); /* Ombre de focus dorée */
}
/* page signin signup */
.is-invalid {
    border-color: #D82739;
}
.invalid-feedback {
    color: #D82739;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.input-invalid {
  border: none;
  border-bottom: 2px solid #D82739 !important;
  background-color: transparent;
  position: relative;
  padding-right: 2rem;
}

.input-invalid::placeholder {
  color: #999;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper input {
  padding-right: 2rem; /* espace à droite pour l'icône */
}.error-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: white;     /* fond blanc */
  color: #D82739;              /* ! rouge */
  border-radius: 50%;          /* cercle parfait */
  box-shadow: 0 0 0 1px #D82739;

  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 10;
}
.error-message {
  color: #D82739;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.auth-toggle-group .btn-toggle-auth {
 min-width: 160px;      /* Pour qu'ils aient la même largeur */
  font-weight: 500;
  border-radius: 25px;
  border: 2px solid #6EB96B; /* Couleur primaire Bootstrap */
  color: #6EB96B;
  background: #fff;
  transition: #ececec;
   max-width: 45%;
  padding: 0.4rem 1rem;
  font-size: 1rem;
}
@media (max-width: 400px) {
  .auth-toggle-group {
    justify-content: space-between;
    gap: 8px;
  }
}
.auth-toggle-group .btn-toggle-auth.active,
.auth-toggle-group .btn-toggle-auth:active {
  background: #6EB96B;
  color: #fff;
  border-color: #6EB96B;
}
.auth-toggle-group .btn-toggle-auth:hover {
  background: #f3faf4; 
  color: #6EB96B;
}
.auth-toast.toast-error {
  position: fixed;
  top: 85px; /* ajuste à la hauteur de ton header */
  left: 0;
  width: 100vw;
  background-color: #D82739;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  z-index: 1055;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s ease-in-out;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  box-sizing: border-box;
}

.auth-toast.toast-error.show {
  opacity: 1;
  transform: translateY(0%);
}
.auth-toggle-group .btn-toggle-auth:focus {
  box-shadow: none;
}

/* page details */
@media (max-width: 768px) {
  #gamePlayersDivMobile {
    display: block !important;
  }
}
#mobilescreen .details-mobile-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
#mobilescreen .details-mobile-col {
  flex: 1 1 0;
  text-align: center;
  padding: 0.5em 0;
}
#mobilescreen .details-mobile-col img {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  display: block;
}
.btn-participer-desktop {
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;           /* adapte la hauteur selon ton design */
  padding: 0 1.5rem !important;      /* adapte la largeur à ta convenance */
  font-size: 1.2rem !important;      /* adapte la taille du texte */
  line-height: 1 !important;         /* corrige l'alignement vertical */
  box-sizing: border-box;
}
.btn-participer-desktop:hover {
  background-color: #6EB96B;
  color: #222;
}
.details-comment-mobile {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}
.details-comment-mobile img {
  width: 40px; /* au lieu de 30px */
  height: auto;
  margin-right: 1.5rem;
}

.details-comment-mobile span {
  font-size: 0.95rem;
  line-height: 1.4;
  flex: 1;
}
.player-mobile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.player-card {
  width: 45%; /* Deux par ligne */
  text-align: center;
  padding: 0.5rem;
  box-sizing: border-box;
}
 #playerContainerDesktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .player-desktop-card {
    width: calc(20% - 1rem); /* 4 par ligne = 25% - spacing */
    box-sizing: border-box;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    min-height: 180px;
  }.btn-show-more-mobile {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: box-shadow 0.2s ease;
}

.btn-show-more-mobile:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.btn-show-more-mobile svg {
  transition: transform 0.2s ease;
}

.btn-show-more-mobile:hover svg {
  transform: translateY(2px);
}
  .player-desktop-card img.player-profile-pic {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
  }
.arrow-up svg {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.btn-show-more-mobile svg {
  transition: transform 0.3s ease;
}
/* page settings */
.centered-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
  }
.option-card i {
  margin-right: 35px; /* espace entre l'icône et le texte */
  
}
  .options-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: left;
  align-items: left;
  margin-top: 1rem;
}

.option-card {
  width: 550px; /* largeur fixe identique pour tous */
  max-width: 95vw; /* pour rester responsive */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(80,80,80,0.10), 0 1.5px 5px 0 rgba(80,80,80,0.06);
  padding: 2rem 2.5rem;
  min-height: 80px;
  display: flex;
  align-items: left;
  justify-content: left;
  transition: box-shadow 0.18s, transform 0.18s;
  font-size: 1.15rem;
  font-weight: 500;
  text-align: left;
}

  .option-card:hover {
    box-shadow: 0 12px 40px 0 rgba(80,80,80,0.15);
    transform: translateY(-3px) scale(1.03);
    color: #6EB96B !important; /* jaune/or */
    text-decoration: none;
  }
  @media (max-width: 600px) { /* Bootstrap: lg breakpoint */
  main, .centered-section {
    padding-bottom: 70px !important; /* ajuste selon la hauteur de ton footer menu mobile */
  }
}
/* page about */
.page-about .btn-primary {
   margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;           /* adapte la hauteur selon ton design */
  padding: 0 1.5rem !important;      /* adapte la largeur à ta convenance */
  font-size: 1.2rem !important;      /* adapte la taille du texte */
  line-height: 1 !important;         /* corrige l'alignement vertical */
  box-sizing: border-box;
}

.page-about .btn-primary:active,
.page-about .btn-primary:focus {
  outline: none;
  box-shadow: none;
}
@media (max-width: 600px) {
  .page-about .aboutdivs,
  .page-about .aboutdivs.px-0,
  .page-about .aboutdivs.d-flex {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
   
  }
   .page-about .aboutdivs {
    display: block !important;
    align-items: initial !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 2rem 1rem !important;    /* ↑ Plus de hauteur ici ↑ */
    margin-bottom: 4rem !important;     /* Espace entre les cadres */

  }
  .page-about .aboutdivs > .col-7 {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;

  }
  .page-about .col-7 {
    width: 100% !important;
    max-width: 100% !important;
 
  }
  .page-about .row.my-5 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
   
  }
  
  .page-about h1,
  .page-about h1.mb-4 {
    margin-bottom: 0.2rem !important;
  }
  .page-about p {
    margin-bottom: 0.2rem !important;
  }
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1rem;
  width: 100%;
}
.hero-image {
  height: 950px; /* ou une valeur plus grande selon ton besoin */
  object-fit: cover; /* pour que l'image garde un bon cadrage */
}

@media (max-width: 576px) {
  .hero-image {
    height: 350px; /* hauteur réduite sur mobile */
  }
}
/* première partie de la page d'acceuil*/ 
.herosection-mobile-fix {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 50vw; /* ajuste la valeur si besoin (ex: 60vw ou 80vw ou 100vw) */
}

.herosection-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  top: 0;
  z-index: 1;
}

.herosection-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 10px;
}

@media (max-width: 576px) {
  .herosection-mobile-fix {
    min-height: 80vw; /* ajuste selon ton image et effet désiré */
  }
}
/* partie jaune et blanche de la page d'acceuil */
.hexagon-diagonal {
  position: relative;
  width: 320px;    /* + large (était 240px) */
  height: 330px;   /* + haut (était 270px) */
  margin: 0 auto;
}
.hex-img {
  position: absolute;
  width: 120px;    /* + grand (était 90px) */
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 2px 4px 12px rgba(30,30,30,0.13);
  background: #fff;
}

.img-center-top    {  bottom: 55%;left: 50%; transform: translateX(-50%); }
.img-center-bottom { top: 55%; left: 50%; transform: translateX(-50%); }
.img-left          { top: 50%; right: 75%; transform: translateY(-50%); }
.img-right         { top: 50%; left: 75%; transform: translateY(-50%); }

@media (min-width: 601px) {
  .text-desktop-center {
    padding-left: 120px;
    padding-right: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
    max-width: 540px;
    margin: 0 auto;
  }
  .text-desktop-center h2,
  .text-desktop-center p {
    text-align: left;
    width: 100%;
  }
}
.multi-image-stack {
  position: relative;
  width: 320px;   /* plus large pour permettre l’espacement */
  height: 320px;
  margin: 0 auto;
}

.img-stack {
  position: absolute;
  width: 120px;   /* tu peux baisser un peu la taille pour éviter le chevauchement complet */
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 2px 4px 12px rgba(30,30,30,0.13);
  transition: box-shadow .2s;
}

.img-stack-1 { left: 0; top: 110px; z-index: 2; }
.img-stack-2 { left: 150px; top: 55px; z-index: 3; }    /* left augmenté à 90px */
.img-stack-3 { left: 300px; top: 0px; z-index: 4; } 
@media (max-width: 600px) {
  .multi-image-stack {
    width: 260px;    /* largeur augmentée */
    height: 140px;
    margin: 0 auto;
    position: relative;
  }
  .img-stack {
    width: 80px;
    height: 130px;
    border-radius: 10px;
    position: absolute;
  }
  /* image gauche */
  .img-stack-1 { left: 0; top: 60px; z-index: 2; }
  /* image du milieu */
  .img-stack-2 { left: 90px; top: 25px; z-index: 3; }
  /* image droite */
  .img-stack-3 { left: 180px; top: 0; z-index: 4; }
}

@media (max-width: 600px) {
  .hexagon-diagonal {
    width: 180px;
    height: 190px;
  }
  .hex-img {
    width: 80px;
    height: 130px;
    border-radius: 8px;
  }
}@media (max-width: 600px) {
   .section-blanche.my-5 {
    margin-top: 0 !important;
    margin-bottom: 62px !important;  /* Plus d’espace bas */
    padding-top: 0 !important;
    padding-bottom: 32px !important; /* Pour que la couleur de fond suive */
  }
  .section-blanche .col-6,
  .section-blanche .text-col-mobile-orga {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }
  .section-blanche {
    margin-top: 0 !important;
    margin-bottom: 18px !important;   /* Espace en bas augmenté */
    padding-top: 2px !important;      /* Presque rien en haut */
    padding-bottom: 28px !important;  /* Plus d'espace en bas */
  padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .section-blanche .text-col-mobile-orga h1 {
    margin-bottom: 8px;
  }
  .section-blanche .text-col-mobile-orga p {
    margin-bottom: 4px;
  }
}@media (max-width: 600px) {
    .hexagon-diagonal {
    margin-top: 32px; /* ajuste la valeur selon l’espace que tu veux */
  }

  .row {
    flex-direction: column !important;
    gap: 16px;
  }
  .col-6 {
    width: 100% !important;
    max-width: 100%;
    padding-left: 20px !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    margin-bottom: 24px;
  }
  .text-col-mobile-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .text-col-mobile-center h2,
  .text-col-mobile-center p {
    text-align: left;
    width: 100%;
  }
    .text-col-mobile-orga {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }
  .text-col-mobile-orga h2,
  .text-col-mobile-orga p {
    width: 100%;
    text-align: center;
    margin: 0 auto 12px auto;
  }
  .img-col-mobile-orga {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 24px;
  }
  .fixImage {
    max-width: 90vw;
    height: auto;
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
  .row.my-5 {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }
}
@media (max-width: 600px) {
  .backgroundYellow {
    padding-left: 16px !important;
    padding-right: 24px !important;
    /* Ou augmente à 24px si tu veux un plus grand espace ! */
  }
}
/*partie verte de la page d'acceuil*/ 
.cta-green {
  background: #6EB96B;
  border-radius: 18px;
  padding: 38px 24px 28px 24px;
  color: #000;
  margin: 30px auto 50px auto;
 
  /* Une seule shadow, juste à droite et en bas, sans exagérer */
    box-shadow: 6px 8px 14px 0 rgba(3, 3, 3, 0.5);
}
.section-green-row {
  display: flex;
  flex-wrap: wrap;
}

.cta-green-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 40px;
}

.store-icon-container {
  width: 90px;
  height: 90px;
  background-color: #6EB96B;
  border-radius: 16px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
}
.store-icon-container:hover {
  transform: scale(1.08);
}
.footer-icon {
  width: 80px;        /* largeur identique */
  height: 80px;       /* hauteur identique */
  object-fit: contain;
  display: block;
}
/* Logo à l’intérieur */
.store-icon {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}
.buttons-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

/* Images à droite, style superposé/effet app */
.cta-green-imgs {
  display: flex;
  justify-content: center;
  align-items: center;      /* ← Centre verticalement dans la colonne */
  height: 100%;             /* S’étend sur toute la hauteur du parent */
  min-height: 350px;        /* À ajuster selon ta mise en page globale */
}

.img-stack-green {
  position: relative;
  width: 220px;
  height: 320px;   /* doit être ≥ à la hauteur de l’image la + basse (300px + offset éventuel) */
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-green {
  position: absolute;
  width: 150px;
  height: 300px;
  border-radius: 18px;
  box-shadow: 2px 4px 20px rgba(40,40,40,0.17);
  object-fit: cover;
  background: #6EB96B;
  transition: box-shadow .2s;
}

.img-green-1 { left: 0; top: 0px; z-index: 2; }
.img-green-2 { left: 160px; top: 40px; z-index: 3; }

/* Responsive mobile */
@media (max-width: 600px) {

  .section-green-row {
    flex-direction: column !important;
    gap: 28px;
  }
  .cta-green-col,
  .cta-green-imgs {
    width: 100% !important;
    max-width: 100%;
    height: 60%;
    padding: 0 !important;
    margin: 0 0 16px 0;
     justify-content: center;    /* Centre horizontalement */
    align-items: center;        /* Centre verticalement */
  }
  .cta-green {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    padding: 14px 4px;
    max-width: 340px;
    margin: 0 auto 18px auto;
    box-shadow: 4px 6px 10px 0 rgba(3, 3, 3, 0.5);
  }

  .cta-green p {
    max-width: 90%;
    margin: 0 auto;
        text-align: center !important;
  }

  .col-6 {
    width: 100% !important;
  }
  .img-stack-green {
 
    width: 130px;
    height: 150px;
    margin: 0 auto;
        align-items: center;
    justify-content: center;
  }
.img-green {
        width: 100px;
    height: 200px;
    transform: translateX(-50%);
  }
  .img-green-1 { left:0; top: 0px; z-index: 2; }
  .img-green-2 { left:140px; top: 40px; z-index: 3; }

.app-store-btn1 img,
  .buttons-container img {
    height: 30px !important;   /* Taille très petite */
    width: auto !important;
    border-radius: 8px;
    display: block;
  }

  
}
.equal-height > .col-6 {
  width: 48% !important;
  max-width: 48% !important;
}
.row.equal-height {
  --bs-gutter-x: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}@media (max-width: 576px) {
  .contact-block ul {
    padding-left: 0 !important;
    text-align: left !important;
  }

  .contact-block ul li {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px;
    text-align: left;
  }

  .contact-block ul li i {
    min-width: 20px;
    text-align: center;
  }
}
#contact-form input.form-control,
#contact-form textarea.form-control {
  border-radius: 12px; /* ou la valeur que tu utilises pour le textarea */
}
.contact-page #contact-form .col-6 {
  padding: 0 !important;
  width: 100% !important;
  margin: 0 auto;
}
.contact-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 6px 8px 10px 0px rgba(24,24,24,0.48);
  padding: 16px 12px 12px 12px;
 margin: 12px 0;
  width: 100%;
  max-width: 550px;  /* élargis ici, adapte selon ta préférence */
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 600px) {
  .row.equal-height {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
     margin-bottom: 8px !important; /* Ou même 0 si tu veux coller au footer */
  }
  .equal-height > .col-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
  }
  .contact-block {
   margin: 2px auto !important; 
    max-width: 92vw !important;
    width: 100% !important;
    box-sizing: border-box;
  min-height: 200px; /* ✔️ Hauteur minimale raisonnable */
  height: auto !important;
  }
}
/* Responsive : sur mobile, ils repassent l’un sous l’autre */
@media (max-width: 900px) {
  .equal-height {
    flex-direction: column;
    align-items: stretch;
  }
  .equal-height > .col-6 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 22px;
    display: flex !important;
    justify-content: center;
  }
   .contact-block {
    max-width: 92vw;      /* 92vw = laisse 4vw de chaque côté */
    margin: 2px auto !important;    /* margin auto pour centrer */
    width: 100%;
  }
}
.map-container {
  padding-left: 16px;
  padding-right: 16px;
}
@media (max-width: 600px) {
  .position-relative {
    margin-top: 75px !important; /* ou padding-top: 56px; */
     margin-bottom: 75px;
  }
}
/* Pour que l'iframe soit bien arrondi aussi */
.contact-block .map-container iframe {
  border-radius: 14px;
  box-shadow: 0 2px 10px 1px rgba(0,0,0,0.10);
  
}
.contact-block .contact-title {

  text-align: center;
 
}
/* Responsive : sur mobile, les deux blocs passent l'un sous l'autre */
@media (max-width: 900px) {
  .row.justify-content-center > .col-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
  }

  .row.justify-content-center.mt-5 > .col-6 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0;
  }
}
.text-center.align-content-center.mb-5.px-2 {
    margin-bottom: 5rem; /* Maintain margin as provided */
    padding-left: 2rem; /* Maintain padding as provided */
    padding-right: 2rem;
    text-align: center; /* Center text and inline elements */
    display: flex; /* Use Flexbox for alignment */
    flex-direction: column; /* Stack paragraph and buttons vertically */
    align-items: center; /* Center all content horizontally */
}

/* Styling the paragraph text */
.text-center.align-content-center.mb-5.px-2 p {
    margin-bottom: 5rem; /* Spacing below paragraph */
    max-width: 600px; /* Optional: limit width for readability */
}

/* Container for buttons to align them in the same line */
.buttons-container {
    display: flex; /* Use Flexbox to align buttons horizontally */
    align-items: center; /* Align buttons vertically in the same line */
    gap: 15px; /* Space between buttons, adjust as needed */
    justify-content: center; /* Center buttons horizontally */
}

  footer {
        width: 100vw; /* Full viewport width */
        margin: 0; /* Remove default margins */
        padding: 0; /* Remove default padding */
        position: relative; /* Create positioning context for absolute children */
        overflow: hidden;
        display: block;
         box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
         z-index: 999 !important;
         background: white;
           margin-top: auto;
      }

      .footer-image {
        width: 100%; /* Full width of the footer */
        height: auto; /* Let the image determine the height */
        object-fit: cover; /* Ensure the image covers the width without distortion */
        object-position: center; /* Center the image */
        display: block;
      }

      .footer-logo {
        position: absolute; /* Position logo over the image */
        top: 5%; /* Align vertically with footer-text */
        left: 5%; /* Position to the left of footer-text */
        width: 100px; /* Adjust size as needed */
        height: auto; /* Maintain aspect ratio */
        z-index: 10; /* Ensure logo is above the image */
      }

      .footer-text {
        position: absolute; /* Position text over the image */
        top: 10%; /* Align vertically */
        left: 20%; /* Position to the right of the logo */
        color: #000; /* Text color as provided */
        font-size: 25px; /* Font size as provided */
        font-family: 'Roboto', sans-serif; /* Set font to Roboto */
        font-weight: 700; /* Use 700 for Roboto Bold */
        text-align: left; /* Align text to the left */
        z-index: 10; /* Ensure text is above the image */
      }

      .footer-text1 {
        position: absolute; /* Position text over the image */
        top: 90%; /* Position as provided */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Offset to truly center */
        color: #000; /* Text color as provided */
        font-size: 15px; /* Font size as provided */
        font-family: 'Roboto', sans-serif; /* Set font to Roboto */
        font-weight: 400; /* Regular weight for copyright text */
        text-align: center; /* Center text content */
        z-index: 10; /* Ensure text is above the image */
      }
      .footer-text2 {
        position: absolute; /* Position text over the image */
        top: 30%; /* Align vertically */
        left: 80%; /* Position to the right of the logo */
        color: #000; /* Text color as provided */
        font-size: 25px; /* Font size as provided */
        font-family: 'Roboto', sans-serif; /* Set font to Roboto */
        font-weight: 700; /* Use 700 for Roboto Bold */
        text-align: left; /* Align text to the left */
        z-index: 10; /* Ensure text is above the image */
      }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
        position: absolute;
        top: 25%;
         left: 15%; /* Position just above footer-text1 */
        z-index: 10; /* Ensure icons are above the image */
        width: 40px; /* Size of the circle */
        height: 40px;
        border-radius: 50%; /* Circular shape */
        text-align: center;
        line-height: 40px; /* Center the icon vertically */

        text-decoration: none;
        font-size: 20px; /* Adjust icon size */
         background-color: #fff; /* White background */
        border: 2px solid #6EB96B;
        color: #6EB96B;
      }
.social-icon:hover, .social-icon:focus {
  background: #6EB96B;
  color: #fff !important;
  outline: none;
}
      .facebook {
        left: 30%; /* Position to the left of center */
      }
      .instagram {
        left: 33%; /* Position to the right of Facebook */
      }

      .social-icon i {
        vertical-align: middle;
      }
    .app-store-btn, .google-play-btn {
    position: absolute;
    
    left: 80%; /* Position below social icons */
    z-index: 10; /* Ensure buttons are above the image */
    text-decoration: none;
    display: inline-block;
}
.footer-icon-container {
  width: 80px;        /* même largeur */
  height: 80px;       /* même hauteur */
  background-color: #6EB96B;
  border-radius: 16px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
}

.footer-icon {
  width: 40px;       /* fixe l’image à la même taille dans les deux */
  height: 40px;
  object-fit: contain;
}
.app-store-btn {
  top: 55%;
    left: 81%; /* Align with Facebook icon */
}

.google-play-btn {
  top: 57%;
    left: 85%; /* Position to the right of App Store button */
}

 .google-play-btn img {
    width: 130px; /* Adjust size to match the image proportions */
    height: 55.3px;
    display: block; /* Évite les espaces indésirables sous les images */
   /* Aide à l'alignement vertical */

}

/* Ajustement spécifique pour le bouton App Store */
.app-store-btn img {
  width: 130px;
    height: 55.3px;
        display: block; /* Évite les espaces indésirables sous les images */
      /* Remplacez 40px par la hauteur exacte du bouton Google Play */
}
#footer-container {
  margin: 0;
  padding: 0;
  width: 100%;
   z-index: 999;
   position: relative;
   background: white;
     margin-top: auto;
}
@media (max-width: 600px) {
  footer {
    min-height: 200px;   /* Augmente si besoin */
    height: auto;        /* Ou height: 250px pour forcer */
    position: relative;
  }
  .footer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0; left: 0;    /* Ajout pour s’assurer qu’elle couvre bien le footer */
    z-index: 1;
  }   
  .app-store-btn, .google-play-btn {
    position: absolute;
  /* Position below social icons */
    z-index: 10; /* Ensure buttons are above the image */
    text-decoration: none;
    display: inline-block;
}

.app-store-btn {
  top: 65%;
    left: 67%; /* Align with Facebook icon */
}

.google-play-btn {
  top: 66%;
    left: 75%; /* Position to the right of App Store button */
}

 .google-play-btn img {
    width: 63px; /* Adjust size to match the image proportions */
    height: 22px;
    display: block; /* Évite les espaces indésirables sous les images */
   /* Aide à l'alignement vertical */

}

/* Ajustement spécifique pour le bouton App Store */
.app-store-btn img {
  width: 63px;
    height: 22px;
        display: block; /* Évite les espaces indésirables sous les images */
      /* Remplacez 40px par la hauteur exacte du bouton Google Play */
}
.footer-text, .footer-text2 {
    font-size: 10px !important;
    line-height: 1.1 !important;
    width: 40vw !important;
    left: 18%;
  }
  .footer-text {
    text-align: center;
    top: 12%;
    left: 21%;
    width: 60vw !important;
  }
  .footer-text2 {
    top: 51%;
    left: 65%;
    width: 38vw !important;
  }
  .footer-text1 {
    font-size: 9px !important;
    top: 90%;
  }
.footer-logo {
    width: 45px !important;
    top: 10%;
    left: 3%;
  }
  
.social-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  background: #fff;
  border: 2px solid #6EB96B;
  color: #6EB96B;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: absolute;
  top: 25%; /* ou ajuste selon la hauteur voulue */
  left: 50%;  /* centre horizontalement */
  transform: translateX(-50%);
  z-index: 10;
}

.facebook {
  /* Pour décaler un peu vers la gauche du centre si tu veux deux icônes côte à côte : */
  left:48%;   /* 45% = légèrement à gauche du centre */
  transform: translateX(-50%);
}
.instagram {
  /* Pour décaler un peu vers la droite : */
  left: 55%;   /* 55% = légèrement à droite du centre */
  transform: translateX(-50%);
}

       .social-icon i {
    line-height: inherit;
    font-size: 10px;
    vertical-align: middle;
  }
  
}
@media (max-width: 1000px) and (min-width: 601px) {
  
    footer {
    min-height: 200px;   /* Augmente si besoin */
    height: auto;        /* Ou height: 250px pour forcer */
    position: relative;
  }
  .footer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0; left: 0;    /* Ajout pour s’assurer qu’elle couvre bien le footer */
    z-index: 1;
  }   
  .app-store-btn, .google-play-btn {
    position: absolute;
  /* Position below social icons */
    z-index: 10; /* Ensure buttons are above the image */
    text-decoration: none;
    display: inline-block;
}

.app-store-btn {
  top: 64%;
    left: 77%; /* Align with Facebook icon */
}

.google-play-btn {
  top: 65%;
    left: 85%; /* Position to the right of App Store button */
}

 .google-play-btn img {
    width: 65px; /* Adjust size to match the image proportions */
    height: 35px;
    display: block; /* Évite les espaces indésirables sous les images */
   /* Aide à l'alignement vertical */

}

/* Ajustement spécifique pour le bouton App Store */
.app-store-btn img {
  width: 65px;
    height: 41px;
        display: block; /* Évite les espaces indésirables sous les images */
      /* Remplacez 40px par la hauteur exacte du bouton Google Play */
}
.footer-text, .footer-text2 {
    font-size: 15px !important;
    line-height: 1.1 !important;
    width: 40vw !important;
    left: 18%;
  }
  .footer-text {
    text-align: center;
    top: 11%;
    left: 21%;
    width: 60vw !important;
  }
  .footer-text2 {
    top: 51%;
    left: 79%;
    width: 38vw !important;
  }
  .footer-text1 {
    font-size: 10px !important;
    top: 98%;
  }
.footer-logo {
    width: 45px !important;
    top: 10%;
    left: 3%;
  }
  
.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 10px;
  background: #fff;
  border: 2px solid #6EB96B;
  color: #6EB96B;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: absolute;
  top: 21%; /* ou ajuste selon la hauteur voulue */
  left: 50%;  /* centre horizontalement */
  transform: translateX(-50%);
  z-index: 10;
}

.facebook {
  /* Pour décaler un peu vers la gauche du centre si tu veux deux icônes côte à côte : */
  left:49%;   /* 45% = légèrement à gauche du centre */
  transform: translateX(-50%);
}
.instagram {
  /* Pour décaler un peu vers la droite : */
  left: 54%;   /* 55% = légèrement à droite du centre */
  transform: translateX(-50%);
}

       .social-icon i {
    line-height: inherit;
    font-size: 10px;
    vertical-align: middle;
  }
}



#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #ffca00;
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 50%;
}
#ShowonScroll {
  display: none;
}
.contact-check {
  display: inline-block;
  background: transparent;
  margin-right: 0.5em;
  line-height: 1;
  vertical-align: middle;
}
.contact-toast {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(250px, 90vw, 350px); /* max 350px, adaptatif */
  background-color: rgba(110, 185, 107, 0.95);
  color: white;
  padding: 1.1rem 1.4rem;
  text-align: center;
  z-index: 1055;
  display: none;
  opacity: 0;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s, transform 0.3s;
  /* --- Flexbox pour centrer le contenu --- */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-size: 1.15rem; /* ← taille texte */
}

/* Affichage toast */
.contact-toast.show {
  display: flex;
  opacity: 1;
}
.participation-toast {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: clamp(250px, 90vw, 350px);
  background-color: rgba(110, 185, 107, 0.95);
  color: white;
  padding: 1.1rem 1.4rem;
  text-align: center;
  z-index: 1055;
  opacity: 0;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-size: 1.15rem;
  pointer-events: none;
}

.participation-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.participation-toast.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .contact-toast {
    width: 100%;  /* Smaller width for mobile */
    font-size: 0.9rem; /* Smaller text */
  }
}
#toastConfirm {
  width: 100%; 
 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 /* Match button shadow */
}

/* Mobile adjustments for toast */
@media (max-width: 991.98px) {
  #toastConfirm {
width: 100%;  /* Smaller width for mobile */
    font-size: 0.9rem; /* Smaller text */
  }
}
#signin-error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}
      /* Cities container styles */
      .cities-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 50px; /* Space for arrows */
      }

     #cities {
  display: flex;
  flex-direction: column; /* <-- colonne pour affichage vertical */
  gap: 30px; /* Espace entre les villes (ajuste la valeur selon tes besoins) */
  align-items: center; /* Centrer horizontalement les cartes */
  overflow-x: unset; /* plus de scroll horizontal */
  overflow-y: unset;
  white-space: normal;
  padding: 2px;
  max-width: 100%;
  margin: 0 auto;
}

      #cities.centered {
        justify-content: center;
        overflow-x: visible; /* Allow centered content to be fully visible */
      }

      .city-frame {
        flex: 0 0 auto;
        width: 180px;
        margin-right: 10px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
      }

      .city-card {
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        width: 180px;
        max-height: 250px;
      }

      .city-card img {
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: cover;
      }

      .city-card .card-body {
        padding: 8px;
      }

      .city-card .card-text {
        margin: 0;
        font-size: 1.1rem;
        text-align: center;
      }

      .city-card:hover {
        background-color: #ffca00;
        transform: scale(1.05);
      }

      .city-card:not(:hover) {
        background-color: white;
      }

    

      /* Show arrows on hover for desktop */
      @media (min-width: 768px) {
        
        .cities-wrapper:hover  {
          opacity: 1;
        }
      }

      /* Always show arrows on mobile */
      @media (max-width: 767px) {
        
        .city-frame {
          width: 150px;
          margin-right: 8px;
        }
        .city-card {
          width: 150px;
        }
       
      }

      #cities::-webkit-scrollbar {
        display: none;
      }

      #cities {
        -ms-overflow-style: none;
        scrollbar-width: none;
      }

      #myBtn:hover {
        background-color: #ffe480;
      }
 .form-control:focus {
        box-shadow: none;
      }
      .form-control-underlined {
        border-width: 0;
        border-bottom-width: 1px;
        border-radius: 0;
        padding-left: 0;
      }
      .form-control::placeholder {
        font-size: 0.95rem;
        color: #aaa;
        font-style: italic;
      }

      /* Sports container styles */
      .sports-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 50px; /* Space for arrows */
      }

     #sports {
  display: flex;
  flex-direction: column;   /* vertical ! */
  gap: 50px;               /* espace entre chaque sport */
  align-items: center;      /* centre les cartes */
  overflow-x: unset;
  overflow-y: unset;
  white-space: normal;
  padding: 2px;
  padding-top: 20px;
  max-width: 100%;
  margin: 0 auto;
}

      #sports.centered {
        justify-content: center;
        overflow-x: visible; /* Allow centered content to be fully visible */
      }

     .sport-frame {
  width: 180px;
  margin-bottom: 10px;     /* espace vertical */
  margin-right: 0;         /* plus de marge à droite */
  display: flex;
  justify-content: center;
  align-items: center;
}

.sport-card {
    background-color: #fff; /* Default color, overridden below */
    background-attachment: fixed;
    background-size: cover;
    border: none;
    border-radius: 8px;
    overflow: visible;
    transition: transform 0.3s ease;
    width: 180px;
    height: 160px; /* Adjusted height to fit your design */
    position: relative;
    text-align: center;
}
.sport-name-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    z-index: 2;
}
.sport-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    position: relative;
    top: -50px;
    z-index: 1; /* Image stays behind the text */
    margin-bottom: -50px;
}

.sport-card .card-body {
    padding: 8px;
    position: absolute;
    bottom: 0; /* Move text to the bottom */
    width: 100%;
    background: transparent; /* Ensure background doesn't obscure image */
    z-index: 2; /* Bring text above the image */
}

.sport-card .card-text {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    z-index: 3; /* Ensure text is in the foreground */
}

/* Map your sports to example colors */
.Football-card { background-color: #2E2E2E; }
.Basketball-card { background-color: #000000; }
.Tennis-card { background-color: #ffca00; }
.Padel-card { background-color: #6EB96B; }

/* Zoom effect on hover */
.sport-card:hover {
    transform: scale(1.1);
    z-index: 2;
}
 
     
      /* Show arrows on hover for desktop */
      @media (min-width: 768px) {
       
        .sports-wrapper:hover {
          opacity: 1;
        }
      }

      /* Always show arrows on mobile */
      @media (max-width: 767px) {
      
        .sport-frame {
          width: 150px;
          margin-right: 8px;
        }
        .sport-card {
          width: 150px;
        }
       
      }

      #sports::-webkit-scrollbar {
        display: none;
      }

      #sports {
        -ms-overflow-style: none;
        scrollbar-width: none;
      }

      #myBtn:hover {
        background-color: #ffe480;
      }

      #myBtn:hover {
        background-color: #ffe480;
      }
.coloryellow {
  color: #ffca00 !important;
}
.colorgrey50 {
  color: #4b5563 !important;
}
tbody,
td,
tfoot,
th,
thead,
tr {
  border-color: white;
  /* border-style: solid; */
  border-width: 0;
}
div#transactionTable_info {
  display: none;
}
.dataTables_wrapper .dataTables_filter {
  float: left !important;
  text-align: right;
}
.table.dataTable.no-footer {
  border-bottom: 0px solid #111 !important;
}
.dataTables_length {
  float: right !important;
}
.dataTables_wrapper .dataTables_paginate {
  margin-top: 20px !important;
  float: none !important;
  text-align: center !important;
  padding-top: 0.25em;
}
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #d1d5db !important;
  border-radius: 20px !important;
  padding: 10px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  width: 420px !important;
  background-color: transparent !important;
  margin-left: 3px !important;
  margin-bottom: 40px !important;
  color: #2563eb !important;
}

.text-shadow {
  text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.589);
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  box-sizing: border-box;
  display: inline-block;
  min-width: 1.5em;
  padding: 0.5em 1em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  color: #2563eb !important;
  border: 1px solid transparent;
  border-radius: 2px;
}
.dataTables_wrapper .dataTables_filter input::placeholder {
  color: #d1d5db;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #2563eb !important;
  border: 1px solid #dbeafe !important;
  background-color: #dbeafe !important;
  background: #dbeafe !important ;
}

.btn-edit {
  margin-left: 10px;
  border: 1px solid #d1d5db;
  margin-right: 10px;
  padding-right: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: none;
  background: none;
  padding-left: 10px;
}

 #logoutModal .modal-footer .btn-cancel {
      background-color: #ffffff; /* Fond blanc */
      color: #000000; /* Texte noir */
      border: 1px solid #000000; /* Cadre plus fin (1px au lieu de 4px) */
    }
    #logoutModal .modal-footer .btn-cancel:hover {
      background-color: #f8f9fa; /* Gris clair au survol */
      color: #000000; /* Texte noir maintenu */
    }
  

  /* New styles for responsive profile pictures */
  .player-profile-pic {
    width: clamp(80px, 10vw, 100px); /* Scales between 80px and 100px based on viewport width */
    height: clamp(80px, 10vw, 100px);
    border-radius: 50%; /* Circular shape */
    object-fit: cover; /* Prevents distortion */
    display: block;
    margin: 0 auto; /* Center image */
  }

  .payment-status-icon {
    width: clamp(16px, 2vw, 20px); /* Responsive payment status icon */
    height: clamp(16px, 2vw, 20px);
    vertical-align: middle; /* Align with text */
  }

  /* Desktop: larger images */
  @media (min-width: 992px) {
    .player-profile-pic {
      width: clamp(100px, 8vw, 120px);
      height: clamp(100px, 8vw, 120px);
    }
  }

  /* Tablet: medium images */
  @media (max-width: 991px) and (min-width: 576px) {
    .player-profile-pic {
      width: clamp(80px, 12vw, 90px);
      height: clamp(80px, 12vw, 90px);
    }
  }

  /* Mobile: smaller images */
  @media (max-width: 575px) {
    .player-profile-pic {
      width: clamp(60px, 15vw, 80px);
      height: clamp(60px, 15vw, 80px);
    }
    .payment-status-icon {
      width: clamp(12px, 3vw, 16px);
      height: clamp(12px, 3vw, 16px);
    }
    /* Adjust player container layout for mobile */
    #playerContainerMobile .col-3 {
      flex: 0 0 50%; /* Two columns on mobile */
      max-width: 50%;
      margin-bottom: 1.5rem;
    }
  }
#back-top {
  display: none;
  background-color: #ffca00;
  border: none;
  border-radius: 50%;
  position: fixed;
  bottom: 85px;
  left: 49%;
  padding: 9px 14px;
}
.aboutdivs {
  flex: 0 0 auto;
  width: 33.33333333%;
}
.navbarlogo {
  width: 63px;
}
.padding6 {
  padding-left: 6.7rem;
}
.padding-122 {
  padding-left: 122px;
  padding-right: 122px;
}
.mb-50 {
  margin-bottom: 80px !important;
}
.mb-150 {
  margin-bottom: 150px !important;
}
.px-150 {
  padding-left: 150px;
  padding-right: 150px;
}
.size150 {
  font-size: 60px;
}
.active {
  text-decoration: underline;
  text-underline-offset: 0.3em; /* adjust as needed */
  text-decoration-skip-ink: none; /* or 'auto' depending on your preference */
}
.nav-link.active-green {
  color: #6EB96B !important;

  border-bottom: 2px solid #6EB96B;
}
body.with-header {
  padding-top: 80px; /* ajuste selon la hauteur exacte du header */
}
.contact-page .contact-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}
.contact-page #contact-form{
  width: 95% !important;
}
@media (max-width: 600px) {
  #contact-form .row.mb-4 {
    flex-direction: column !important;
    gap: 1.5rem;
  }

  #contact-form .width-50fix {
    width: 100% !important;
  }
}
@media (max-width: 767.98px) {
   .contact-page .contact-block {
    padding: 16px 12px !important;
  }

 .contact-page #contact-form .row.mb-4 {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Espacement plus serré */
    margin-bottom: 0.75rem !important; /* Ajustement léger global */
  }
 .contact-page #contact-form .form-row-names {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem !important;
  }

  .contact-page #contact-form .form-row-names .col-6 {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 10px; /* ← contrôle précis de l'espacement */
  }

  .contact-page #contact-form .form-row-names .col-6:last-child {
    margin-bottom: 0; /* évite espace inutile après Nom */
  }
  .contact-page #contact-form .col-6 {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .contact-page #contact-form {
    width: 100% !important;
  }

  .contact-page .contact-block #sendBtn {
    width: 100%;
    margin-top: 12px;
  }

  .contact-page .contact-block textarea {
    min-height: 100px;
  }


}
.navbar-persistent {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.navbar-collapse {
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
  transform: translateY(-100%);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.navbar-collapse.show {
  transform: translateY(0);
  opacity: 1;
  max-height: 100vh;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.14);
  border-radius: 0 0 1.2rem 1.2rem;
  z-index: 2000;
  margin: 0;
  padding-bottom: 1rem;
} 

/* Animation pour l'overlay */
.menu-mobile-overlay {
  transition: opacity 0.4s ease-in-out;
  opacity: 0;
}

.menu-mobile-overlay.show {
  opacity: 1;
}

@media (max-width: 600px) {
  #navbarSupportedContent.show {
    position: fixed;
    top: 75px; /* Hauteur de ta navbar (à adapter si besoin) */
    left: 0;
    right: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 12px 32px 0 rgba(0,0,0,0.14);
    border-radius: 0 0 1.2rem 1.2rem;
    z-index: 2000;
    margin: 0;
    padding-bottom: 1rem; /* Pour l'espace visuel en bas */
    /* Optionnel : animation */
    transition: box-shadow 0.3s;
  }
}
.navbar {
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0.5rem;
  --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);
  --bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);
  --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);
  --bs-navbar-active-color: #ffca00;
  --bs-navbar-brand-padding-y: 0.3125rem;
  --bs-navbar-brand-margin-end: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-nav-link-padding-x: 1.5rem;
  box-shadow: 0 8px 16px 2px rgba(0, 0, 0, 0.2); /* Wider and bolder black shadow */
  background-color: #fff; /* Ensures shadow is visible */
}
.container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.width-10 {
  width: 10%;
}

.width-20 {
  width: 20%;
}

.width-30 {
  width: 30%;
}

.width-40 {
  width: 40%;
}

.width-50 {
  width: 50%;
}
.width-55 {
  width: 45%;
}

.width-60 {
  width: 60%;
}

.width-70 {
  width: 70%;
}

.width-80 {
  width: 80%;
}

.width-90 {
  width: 90%;
}

.width-100 {
  width: 100%;
}
.showonMobile {
  display: none;
}
.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Adjust as needed */
}
.footerBackground {
  border-top: 1px solid #d1d5db;
}
/* Form styling */
.login-form-control {
  border: none;
  border-bottom: 1px solid #ced4da; /* Underline style */

  margin-bottom: 1rem;
}
.login-form-control1 {
  border: none;
  border-bottom: 1px solid #ffffff; /* Underline style */

  margin-bottom: 1rem;
}
.form-control {
  border-radius: 0;
}
.form-control::placeholder {
  color: #757575;
}
.poppines {
  font-family: "Poppins", sans-serif !important;
}
.login-form-control:focus {
  box-shadow: none;
  border-color: #80bdff;
}
.login-form-control1:focus {
  box-shadow: none;
  border-color: #ffffff;
}
.btn {
  border-radius: 0px;
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 0.375rem;
    font-family: "Bebas Neue", "Oswald", sans-serif; 
}
/* Styles pour le bouton de bascule */
.navbar-toggler {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #6EB96B;
  border-radius: 4px;
  background-color: transparent;
  padding: 0;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(110, 185, 107, 0.3);
}

.navbar-toggler .bars-icon,
.navbar-toggler .times-icon {
  transition: opacity 0.2s ease-in-out;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #6EB96B;
  font-size: 18px;
}

.navbar-toggler .bars-icon {
  opacity: 1;
}

.navbar-toggler .times-icon {
  opacity: 0;
}

/* Lorsque le menu est ouvert, basculer les opacités */
.navbar-collapse.show + .navbar-toggler .bars-icon {
  opacity: 0;
}

.navbar-collapse.show + .navbar-toggler .times-icon {
  opacity: 1;
}

/* Styles pour le mode desktop */
@media (min-width: 601px) {
  .navbar-collapse {
    transform: none; /* Annuler le décalage */
    opacity: 1; /* Rendre visible */
    max-height: none; /* Supprimer la contrainte de hauteur */
    position: static; /* Restaurer la position par défaut */
    width: auto; /* Restaurer la largeur par défaut */
    background: transparent; /* Pas de fond spécifique */
    box-shadow: none; /* Pas d'ombre */
    transition: none; /* Pas d'animation en mode desktop */
  }

  .navbar-collapse.show {
    transform: none;
    opacity: 1;
    max-height: none;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
  }

  .navbar-toggler {
    display: none; /* Masquer le bouton de bascule en mode desktop */
  }

  .menu-mobile-overlay {
    display: none; /* Masquer l'overlay en mode desktop */
  }
}

.btn-primary {
  --bs-btn-color: #000;
  --bs-btn-bg: #6EB96B;
  --bs-btn-border-color: #6EB96B;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #5ca559; /* Slightly darker green for hover */
  --bs-btn-hover-border-color: #5ca559;
  --bs-btn-focus-shadow-rgb: 110, 185, 107; /* Match #6EB96B for focus shadow */
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #5ca559;
  --bs-btn-active-border-color: #5ca559;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #6EB96B;
  --bs-btn-disabled-border-color: #6EB96B;
  width: 150px; /* 4cm ≈ 150px */
  height: 38px; /* 1cm ≈ 38px */
  border-radius: 8px; /* 0.2cm ≈ 8px */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  font-family: "Bebas Neue", "Oswald", sans-serif; /* Button font */
  font-size: 21.33px; /* Adjusted for better fit */
  letter-spacing: 2px; /* Improve readability for Bebas Neue */
  /* Enable flex centering */
  align-items: center; /* Vertical centering */
  justify-content: center; /* Horizontal centering */
  padding: 0; /* Remove padding to respect height */
  line-height: 1; /* Ensure text aligns vertically */
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 1px; /* Improve readability for Bebas Neue */
}
p {font-family:  "roboto", sans-serif;}
/* Ensure hover shadow is slightly stronger */
.btn-primary:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Mobile adjustments for button */
@media (max-width: 991.98px) {
  .btn-primary {
    border-radius: 8px; /* 0.2cm ≈ 8px */

    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); /* Lighter shadow for mobile */
  }
  .btn-primary:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25); /* Lighter hover shadow for mobile */
  }
}
@media (max-width: 600px) {
  .btn-primary {
    border-radius: 8px; /* 0.2cm ≈ 8px */
   
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); /* Lighter shadow for mobile */
  }
  .btn-primary:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25); /* Lighter hover shadow for mobile */
  }
}
.login-form-select:focus {
  border-color: #ffe480;
  outline: 0;
  box-shadow: 0 0 0 0.25rem #ffe38089;
}
.login-form-select {
  border-radius: 0px;
}
.square {
  width: 225px;
  height: 206px;
  align-items: center;
  text-align: center;
  font-size: 40px;
  margin: 0 auto;
}
.square p {
  padding-top: 67px;
}
.colorYellow {
  background: #ffeb38;
}
.colorBlue {
  background: #2563eb;
}
.colorRed {
  background: #ff2828;
}
.width33percent {
  flex: 0 0 auto;
  width: 33.33333333%;
}
.colorOrange {
  background: #ff9010;
}

.highcharts-credits {
  display: none !important;
}
.backgroundgreen {
  background: #6EB96B;
}
.backgroundYellow {
  background: #ffca00;
}
.medium22 {
  font-size: 18px;
  font-weight: 500;
}
.padding7 {
  padding-top: 7px;
  padding-bottom: 7px;
}
.borderYellow {
  border: 1px Solid #949494;
  color: black;
}
.borderYellow:focus {
  color: black;
  border-color: #ffca00;
  outline: 0;
  box-shadow: 0 0 0 0.25rem #ffcc0049;
}
.CustomHr {
  margin: 0.5rem 0rem;
  opacity: 1;
  color: #ffffff;
}
.modal-header {
  border-bottom: 1px solid white;
}
.borderGrey {
  border: 1px solid #d1d5db;
}.mainContainer {
  margin-top: 82px;
  margin-bottom: 80px;
  padding-left: 254px; /* correspond à la sidebar */
  padding-right: 40px; /* petit espace à droite */
  width: 100%;         /* prend toute la largeur restante */
  max-width: none;     /* désactive la limitation centrale */
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .mainContainer {
    padding-left: 254px; /* largeur de la sidebar desktop */
  }
}

/* Version mobile (< 992px) */
@media (max-width: 991px) {
  .mainContainer {
    padding-left: 0 !important; /* désactive le décalage */
    padding-right: 0 !important;
  }
}
.mt-90px {
  padding-top: 100px !important;
}
.detailsimagesset {
  width: 60px;
  float: right;
}
.form-check-input {
  border: none !important;
}
.form-check-input:checked {
  background-color: transparent !important;
}
.displayNavbarNone{
  display: none;
}
.form-check-input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(249, 253, 13, 0.25);
}
.form-check .form-check-input {
  float: left;
  margin-left: -2.5em !important;
}
#mobilescreen{
  display: none;
}
@media (max-width: 500px) {
  .displayNavbarNone{
    display: block;
  }
}
@media (max-width: 650px) {
  .aboutdivs {
    width: 100%;
}
#mobilescreen{
  display: block;
}
#Laptopscreen{
  display: none;
}

  .detailsimagesset {
    width: 60px;
    float: none;
    margin-left: -7px !important;
  }
.footermenudiv p {
        padding: 0px !important;
        margin: 0px !important;
        font-size: 14px;
        font-weight: 600;
      }
      .footermenudiv {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        width: 33%;
        text-align: center;
      }
  .sizefoooter {
    font-size: 22px !important;
  }
  .breaklinefix {
    white-space: pre;
    font-size: 12px !important;
  }

  .breaklinefix1 {
    font-size: 11px !important;
  }

  h3.float-end {
    display: none;
  }
 .displayblockmobile {
        display: none !important; /* Hidden by default, shown on mobile */
      }
  .col-9 {
    width: 85%;
  }
  li.nav-item {
    margin-bottom: 30px;
  }
  .paddingleftright {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .top-70-fix {
    top: 70% !important;
    width: 90% !important;
  }
  .mt-90px {
    padding-top: 90px !important;
  }
  .col-9 .col-6 {
    margin-bottom: 10px !important;
    padding: 10px !important;
  }
  .col-9 .col-6 img {
    width: 100% !important;
  }
  .shadow-fix-mobile {
    box-shadow: var(--bs-box-shadow) !important;
  }
  .container-fluid {
    text-align: center !important;
  }
  .padding-122 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
 
  .width-50 {
    width: 90% !important;
  }
  .col-6 {
    width: 100% !important;
    padding: 32px;
  }
  .col-6 p {
    text-align: left;
  }
  .fixImage {
    width: 100%;
    height: 200px;
  }
  #back-top {
    left: 45% !important;
    bottom: 95px;
  }
  .width-100-resposnsice {
    width: 85% !important;
  }
  .width-25-responsive img {
    width: 100%;
  }

  .row.d-flex.flex-row.px-5.mx-2.my-5.justify-content-center.align-content-center {
    padding: 0px !important;
    margin: 50px 0px 20px 0px !important;
  }
  .px-150 {
    padding-left: 30px;
    padding-right: 30px;
  }
  .size150 {
    font-size: 29px;
  }
  .mb-150 {
    margin-bottom: 30px !important;
  }
  .rowreverse {
    flex-direction: column-reverse;
  }
  .pading0 {
    padding-top: 0px;
  }
  .padingb0 {
    padding-bottom: 0px;
  }
  .txenter {
    text-align: center !important;
    align-items: center !important;
  }
  #notshow {
    display: none;
  }
  .hideonmobile {
    display: none !important;
  }
  .showonMobile {
    display: block !important;
  }
  #showhide {
    display: block !important;
  }
  .col-2 {
    width: 100% !important;
    padding: 50px;

    text-align: center !important;
    align-items: center !important;
  }
  .col-5 {
    width: 100% !important;
    padding: 50px;
    text-align: center !important;
    align-items: center !important;
  }
  .padding-10px {
    padding: 10px !important;
  }
  .p-2rem {
    padding: 2rem !important;
  }
  .float-center {
    float: none !important;
    align-items: center !important;
    text-align: center !important;
  }
  .resmap {
    width: 100% !important;
    margin-top: 10px !important;
    padding-top: 0px !important;
  }
  .text-center-responsive {
    text-align: center !important;
  }
  .col-1 {
    width: 50% !important;
  }
  .col-1 div {
    float: none !important;
    text-align: center !important;
  }
  .col-1 img {
    text-align: center;
    align-items: center;
    width: 50% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .col-4 div {
    float: none !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
    padding: 0px !important;
  }

  .col-4 img {
    text-align: center;
    width: 50px !important;
    height: auto !important;
  }
  .col-7 {
    width: 100% !important;
  }
  .col-3 {
    width: 90% !important;
  }
  .col-6 h5 {
    text-align: center;
    font-size: 20px;
    font-weight: 200;
    font-weight: 600;
  }
  .padding-top-0 {
    padding-top: 0px !important;
  }
  .width-40-reponsive {
    width: 50% !important;
  }
  .medium22 {
    font-size: 12px !important;
    margin: 0px !important;
  }
  td.d-flex.align-items-center.justify-content-center.w-25 {
    width: 30% !important;
  }

  td.d-flex.align-items-center.justify-content-center.w-25 p {
    font-size: 14px !important;
  }
  .padding-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .width-100px {
    width: 90px !important;
  }
  .width-100px img {
    width: 100% !important;
  }
  .overflox-x-hidden {
    overflow-x: hidden !important;
  }
  .width-200px {
    width: 200px !important;
  }
  .paddingxy-0px {
    padding: 0px !important;
  }
  .width60percent {
    width: 55% !important;
  }
  .fixedonresponsive {
    font-size: 11px;
    text-align: left !important;
    width: 60% !important;
  }
  .fontsetresponsive {
    font-size: 12px;
  }
  .width85fic {
    width: 85% !important;
  }
  .px-fix-res {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .width45fix-res {
    width: 45% !important;
  }
  .width95fix {
    width: 95% !important;
  }
  .progilrImage {
    width: 90% !important;
  }
  .p-0-fix {
    padding: 20px !important;
    padding-bottom: 0px !important;
  }
  .px-fix-on-mobiloe {
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: center !important;
  }
  .py-0-fix {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }
  .widtghfix {
    width: 60% !important;
    padding: 0px !important;
  }
  .width20fix {
    width: 20% !important;
    padding: 0px !important;
  }
  .ptset {
    padding-top: 37px !important;
  }
  .mtset {
    margin-top: 100px !important;
  }
  #myBtn {
    display: none;
    position: fixed;
    bottom: 92px;
    right: 30px;
    z-index: 99;
    font-size: 14px;
    border: none;
    outline: none;
    background-color: #ffca00;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
  }
  .headingbigres {
    font-size: 20px;
  }
  .headingparares {
    font-size: 16px !important;
  }
  p.text-center.ps-5.dtailfont.pt-3 {
    font-size: 12px !important;
    padding-left: 0px !important;
  }
  .col-3.align-content-center.text-center.mb-5 {
    width: 33% !important;
  }
  .col-3.align-content-center.text-center.mb-5 img {
    width: 60px !important;
  }
  .row.d-flex.flex-row.px-5.mx-2.my-5 {
    padding: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  .row.d-flex.justify-content-center.align-content-center {
    flex-direction: column-reverse;
  }
  .p-4.borderGrey.mb-5 {
    height: 200px !important;
    overflow-y: scroll;
  }
  .width33percent .imagesizeMapFix {
    width: 180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .width33percent {
    width: 100%;
    text-align: center;
  }
}

.cursor-pointer {
  cursor: pointer;
}

.width-50fix {
  width: 50%;
}
.activeYellow {
  color: #ffca00 !important;
}
.zindexback {
  z-index: 999999;
  background: white;
}
.hoverEffect:hover {
  color: #3b3b3b;
}
.progilrImage {
  width: 20%;
}

@media (min-width: 991.98px) {
  main {
    padding-left: 150px;
  }
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 58px 0 0;
  /* Height of navbar */
  border-right: 1px solid #d1d5db;
  width: 254px;
  z-index: 600;
}
.fixed-bottom.bg-white.border-top.d-flex.d-lg-none .row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
.fixed-bottom.bg-white.border-top.d-flex.d-lg-none .col {
  flex: 1 1 0;
  max-width: 33.33%;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  .sidebar .list-group {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .sidebar .list-group a {
    flex: 1 1 0;
    margin: 0 4px;
    padding: 8px 4px;
  }
}
@media (max-width: 991.98px) {
  .sidebar {
    width: 100%;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}
.dtailfont {
  font-weight: 600;
  font-size: 18px;
}
.modal-backdrop {
  z-index: 999999 !important;
}
.modal {
  --bs-modal-zindex: 1055999 !important;
}

/* Table row */
.colorgrey50.d-flex.mb-4 {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 350px; /* Further reduced to minimize excess space */
    overflow: visible;
    gap: 0.5rem; /* Add small gap between cells */
}

/* Username and surname cell */
.width-30.width-40-responsive {
    display: flex;
    align-items: center;
    width: 30%; /* Reduced from 30% */
    min-width: 135px; /* Reduced to fit content tightly */
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

      /* Styles pour la version responsive */
      @media (max-width: 992px) {
        #Laptopscreen {
          display: none;
        }
        #mobilescreen {
          display: block;
        }
      }
      @media (min-width: 993px) {
        #Laptopscreen {
          display: block;
        }
        #mobilescreen {
          display: none;
        }
      }
      .medium18 {
        font-size: 18px;
      }
      .small {
        font-size: 14px;
      }
      .width-80px {
        width: 80px;
      }
/* Name wrapper */
.name-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Maintain spacing between forename and surname */
    flex-wrap: nowrap;
    min-width: 100px; /* Reduced to fit content */
}

/* Spans */
#usernameSpan, #surnameSpan {
    margin-left: 0.5rem !important; /* Matches ms-2 */
    white-space: nowrap;
    display: inline-block;
}

/* Price cell */
.w-20 {
    width: 18%; /* Reduced from 20% to bring price closer */
    min-width: 60px; /* Reduced to fit content */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align left to reduce gap */
    padding-left: 0.5rem; /* Minimal padding */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .width-40-responsive {
        width: 35%; /* Adjusted for smaller screens */
        min-width: 100px;
        flex-wrap: nowrap;
    }
    #usernameSpan, #surnameSpan {
        margin-left: 0.5rem !important;
        white-space: nowrap;
    }
    .w-20 {
        width: 20%;
        min-width: 50px;
        justify-content: flex-start;
    }
    .colorgrey50.d-flex.mb-4 {
        min-width: 280px; /* Adjusted for smaller screens */
        gap: 0.25rem; /* Tighter gap */
    }
}

/* Ensure table is scrollable on small screens */
#players {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}
.highlight {
  border: 2px solid red;
}
.highlight-radio-error {
    border: 2px solid red;
    box-shadow: 0 0 5px red;
}
#joinSectionMobile .displayblockMmobile {
    position: fixed !important;
    top: 71% !important; /* Réduit pour être visible sans défilement */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important; /* Centrage horizontal uniquement */
    z-index: 1000 !important;
    width: 90% !important;
    max-width: 300px !important;
    text-align: center !important;
}

#joinSectionMobile .displayblockPmobile {
    position: fixed !important;
    top: 85% !important; /* Même position pour cohérence */
    left: 40% !important;
    right: 1rem !important; /* Aligné à droite */
    transform: none !important; /* Pas de centrage */
    z-index: 1000 !important;
    width: 90% !important;
    max-width: 300px !important;
    text-align: center !important;
}
@media (max-width: 750px)
{#joinSectionMobile .displayblockMmobile {
    position: fixed !important;
    top: 65% !important; /* Réduit pour être visible sans défilement */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important; /* Centrage horizontal uniquement */
    z-index: 1000 !important;
    width: 90% !important;
    max-width: 300px !important;
    text-align: center !important;
}}

@media (min-height: 750px) and (max-height: 900px){
  #joinSectionMobile .displayblockMmobile {
    position: fixed !important;
    top:70% !important; /* Réduit pour être visible sans défilement */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important; /* Centrage horizontal uniquement */
    z-index: 1000 !important;
    width: 90% !important;
    max-width: 300px !important;
    text-align: center !important;
}
}
#chatWithPlayerMobile {
  max-height: 60vh; /* limite max globale */
  overflow-y: auto;
  transition: max-height 0.3s ease;
  padding: 1rem;
  border: 1px solid #eee;
  box-sizing: border-box;
}
#chatWithPlayer {
  max-height: 280px; /* limite visuelle pour ~4 messages */
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid #eee;
}
#chatWithPlayerMobile {
    max-height: 40vh; /* ou la taille que tu veux */
    min-height: 120px;
    overflow-y: auto;
    /* optionnel: */
   
    /* Pour le debug : */
    border: 1px solid #eee;
}

#chatWithPlayerMobile:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Ensure the form takes the full width of the parent container */
#message-form,
#message-form-mobile {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  #message, #message-form {
    padding-left: 1rem !important; /* ajuste la valeur comme tu veux */
  }
}
/* Ensure the textarea takes the full width of the form, accounting for padding */
#message,
#message-mobile {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 50px;
  max-height: 150px;
  resize: none;
  overflow-y: auto;
  box-sizing: border-box; /* Ensure padding is included in width */
}
.spinner-container {
  display: none; /* Initially hide the spinner */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Ensure it appears above other content */
}

.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #6EB96B; /* Match btn-primary green */
  animation: spin 1s ease-in-out infinite; /* CSS animation for spinning */
}
#sendBtn .spinner-border.text-warning {
  border-color: #000 !important;
  border-right-color: transparent !important;
}@media (max-width: 991.98px) {
  #sendBtn .spinner-border.text-warning {
    width: 24px !important;
    height: 24px !important;
    border-width: 3px !important;
  }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.link-button {
  background: none;
  border: none;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.link-button:hover {
  color: darkblue; /* Optional: Change the color on hover */
}




.hoverEffect:hover {
  color: #3b3b3b;

}

/* Hide the default radio button */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
}

/* Create custom radio button */
input[type="radio"]:before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  /* Set the border color to yellow */
}

/* Adjust appearance when radio button is checked */
input[type="radio"]:checked:before {
  border: 2px solid #ffca00;
  background-color: #ffca00;
  /* Set the background color to yellow when checked */

}

/* Hide the default checkbox */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
}

/* Custom checkbox */
input[type="checkbox"]::before {
  content: '\2713';
  /* Unicode character for checkmark */
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border: 2px solid white;
  /* Border color */
  border-radius: 4px;
  background-color: #ffffff;
  /* Background color when checked */
  color: rgb(255, 255, 255);
  /* Color of the checkmark */


}

/* Adjust appearance when checkbox is checked */
input[type="checkbox"]:checked::before {
  background-color: #ffca00;
  /* Background color when checked */
  color: rgb(0, 0, 0);
  /* Color of the checkmark */
}