/*For general view*/

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* le contenu principal prend tout l’espace disponible */
}

a {
outline:none;
}

a:hover{
	text-decoration: none;
}

button {
  outline: none !important;
}

button:active{
  background: inherit !important;
}


body.drawer-open {
  position: relative;
  left: 320px;             /* doit correspondre à la largeur du modal */
  transition: left 0.28s ease-out;
}
@media (max-width:480px) {
  body.drawer-open { left: 85%; }
}


/* 🌐 Navbar globale */
.navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.8); /* transparence douce */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding-top: 15px;
  padding-bottom: 15px;

  /* 🎨 Effet glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}


.nav-menu{
  list-style-type: none;
  display: inline-block;
  padding: 0;
  margin: 0;
}

.nav-menu li{
  float: left;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 16px;
  color: #666;
  font-weight: 600;
}

.nav-menu .active li{
  color: #000 !important;
}

.nav-pills .active li{
  color: #000 !important;
  font-weight: 600;
}

.bouton1{
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 5px;
  background: #03C2E8 !important;
  background: linear-gradient(77deg, rgba(3, 194, 232, 1) 31%, rgba(0, 221, 237, 1) 100%);
  color: #FFF !important;
  border: none;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s;
}

.bouton1:hover{
  opacity: .8;
}

.bouton1:active{
  background: #03C2E8 !important
}


.bouton2{
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 5px;
  background: none!important;
  color: #222;
  border: solid 1px rgba(68, 68, 68, 1);
  font-weight: 600;
  font-size: 14px;
  transition: all .3s;
}

.bouton2:hover{
  opacity: .8;
}

.bouton3{
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 5px;
  background: #fff !important;
  color: #222 !important;
  border: solid 1px rgba(255, 255, 255, 1) !important;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s;
}

.bouton3:hover{
  opacity: .8;
}

.bouton3:active{
  background: #fff !important;
}

.v-hr {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 110%;
  background: #03C2E8;
  background: linear-gradient(358deg, rgba(3, 194, 232, 1) 31%, rgba(0, 221, 237, 1) 100%);
  box-shadow:
    0 0 8px rgba(3, 194, 232, 0.8),
    0 0 15px rgba(3, 194, 232, 0.6),
    0 0 25px rgba(0, 221, 237, 0.7);
  border-radius: 30px;
}

.badge-avant{
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 15px;
  margin-right: 15px;
  background: #ccc;
  padding: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: none;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
}

.badge-apres{
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 15px;
  margin-left: 15px;
  background: #00DDED;
  padding: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: none;
  font-weight: 900;
  font-size: 16px;
  color: #222;
  text-transform: uppercase;
}


/* Loader fluide */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader .circle {
  width: 40px;
  height: 40px;
  border: 4px solid #11EFE4;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 10px;
}

.loader p {
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.footer{
  background: #001C1C;
  color: #eee;
  padding: 0;
  padding-top: 35px;
  padding-bottom: 25px;
  width: 100%;
}

#menu-footer{
  list-style-type: none;
  display: inline-block;
  padding: 0;
}

#menu-footer li{
  float: left;
  margin-left: 30px;
}

#menu-footer li a{
  color: #fff;
  opacity: .7;
}

#menu-footer li a:hover{
  opacity: 1;
}

.form-login input{
  height: 40px;
}

.form-signup input{
  height: 40px;
}


.badge-user{
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 45px;
  width: 45px;
  border-radius: 100%;
  background: none;
  color: #222;
  font-size: 40px;
  padding: 0;
  cursor: pointer;
}

.dropdown-menu-user {
  display: none;
  position: fixed;
  right: 0;
  top: 70px;
  margin-right: 100px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  width: 230px;
  padding: 20px;
  padding-bottom: 15px;
  text-align: left;
  z-index: 999;
  box-shadow: 0 0 8px rgba(3, 194, 232, 0.3), 0 0 15px rgba(3, 194, 232, 0.2), 0 0 25px rgba(0, 221, 237, 0.1);
}


/* Fond transparent de la modal pour que le backdrop reste visible */
.modal.modal-left {
  background: transparent;
}

/* Dialog fixe, plein hauteur, positionné à gauche hors-écran */
.modal.modal-left .modal-dialog {
  position: fixed;
  margin: 0;
  top: 0;
  left: 0;
  height: 100%;
  width: 320px;            /* largeur du menu (ajuste ici) */
  max-width: 80%;
  transform: translateX(-100%);
  transition: transform 0.28s ease-out;
  -webkit-transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.28s ease-out;
}

/* Quand modal est visible, on remet en place -> effet slide */
.modal.modal-left.in .modal-dialog {
  transform: translateX(0);
  -webkit-transform: translateX(0);
}

/* Assurer que le contenu prenne toute la hauteur */
.modal.modal-left .modal-content {
  height: 100%;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* Scroll interne si nécessaire */
.modal.modal-left .modal-body {
  overflow-y: auto;
  max-height: calc(100% - 120px); /* header + footer reserve */
}

/* Ajustements responsive: sur petits écrans, menu plus large */
@media (max-width: 480px) {
  .modal.modal-left .modal-dialog { width: 85%; }
}

/* Optionnel : assombrir/backdrop par défaut Bootstrap s'en occupe,
   mais on peut ajuster l'opacité si besoin */
.modal-backdrop.in { opacity: 0.5; }


#toastContainer {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.toast-alert {
    min-width: 260px;
    padding: 12px 18px;
    border-radius: 6px;
    color: #fff;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    animation: slideIn 0.4s forwards;
}

.toast-alert .close {
    color: #fff;
    opacity: 0.8;
    margin-left: 10px;
    cursor: pointer;
}

.toast-success { background: #28a745; }
.toast-danger { background: #dc3545; }
.toast-warning { background: #ffc107; color: #333; }
.toast-info { background: #17a2b8; }

/* Animation d'apparition */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-120%); }
    to { opacity: 1; transform: translateY(10%); }
}

/* Animation de disparition */
@keyframes slideOut {
    from { opacity: 1; transform: translateY(10%); }
    to { opacity: 0; transform: translateY(-120%); }
}

/* ]100px ; 1500px], +100% */

@media only screen and (min-width : 100px) and (max-width : 1500px) {
  
}

/* ] -- ; 1200px], 133% | +133% */

@media only screen and (max-width : 1200px) {
  
}

/* ]1700px ; 3000px], -100% */

@media only screen and (min-width : 1700px) and (max-width : 3000px) {
  
}

/*For mobile view*/

@media only screen and (min-width : 100px) and (max-width : 1199px) {
	
  .mob1{
    display: none !important;
  }

  .mob2{
    display: none !important;
  }

  .mob3{
    display: block !important;
  }

  .mob4{
    font-size: 40px !important;
  }

  .mob5{
    width: 100% !important;
  }

  .mob6{
    height: 250px !important;
  }

  .mob7{
    display: none !important;
  }

  .mob8{
    font-size: 30px !important;
  }

  .mob9{
    padding: 0 !important;
  }

  .mob10{
    display: none !important;
  }

  .mob11{
    display: block !important;
  }

  .mob12{
    text-align: center !important;
    margin-top: 20px !important;
    font-size: 12px !important;
  }


	
}

