.cards-services-info-marchand {
    padding-top: 100px !important;
}

.hidden-important {
    display: none !important;
}

.cards-services-voucher {
    padding-top: 100px !important;
}

.dropdown-menu {
    z-index: 30000 !important;
}
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30999;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}


.btn-my:disabled{
    opacity:0.3;
    cursor:wait
}
#moyenPaiement::after, #moyenService::after {
    margin-left: auto;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}
.dropdown-menu {
    z-index : 1050
}
.fermer-carousel {
  float: right;
  position: absolute;
  z-index: 10001;
  right: 0;
  padding: 10px;
  border-radius: 50%;
  background-color: #FFFFFF1A;
  color: #FFFFFF;
  cursor : pointer
}
.creation-page-web {
    display : block
  }

  .creation-page-mobile {
    display : none
  }
.banniere-mobile {
  height: 90px;
  position: fixed;
  z-index: 999;
  margin-top: 175px;
  margin-left: 10px;
  margin-right: 10px;
  left: 0;
  right: 0;
  display: none;
}
.div-icone-pourquoi {
    display: flex;align-items: center;
}

#btn-suivre-dossier {
  margin-right: 10px; position:inline-block
}

#btn-creer-dossier {
  position:inline-block
}

.div-organisme-compte {
  display: flex; align-items: center;
}
#textOuvrezCompte{
  color:#FFFFFFB2;font-size: 14px;line-height: 22px;font-weight: 400;
}

#textOrganisme {
  font-weight:900; line-height:33px;color:#FFFFFF;font-size:23px
}

#blocImgPerson {
  width:100%;background-color:#282C5D;border-top-left-radius: 8px;border-top-right-radius: 8px;padding:30px;z-index: 10;background-image:url(../../img/backPerson.png);background-repeat: no-repeat;background-size: contain;
}

#personMarchandIcone {
  height: 430px; position: absolute;margin-top: -400px;margin-left: 41%;width: 241.25px;
}

.side-submenu-mobile {
    position: fixed;
    width: 100%;
    background-color: white;
    transition: top 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: row;
    top: -200px;
    left: 0;
    justify-content: flex-start;
    gap: 3rem;
    font-size: 12px;
    font-weight: 400;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 15px;
}

.side-submenu-mobile.open {
  top: 170px;
  box-shadow: 31px 4px 45.8px 0px #00000029;
}

  .submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    background-color: #f5f5f5;
  }

  .submenu-content-mobile {
    overflow-x: auto;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.content {
  min-height: 500px;
  background-color: #F6F8FB;
}

#div_recap {
     padding-left: 80px; padding-right: 80px;
}

#menu-title {
  font-weight: 600;color: #282C5D;margin-bottom: 20px;
  padding-top : 10px
}

.fixed-top {
  display: none;
}

.fixed-col-mobile {
  position: fixed;
  top: 0;
  width: 100%;
  overflow-y: auto;
  background: #f8f9fa;
  z-index: 1000;
  margin-top: 70px;
}

.fixed-top {
  top: 0;
  width: 100%; /* ~col-lg-2 (2/12) */
}

.service-container-mobile {
  background-color: #282C5D;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  padding-top: 3%;
}

.service-item-mobile {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px 0;
  color: white;
  cursor: pointer;
}

.btn-my {
    font-weight: 500;
    font-size: 16px;
    width: 129px;
    height: 44px;
    border-radius: 4px;
    padding-left:10px;
    padding-right:10px
}

.btn-my-lite {
    font-weight: 500;
    font-size: 16px;
    height: 44px;
    border-radius: 4px;
    padding-left:10px;
    padding-right:10px
}

.btn-my-white {
    border: 1px solid #9AB4D8;
    color: #344054;
    background-color: white;
}

.btn-my-primary {
    color: white;
    background-color: #282C5D;
    border: 1px solid #282C5D;
}

.btn-my-outline-danger {
    border: 1px solid #A81735;
    background-color: white;
    color: #A81735;
}

.btn-my-danger {
    border: 1px solid #A81735;
    background-color: #A81735;
    color: white;
}

.btn-search {
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 13px;
    gap: 10px;
    margin-left: 10px;
    height: 48px;
}
 
.btn-search:hover {
  background-color: #880f2b;
}
 
.category-filters {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    border-bottom: 0.5px solid #CBCED999;
    padding-left:50px
}

.category-filters::-webkit-scrollbar {
    height: 6px;
}
 
.category-filters::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.merchant-section-container::-webkit-scrollbar , merchant-section-container2::-webkit-scrollbar{
    width: 0; /* Cache complètement la scrollbar */
}
.merchant-section-container::-webkit-scrollbar-thumb, .merchant-section-container2::-webkit-scrollbar-thumb {
    background-color: transparent; /* Assure que le pouce est transparent */
}
.btn-filter {
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight : 700;
    padding: 0px;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    color : #565F82;
}
 
.btn-filter.active,
.btn-filter:hover {
    color: #282C5D;
    border: none
}
 
.btn-filter.active::after,
.btn-filter:hover::after {
  content: '';
  position: absolute;
  height: 2px;
  background-color: #A81735;
  left: 0;
  right: 0;
  bottom: 0;
}
 
.merchant-section-container, .merchant-section-container2 {
  overflow-y: auto;
  flex: 1;
  padding-top: 15px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom:350px;
  max-height: 800px;
}
 
.section-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 100%;
  color: #282C5D;
  margin-top:30px
}
 
.merchant-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
 
.merchant-card, .merchant-card2 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fff;
            border: 0.5px solid #9AB4D880;
            border-radius: 8px;
            padding-top: 4px;
            padding-right: 8px;
            padding-bottom: 4px;
            padding-left: 9px;
            box-shadow: 0 38px 38px 0 #DBDBDB1A;
            transition: box-shadow 0.2s ease;
            height: 80px;
            gap: 10px
}
 
.merchant-card:hover, .merchant-card2:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
 
.merchant-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
 
.merchant-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* === Skeleton Loader === */
.skeleton-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 0.5px solid #9AB4D880;
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: 0 38px 38px 0 #DBDBDB1A;
    height: 80px;
    gap: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.skeleton-card-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 0.5px solid #9AB4D880;
    border-radius: 8px;
    box-shadow: 0 38px 38px 0 #DBDBDB1A;
    min-height: 80px;
    gap: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.skeleton-info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.skeleton-info-service {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding-top: 10px;
}

.skeleton-logo,
.skeleton-text,
.skeleton-btn,
.skeleton-text-service,
.skeleton-text-check,
.logo-service-skeleton {
    background: #e0e0e0;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
}

.skeleton-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-service-skeleton {
    margin-right: 15px;
    width: 60px;height: 42px;
    padding-top: 5px;
    display: inline-block;
}


.skeleton-text {
    flex: 1;
    height: 18px;
    max-width: 150px;
}

.skeleton-text-service {
    flex: 1;
    height: 40px;
    padding-bottom: 0;
}

.skeleton-text-check {
    flex: 1;
    height: 15px;
    padding-bottom: 0;
}

.skeleton-btn {
    width: 80px;
    height: 30px;
    border-radius: 6px;
}

/* Effet de balayage (shimmer) */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}
.skeleton-logo,
.skeleton-text,
.skeleton-btn,
.skeleton-text-service,
.skeleton-text-service,
.skeleton-btn-service,
.logo-service-skeleton{
    background: linear-gradient(90deg, #e0e0e0 25%, #f3f3f3 50%, #e0e0e0 75%);
    background-size: 400% 100%;
}

 
.btn-pay {
  background: #282C5D;
  color: white;
  padding: 10px 30px;
  border-radius: 4px;
  text-decoration: none;
}
 
.btn-pay:hover {
  background: #1f234a;
}
.carousel-indicators li {  
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #0E1B4D;
    border: 0;
    margin-bottom:50%
}

.side-submenu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 106px;
  height: 100%;
  background-color: white;
  transition: left 0.3s ease;
  z-index: 99;
  display: flex;
  flex-direction: column;
  margin-top: 95px;
  margin-left : 8.33%;
}

.side-submenu.open {
  left: 0;
  box-shadow: 31px 4px 45.8px 0px #00000029;
}

  .submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    background-color: #f5f5f5;
  }

  .submenu-content {
    overflow-y: auto;
    flex: 1;
    padding-left : 10px;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

#spinnerLoaderService {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  #spinnerLoaderService.show {
    opacity: 1;
    visibility: visible;
  }

.fixed-col {
  position: fixed;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: #f8f9fa;
  z-index: 900;
  margin-top: 95px
}

.fixed-left {
  left: 0;
  width: 8.33%; /* ~col-lg-2 (2/12) */
}

.fixed-right {
  right: 0;
  width: 25%; /* ~col-lg-3 (3/12) */
}

.main-content {
  margin-left: 8.33%;
  margin-right: 25%;
  padding-top: 0px;
    padding-bottom: 20px;
}
#card-besoin-aide {
    min-height: 493px;
    background-color: #F6F8FB;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: 80px;
    position: absolute;
    margin-left: 100px;
    margin-top: -600px;
    width: 353px;
}

#bouton-besoin-aide {
    padding-left: 100px !important;
}

.main-content-airtime {
    margin-left: 8.33%;
    margin-right: 25%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.main-content-login {
    margin-left: 8.33%;  /* même largeur que .fixed-left */
    margin-right: 25%;          /* même largeur que .fixed-right */
}

.service-container {
        background-color: #282C5D;
        padding: 1rem 0;
        text-align: center;
        height: 100%;
    }

    .service-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 30px 0;
        color: white;
        cursor: pointer;
    }

    .service-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 18px 0;
        color: white;
        cursor: pointer;
    }

    .icon-circle {
        width: 57px;
        height: 57px;
        border-radius: 50%;
        background-color: #FFFFFF;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid transparent;
        transition: border 0.3s ease;
    }

.icon-circle-mobile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

    .icon-circle-2 {
        width: 37px;
        height: 37px;
        border-radius: 50%;
        background-color: #FFFFFF;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid transparent;
        transition: border 0.3s ease;
    }

    .circle-wrapper {
        padding: 3px;
        border-radius: 50%;
        transition: border 0.3s ease;
    }

    .circle-wrapper.active {
        border: 2px solid #FFFFFF4D;
    }

    .icon-circle img {
        height: 30px;
    }

    .icon-circle-2 img {
        height: 24px;
        width: 24px;
    }

.icon-circle-mobile img {
    height: 24px;
    width: 24px;
}

    .service-item span {
        margin-top: 8px;
        font-size: 0.8rem;
    }


  #carouselImages .carousel-item {
    height: 100%;
  }

  #carouselImages img {
    height: 100%;
    width: auto;
    object-fit: contain;
    margin: auto;
    display: block;
  }

@media (max-width: 768px) {

  .fixed-left,
  .fixed-right,
  .main-content, .main-content-login, .main-content-airtime {
    position: static;
    width: 100%;
    margin: 0;
  }

  .fixed-left {
    order: 1;
    display :none
  }

  .fixed-top{
    display: block;
  }

  .fixed-right {
    order: 2;
    display :none
  }

  .content {
    display: flex;
    flex-direction: column;
  }
  .btn-filter {
     font-size: 12px;
     font-weight: 400;
  }

  .main-content {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 20px;
    order: 3;
    padding: 0;
  }

    .main-content-airtime {
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 20px;
        order: 3;
        padding: 0;
    }

    .main-content-login {
        margin-left: 0px;  /* même largeur que .fixed-left */
        margin-right: 0px;          /* même largeur que .fixed-right */
        margin-top: 20px;
        order: 3;
        padding: 0;
    }

  .cards-services-transfert {
    padding-top: 20px !important;
  }
  .cards-services-marchand {
     padding-top: 0px !important;
  }

    .cards-services-info-marchand {
        padding-top: 30px !important;
    }
  .content-wrapper {
    flex-direction: column;
  }
 
  .col-left, .col-right {
    display: none;
  }
 
  .col-center {
    max-width: 100%;
  }

.merchant-card, .merchant-card2 {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Espace entre gauche et droite */
  gap: 10px;
  flex-direction: row;
}

.merchant-info {
  display: flex;
  align-items: center;
  gap: 10px; /* Espace entre l'image et le texte */
}


  .entite {
    padding-top: 50px
  }

  #div_logo_services {
    display: none;
  }

  #menu-title {
    font-size: 1.1rem;
    margin-bottom: 0px;
  }

  #submitFormPayme {
    padding-top: 10px !important;
  }

  #divFraisInclus {
    margin-top: 0 !important;
    margin-bottom: 0;
  }
  #divFraisInclus .custom-checkbox{
     float: right !important;
  }


  .div-row {
    margin-top : 29vh;
  }

  .container-fluid {
    padding-right: 10px;
    padding-left: 10px;
    margin-right: 0px;
    margin-left: 0px;
  }

  .category-filters {
    gap: 15px;
    padding-left: 5px;
  }
  .merchant-section-container, .merchant-section-container2 {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 100px;
  }
  #div_recap {
     padding-left: 0px; padding-right: 0px;
  }

  #div-services {
    padding-bottom: 200px;
  }

  .custom-col {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  #personMarchandIcone {
    height: 430px; position: relative;margin-top: -50px;margin-left: 50px;width: 241.25px;
  }

  #blocImgPerson {
    padding-bottom : 0;
  }
  #textOuvrezCompte{
    text-align : center
  }

  #textOrganisme {
    text-align : center
  }

  .div-organisme-compte {
    display: flex;align-items: center;flex-direction: column;text-align: center;
  }

  #btn-suivre-dossier {
    margin-right: 10px; position:inline-block;
    margin-bottom: 10px;
  }

  #btn-creer-dossier {
     margin-right: 10px; position:inline-block
  }

  .div-icone-pourquoi {
    display: flex;align-items: center;flex-direction: column;text-align: center;
  }

  .banniere-mobile {
    display: block;
  }
  .creation-page-web {
    display : none
  }

  .creation-page-mobile {
    display : block
  }

  .align-items-stretch {
      row-gap: 25px;
  }

    #card-besoin-aide {
        min-height: 493px;
        background-color: #F6F8FB;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        margin-bottom: 80px;
        position: relative;
        margin-left: 0px;
        margin-top: -590px;
        width: 100%;
    }

    #bouton-besoin-aide {
        padding-left: 0px !important;
    }

    .cards-services-voucher {
        padding-top: 20px !important;
    }

}

@media (max-width: 768px) {
    .skeleton-info-service {
        display: block;           /* laisse bootstrap gérer les floats */
    }
    .skeleton-text-service {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        display: block;
    }
}
