.animated-border-wrapper {
  position: relative;
  /* pour voir la bordure animée */
  padding: 5px;
  overflow: hidden;
  /* Pour ombre portée douce sous la carte */
  box-shadow: 0 6px 32px 0 rgba(60, 42, 120, 0.17);
}

.overflow-hidden {
  overflow: hidden;
}

.animated-border-wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    conic-gradient(#BE1244,
      #fff,
      #ffffff,
      #BE1244);
  animation: spin 5s ease-out infinite;
}

.bg-special {
  background: radial-gradient(#1976ccda,
      #fff);
}

.bg-special-dark {
  background: linear-gradient(10deg, #c1bcbc, #ebeaea, #fff);
}

.bg-cargo {
  background-color: #BE1244;
}

.text-cargo {
  color: #BE1244;
}



@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*     	Progress     */
.progress {
  border-radius: 100px;
  height: 14px;
}

.progress .progress-bar {
  border-radius: 100px;
  width: 0px;
  transition: width 800ms linear;
}

.progress.progress-sm {
  height: 8px;
}

.progress.progress-xsm {
  height: 4px;
}

.progress.progress-lg {
  height: 20px;
  animation: name duration timing-function delay iteration-count direction fill-mode;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.profile-media {
  position: relative;
  padding-bottom: 20px;
  z-index: 9;
}

.profile-media:before {
  content: "";
  border-right: 2px solid #DCDFE8;
  background: #DCDFE8;
  height: 100%;
  width: 1px;
  position: absolute;
  left: 9px;
  top: 0;
  z-index: -1;
}

.profile-dots {
  height: 20px;
  width: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 2px solid;
  border-radius: 3px;
  background: #fff;
}

.media {
  display: flex;
  align-items: flex-start;
}

.media-body {
  width: 100%;
  margin-left: 10px;
  background-color: #beeaff;
  border-radius: 5px;
  padding: 6px 8px 2px 6px;
}

.media-title {
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
}

.media-description {
  font-size: 10px;
  padding: 5px;
  border-radius: 4px;
  background-color: #ffffffb2;
}

.logo-background {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-background .avatar-img {
  width: 100%;
  height: auto;
  opacity: 0.12;
  object-fit: contain;
}

.page-inner {
  position: relative;
  z-index: 1;
}

.logo {
  height: 80px;
  animation: logoanimation 5s infinite;
  transition: all;
}

.special-bg {
  background: linear-gradient(270deg, #474dff, #31ff03, #2b86c5, #52c7f2, #38f9d7);
}

.special-bganimated {
  background-size: 1200% 1200%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow 10s ease infinite;
}





@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes logoanimation {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.1;
  }

  90% {
    transform: scale(0.7);
    opacity: 0.5;
  }
}




















.sidebar-body {
  background-color: rgba(255, 255, 255, 0.888);
}


.sidebar {
  width: 260px;
  height: 100vh;
  background-color: #1a2226;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.sidebar-header {
  height: 60px;
}

.sidebar-body {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 60px);
}

.sidebar-label {
  padding: 15px 20px 10px 15px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4b646f;
  letter-spacing: 0.5px;
}

.menu-label {
  font-size: 0.85rem;

}

.submenu-label {
  font-size: 0.8rem;

}

.sidebar .nav-link {
  color: #000000;
  padding: 10px 10px 10px 15px;
  margin-left: 3px;
  margin-right: 3px;
  margin-top: 2px;
  font-size: 0.75rem;
  border-left: 3px solid transparent;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active,
.sidebar .nav-item.open .nav-link.menu-toggle,
.sidebar .nav-item.active .nav-link.menu-toggle {
  color: #ffffff;
  background-color: #1e282c;
  border-left-color: #00b060;
}


.nav-icon {
  width: 20px;
  font-size: 0.2rem;
  text-align: center;
  margin-right: 6px;
}



/* Gestion de la fermeture/ouverture des sous-menus */
.submenu-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #2c3b41;

  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;

  margin-left: 3px;
  margin-right: 3px;
  border-left: 3px solid white;
}

.nav-item.open .submenu-wrapper {
  padding-bottom: 3px;
}

/* Quand le sous-menu est actif */
.nav-item.open .submenu-wrapper {
  max-height: fit-content;
}

.arrow-icon {
  width: 20px;
  font-size: 0.8rem;
  display: inline-block;
  /* Permet un calcul exact des dimensions pour le pivot */
  transform-origin: center center;
  /* Force le point de rotation au centre exact */
  transition: transform 0.3s ease;
}

/*
.nav-item.open .arrow-icon {
  transform: rotate(-180deg);
}

 Styles internes des sous-menus */
.submenu {
  list-style: disc;
  padding: 0;
  margin: 0;
}

.submenu .nav-link {
  padding: 8px 15px 8px 25px;
  font-size: 0.68rem;
  border-left: none;
  color: #a8abb1;
}

.submenu .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}


i.submenu-icon {
  font-size: 0.65rem !important;
  /* Forces la réduction de la taille */
  line-height: 1;
}












.choices {
  max-width: 100%;
}

.choices .choices__item {
  background-color: rgba(0, 0, 0, 0.4) !important;
  border: 2px solid #f1f1f1;
}



.footer {
  position: fixed !important;
  bottom: 0 !important;
  background-color: #1a2226dd;
  color: #b8c7ce;
  z-index: 1000;
}

.selectonfacture{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    margin-top: 10px;
    border-radius: 5px;
    padding: 5px 10px;
}


/*
div, span, p, h1, h2, h3, h4, h5{
  color: #000;
}
*/