


.left-side {
  background-color: var(--bs-primary);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.left-side img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.right-side {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: white;
}

.login-form {
  width: 100%;
  max-width: 400px;
}

.icons {
            display: flex;
            gap: 20px;
            align-items: center;
        }
        
        .icon {
            cursor: pointer;
            font-size: 20px;
            color: var(--bs-secondary);
            transition: var(--transition);
            position: relative;
        }
        
        .icon:hover {
            color: var(--bs-primary);
            transform: translateY(-2px);
        }
        
        .icon-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--bs-warning);
            color: white;
            font-size: 10px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }



body {
  background-color: #f8f9fa;
  font-family: Arial, Helvetica, sans-serif;
}

.sidebar {
  width: 250px;
  min-height: 100vh;
  background-color: var(--bs-primary);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  transition: transform 0.3s ease;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

.sidebar .section-title {
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.8;
}

.sidebar .nav-link {
  color: white;
  padding: 0.5rem 1rem;
  transition: background-color 0.2s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: #2f2750;
  color: #fff;
}

.sidebar-overlay {
  display: none;
}

.sidebar-overlay.show {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.main-content {
  width: 100%;
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

.navbar {
  border-bottom: 1px solid #dee2e6;
}

.table th,
.table td {
  vertical-align: middle;
}

body.sidebar-open {
  overflow: hidden;
}

/* Desktop ≥768px */
@media (min-width: 768px) {
  .sidebar {
    transform: none !important;
    /* Ignore .collapsed, always shown */
  }

  .main-content {
    margin-left: 250px;
  }

  .sidebar-overlay {
    display: none !important;
  }
}

/* Mobile <768px */
@media (max-width: 767.98px) {
  .sidebar {
    transform: translateX(-100%);
    /* Hide by default */
  }

  .sidebar.collapsed {
    transform: translateX(-100%);
  }

  .sidebar:not(.collapsed) {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }
}



.test{
  border:solid red 1px;
}

/* LIENS SOULIGNES */
a.souligne {

	font-weight:400;
    position: relative;
    text-decoration: none; /* Supprime le soulignement par dÃ©faut */
    color: var(--bs-link-color); /* Couleur du texte du lien */
}

a.souligne::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px; /* Epaisseur de la ligne */
    background-color: var(--bs-link-color); /* Couleur de la ligne */
    transition: width 0.3s ease; /* Animation de l'effet */
}

a.souligne:hover::after {
    width: 100%; /* Fait s'Ã©tendre la ligne sur toute la largeur du lien */
}
/* ///////////////////////// */

.left-side {
  background-color: var(--bs-primary);
  background-image:url('/assets/images/background.jpg');
  background-repeat: no-repeat ;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  align-items: center;
  text-align: center;
 
}

.left-side img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.right-side {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: white;
}

.login-form {
  width: 100%;
  max-width: 400px;
}



body {
  background-color: #f8f9fa;
  font-family: Arial, Helvetica, sans-serif;
}

.sidebar {
  width: 250px;
  min-height: 100vh;
  background-color: var(--bs-primary);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  transition: transform 0.3s ease;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

.sidebar .section-title {
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.8;
}

.sidebar .nav-link {
  color: white;
  padding: 0.5rem 1rem;
  transition: background-color 0.2s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: #2f2750;
  color: #fff;
}

.sidebar-overlay {
  display: none;
}

.sidebar-overlay.show {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.main-content {
  width: 100%;
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

.navbar {
  border-bottom: 1px solid #dee2e6;
}

.table th,
.table td {
  vertical-align: middle;
}

body.sidebar-open {
  overflow: hidden;
}

/* Desktop ≥768px */
@media (min-width: 768px) {
  .sidebar {
    transform: none !important;
    /* Ignore .collapsed, always shown */
  }

  .main-content {
    margin-left: 250px;
  }

  .sidebar-overlay {
    display: none !important;
  }
}

/* Mobile <768px */
@media (max-width: 767.98px) {
  .sidebar {
    transform: translateX(-100%);
    /* Hide by default */
  }

  .sidebar.collapsed {
    transform: translateX(-100%);
  }

  .sidebar:not(.collapsed) {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }
}


#image-connexion {
 
  /* background-blend-mode: multiply; */
  background-size: cover;
  background-position: center;
  background-color: var(--bs-bg-primary);
}

.btn-primary{
  background-color:var(--bs-bg-primary)!important;
  border-color:var(--bs-bg-primary)!important;
}
.btn-primary:hover{
  background-color:var(--bs-primary-hover)!important;
  border-color:var( --bs-primary-hover)!important;
}

/* HEADERS */
h1 {}

h2 {}

h3 {
  color: var(--bs-primary) !important;
  font-weight: 700 !important;
}

/* DATATABLE */

.pagination {
  --bs-pagination-active-bg:white;

  --bs-pagination-active-border-color:var(--bs-primary) !important;

}

/* NAV sidebar */
.sidebar{
  padding:0;
  font-size:0.9em;
}
.sidebar .section-title{
  padding-left:5px;
}
.sidebar .nav-link{
  /* border-top:1px dotted transparent; */
  /* border-bottom:1px dotted #FFFFFF1F; */
}
.sidebar .nav-link:hover,.sidebar .nav-link.active{
  /* background-color:var(--bs-primary-hover)!important;
  border-top:1px solid  #FFFFFFaa;
  border-bottom:1px solid  #FFFFFFaa; */
}


/* DIVERS */

small {
  font-size: 0.7em;
}

.gras {
  font-weight: 700 !important;
}

/* CHECKBOX */

.form-check-input {
  height: 30px;
  width: 30px;
  margin: 10px;
  background-color: white;
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.form-check-label {
  margin-top: 12px;
}

/* LIENS SOULIGNES */
a {
  text-decoration: none;
  color: var(--bs-primary);
}

a:hover {
  color: var(--bs-primary-hover);
}

.card a:not(.btn):not(.brut) {

  font-weight: 400;
  position: relative;
  text-decoration: none;
  color: var(--bs-primary);
}

.card a:not(.btn):not(.brut)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: var(--bs-primary);
  transition: width 0.3s ease;
}

.card a:not(.btn):not(.brut):hover::after {
  width: 100%;
}

  .dataTables_paginate .page-item .page-link:hover {
    background-color: var(--bs-primary-hover);
    border-color: var(--bs-primary-hover);
}

/* .dataTables_paginate .page-item .page-link {
    background-color: var(--bs-link-color);
    border-color: var(--bs-primary-hover);
} */

/* 
.text-primary {

  color: var(--bs-primary) !important;

} */