.wrapper {
  display: flex;
  width: 100%;
  position: relative;
}

.bordure-right img {
  width: 100%;
  height: auto;
}

.form-select {
    background-clip: padding-box;
    height: 50px;
}
form {
  width: 100%;
  /* Assure que le formulaire occupe toute la largeur */
}

.login-wrapper {
  position: relative;
  background: #ffffff;
  z-index: 1;
  height: 100%;
}

/* Effet de bordure animée circulante */
.login-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 5px;
  /* épaisseur de la bordure */
  height: 100%;
  background: linear-gradient(120deg,
      #ff005e,
      #ff7b00,
      #ffee00,
      #00ff8f,
      #00d5ff,
      #7a00ff,
      #ff00e1,
      #ff005e);
  background-size: 300% 300%;
  animation: borderAnimated 6s linear infinite;

  /* masque pour ne laisser apparaître que la bordure */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* Animation */
@keyframes borderAnimated {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }

}

/* ==== INPUTS MODERNES ARRONDIS ==== */
.modern-input .form-control {
  /* border-radius: 25px !important; */
  padding: 12px 18px;
  font-size: 15px;
}

.modern-input {
  border-color: #ff00e1;
}

.modern-input .input-group-text {
  /* border-radius: 25px 0 0 25px !important; */
}

/* ==== BOUTONS MODERNES ==== */
.login-btn {
  border-radius: 25px !important;
  padding: 12px;
  background: #000;
  color: #fff;
  font-weight: 600;
  transition: 0.2s ease;
}

.login-btn:hover {
  background: #222;
}

.signup-btnt {
  border-radius: 25px !important;
  padding: 12px;
  border: 1px solid blue;
  background: transparent;
  color: #fff;
  font-weight: 600;
  transition: 0.2s ease;
}

.signup-btn:hover {
  color: #fff;
  /* background: blue; */
}

/* Texte */
.text-login {
  font-size: 15px;
  line-height: 22px;
}


/*-------------------------------------------------------------------------------------
--------------------------------------form validation-------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  height: 6px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #a5aaa5;
  border-radius: 5px;
  cursor: pointer;
}

::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 10px;
  cursor: pointer;
}

::-webkit-scrollbar-thumb:hover {
  background: blue;
}

/* forum */
.list-group-item {
  border: none;
  border-bottom: 1px solid #eee;
}

select,
.input-group {
  box-shadow: none !important;
  border-color: 1px solid #2661ec;
  border-radius: 5px;
}

.form-control:focus {
  color: #0d6efd;
}

input::placeholder {
  font-size: 14px;
  color: #0d6efd;
}

::placeholder {
  font-size: 14px;
  color: #0d6efd;
}

.notification-border {
  border-right: 1px solid #eee;
}

/* TÃ©lÃ©phones (portrait et paysage) */
@media only screen and (max-width: 767px) {
  .notification-border {
    border-right: none;
  }

  .login-wrapper::before {
    background: none;
    background-size: none;
  }
}

.text-green {
  color: rgb(6, 155, 6);
  font-size: 18px;
}

/* Tablettes (portrait et paysage) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .notification-border {
    border-right: none;
  }
}

.bordure-right {
  position: fixed;
  overflow: hidden;
}

.text-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: white;
  background: white;
  padding: 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
}

.text-overlay-top {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  background: white;
  padding: 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
}

.text-overlay h1,
.text-overlay-top h1 {
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 2px;
  margin: 0;
  color: white
}

/* .text-login{
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: black;
} */

/* Importation police Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* =======================
   📱 TÉLÉPHONE (portrait + paysage)
   < 768px
======================= */
@media (max-width: 767.98px) and (orientation: portrait),
(max-width: 767.98px) and (orientation: landscape) {
  .bordure-right {
    display: none;
  }

  .bordure-left {
    width: 100%;
    top: 0;
    position: fixed;
    right: 0;
    height: 100vh;
    padding: 2rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* =======================
   📱 TABLETTE (portrait + paysage)
   768px → 991.98px
======================= */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait),
(min-width: 768px) and (max-width: 991.98px) and (orientation: landscape) {
  .bordure-right {
    display: none;
  }

  .bordure-left {
    width: 100%;
    top: 0;
    position: fixed;
    right: 0;
    height: 100vh;
    padding: 7rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
}

/* =======================
   💻 PC / DESKTOP (portrait + paysage)
   992px → 1199.98px
======================= */
@media (min-width: 992px) and (max-width: 1199.98px) and (orientation: portrait),
(min-width: 992px) and (max-width: 1199.98px) and (orientation: landscape) {
  .bordure-right {
    width: 65%;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    /* Prend toute la hauteur de la fenêtre */
  }

  .bordure-left {
    width: 35%;
    top: 0;
    position: fixed;
    right: 0;
    height: 100vh;
    padding: 2rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

}

/* =======================
   🖥️ GRAND ÉCRAN (portrait + paysage)
   ≥ 1200px
======================= */
@media (min-width: 1200px) and (orientation: portrait),
(min-width: 1200px) and (orientation: landscape) {
  .bordure-right {
    width: 65%;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    /* Prend toute la hauteur de la fenêtre */
  }
  
  .bordure-left {
    width: 35%;
    top: 0;
    position: fixed;
    right: 0;
    height: 100vh;
    padding: 2rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

}