@font-face{
  font-family: "BarlowMedium";
  src: url("font/Barlow-Medium.woff2");
  src: url("font/Barlow-Medium.woff");
}
@font-face{
  font-family: "BarlowExtraLight";
  src: url("font/Barlow-ExtraLight.woff2");
  src: url("font/Barlow-ExtraLight.woff");
}
Barlow-Medium
html {
  overflow-x: hidden;
  /*scroll-behavior: smooth;*/
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

body{
  font-family: "BarlowMedium", sans-serif;
  background-color: #f4f6f9;
}

.myContainer{
  position: relative;
  width: 850px;
  height:550px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .2);
  overflow: hidden;
  margin: 20px;
}

.myForm-box{
  position: absolute;
  right:0;
  width: 50%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  color: #333;
  text-align: center;
  padding: 40px;
  z-index: 1;
  transition: 0.6s ease-in-out 1.2s, visibility: 0s 1s;
}

.myContainer.active .myForm-box{
  right:50%;
}

.myForm-box.myRegister{
  visibility: hidden;
}



.myContainer.active .myForm-box.myRegister{
  visibility: visible;
}

.myFormLogin{
  width: 100%;
}

.myContainer h1 {
  font-size: 46px;
  margin: -10px 0;
  margin-bottom: 10px;
}

.myInput-box{
  position: relative;
  margin: 30px 0;
}



.myInput-box input{
  width: 100%;
  padding: 10px;
  background: #eee;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.myBtnLogin:focus, 
.myBtnLogin:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: #6482ec !important;
}

.myBtnLogin.myRegister-btn:focus,
.myBtnLogin.myLogin-btn:focus,
.myBtnLogin.myLogin-btn:active,
.myBtnLogin.myRegister-btn:active{
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid #fff !important;
    background: #6e8cf6 !important;
    
}

.myBtnLogin.myLogin-btn:hover,
.myBtnLogin.myRegister-btn:hover{
  background: #6e91eb !important;
  box-shadow: 3px 3px 15px 1px rgba(0, 0, 0, 0.2) !important;
}


.myInput-box input::placeholder{
  color: #c8c8c8;
  font-weight: 400;
}

.myForm-box.myRegister .myInput-box{
  margin-top: 0px;
  margin-bottom: 10px;
}

.myInput-box i{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #333;
}

.myForgot-link{
  margin: -15px 0 15px;
}

.myForgot-link a {
  font-size: 14.5px;
  color: #333;
  text-decoration: none;
}

.myBtnLogin{
  width: 100%;
  height: 48px;
  background: #7494ec;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
}

.myContainer p {
  font-size: 14.5px;
  margin: 15px 0;
}

.mySocial-icons{
  display: flex;
  justify-content: center;
}

.mySocial-icons a {
  display: inline-flex;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  margin: 0 8px;
}

.myToggle-box{
  position: absolute;
  width: 100%;
  height:100%;
  background: #fff;
}

.myToggle-box::before{
  content: '';
  position: absolute;
  left: -250%;
  width: 300%;
  height: 100%;
  background: #7494ec;
  z-index: 2;
  border-radius: 150px;
  transition: 1.8s ease-in-out;
}

.myContainer.active .myToggle-box::before{
  left:50%;
}

.myToggle-panel{
  position: absolute;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 2;
  transition: 0.6s ease-in-out;
}

.myToggle-panel.myToggle-left{
  left:0;
  transition-delay: 1.2s;
}

.myContainer.active .myToggle-panel.myToggle-left {
  left: -50%;
  transition-delay: 0.6s;
}

.myContainer.active .myToggle-panel.myToggle-right {
  right: 0;
  transition-delay: 1.2s;
}

.myToggle-panel.myToggle-right{
  right: -50%;
  transition: 0.6s;
}

.myToggle-panel p {
  margin-bottom: 20px;
}

.myToggle-panel .myBtnLogin{
  width: 160px;
  height: 46px;
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none;
}

.member {
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0, 1),box-shadow 0.5s ease-in-out !important;  
  z-index: 1000;
}

.member:hover {
  transform: scale(1.08) !important;
  box-shadow: 5px 15px 20px 0px #c8c8c8 !important;
  z-index: 1050 !important;
}

.nav-pills .nav-link.active {
  background-color: #17a2b8 !important; /* bg-info d'AdminLTE */
  color: #fff !important;
}

.nav-pills .nav-link.active:hover {
  color: #fff !important;
}

.nav-pills .nav-link:hover {
  color: #138496 !important;
}




@media screen and (max-width: 650px){
  .myContainer{
    height: calc(100vh - 40px);
  }

  .myForm-box {
    bottom: 0;
    width: 100%;
    height:  70%;
  }

  .myContainer.active .myForm-box{
    right: 0;
    bottom: 30%;
  }


  .myToggle-box::before {
    left: 0;
    width: 100%;
    top: -270%;
    height: 300%;
    border-radius: 20vw;
  }

  .myContainer.active .myToggle-box::before{
    left: 0;
    top:70%;
  }

  .myToggle-panel{
    width: 100%;
    height: 30%;
  }

  .myToggle-panel.myToggle-left{
    top: 0;
  }

  .myContainer.active .myToggle-panel.myToggle-left{
    left: 0;
    top: -30%;
  }

  .myToggle-panel.myToggle-right{
    right: 0;
    bottom: -30%;
  }

  .myContainer.active .myToggle-panel.myToggle-right{
    bottom: 0;
  }


}

.custom-rounded {
            border-radius: 12px;
            background-color: #f8f9fa;
            border: 1px solid #ccc;
          }

@media screen and (max-width: 400px){
  .myForm-box {
    padding: 20px;
  }

  .myToggle-panel h1 {
    font-size: 30px;
  }

}

/*ALERT*/
  .swal2-popup{
    font-size: 0.8rem;
    color: #323232;
  }

  .swal2-container > .unknowUser{
    background: -webkit-linear-gradient(to right, rgba(255, 0, 75, 1), rgba(255, 50, 50, 1));
    background: linear-gradient(to right, rgba(255, 0, 75, 1), rgba(255, 50, 50, 1));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
  }
  .unknowUser > .swal2-header > .swal2-title{
    color: #fff;
    font-family: "BarlowExtraLight", Arial, sans-serif;
  }

  .swal2-container > .successData{
    background: -webkit-linear-gradient(to right, rgba(40, 150, 0, 1), rgba(80, 200, 60, 1));
    background: linear-gradient(to right, rgba(40, 150, 0, 1), rgba(80, 200, 60, 1));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
  }
  .successData > .swal2-header > .swal2-title{
    color: #fff;
    font-family: "BarlowExtraLight", Arial, sans-serif;
  }

  .teteplus{
  background: url(../img/hero-bg.png) center center;
  padding: none;
  letter-spacing: 5px;
}
.teteplus span, .teteplus h3{
  color: #fff;
}

/* ===== Détails "responsive" des tableaux DataTables (ligne dépliée sur tablette/mobile) =====
   Par défaut le plugin DataTables Responsive affiche une simple liste "Label: Valeur" empilée,
   peu lisible et pas du tout tactile. On la transforme en grille de petites cartes. */
table.dataTable > tbody > tr.child ul.dtr-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 12px 6px;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  background-color: #f8f9fa;
  border: 1px solid #e3e6ea;
  border-left: 4px solid #17a2b8;
  border-radius: 8px;
  padding: 6px 12px;
  word-break: break-word;
}

table.dataTable > tbody > tr.child ul.dtr-details > li .dtr-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6c757d;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

table.dataTable > tbody > tr.child ul.dtr-details > li .dtr-data {
  font-size: 0.95rem;
  color: #212529;
  line-height: 1.3;
}

/* Tablette : deux colonnes bien espacées, cible tactile confortable */
@media screen and (min-width: 576px) and (max-width: 991px) {
  table.dataTable > tbody > tr.child ul.dtr-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
  }

  table.dataTable > tbody > tr.child ul.dtr-details > li {
    min-height: 50px;
    padding: 8px 14px;
  }
}

/* Très petit écran : une seule colonne pour éviter le texte tassé */
@media screen and (max-width: 575px) {
  table.dataTable > tbody > tr.child ul.dtr-details {
    grid-template-columns: 1fr;
  }
}

/* Zone de dépli (+/-) plus confortable au doigt */
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control {
  padding-top: 12px;
  padding-bottom: 12px;
}


