@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

:root {
  /* ===== Colors ===== */
  /* --body-color: #E4E9F7;
    --sidebar-color: #FFF;
    --primary-color: #695CFE;
    --primary-color-light: #F6F5FF;
    --toggle-color: #DDD;
    --text-color: #707070; */

  --body-color: #fff;
  --sidebar-color: #242526;
  --primary-color: #3a3b3c;
  --primary-color-light: #3a3b3c;
  --toggle-color: #fff;
  --text-color: #ccc;
  --bs-danger: #ff0000;
  /* --bs-danger : #C81517; */
  /* --bs-info : #D6D6D6; */
  --bs-info: #707070;
  --bs-success: #64e760;
  --bs-white-gray : #D6D6D6;
  --small-font-size: .875rem;

  /* ====== Transition ====== */
  --tran-02: all 0.2s ease;
  --tran-03: all 0.3s ease;
  --tran-04: all 0.4s ease;
  --tran-05: all 0.5s ease;
}

body {
  background-color: var(--body-color);
  transition: var(--tran-05);
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
}

::selection {
  background-color: var(--primary-color);
  color: #fff;
}

.logo {
  width: 150px;
}
.logo1 {
  width: 50px;
}

/* ===== Sidebar ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 250px;
  padding: 10px 14px;
  background: var(--sidebar-color);
  transition: var(--tran-05);
  z-index: 100;
}


/* ===== Reusable code - Here ===== */
.sidebar li {
  height: 50px;
  list-style: none;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.sidebar header .image,
.sidebar .icon {
  min-width: 60px;
  border-radius: 6px;
}

.sidebar .icon {
  min-width: 30px;
  border-radius: 6px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.sidebar .text,
.sidebar .icon {
  color: var(--text-color);
  transition: var(--tran-03);
}

.sidebar .text {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 1;
}
/* =========================== */

.sidebar header {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar header .image-text {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.sidebar header .logo-img {
  display: flex;
  align-items: center;
}

.sidebar header .image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar header .image img {
  width: 40px;
  border-radius: 6px;
}
  
  .sidebar .menu-bar {
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
  }
  .menu-bar::-webkit-scrollbar {
    display: none;
  }
  .sidebar .menu {
    margin-top: 40%;
  }


  .sidebar li a {
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
  }

.sidebar li a:hover {
  background-color: var(--bs-danger);
}
/* .sidebar li div:hover {
  background-color: var(--bs-danger);
} */
/* .sidebar li a:active {
  background-color: var(--bs-danger);
} */
/* .sidebar li a:{
    background-color: var(--bs-danger);
} */
.sidebar li a:hover .icon,
.sidebar li a:hover .text,
.sidebar li a:hover .arrow-left {
  color: var(--body-color);
}

.home {
  position: fixed;
  top: 0;
  top: 0;
  left: 250px;
  width: calc(100% - 250px);
  background-color: var(--body-color);
  /* transition: var(--tran-05); */
  z-index: 2;
}

.home .text {
  font-size: 14px;
  font-weight: 400;
  color: var(--bs-info);
  padding: 12px 40px;
}


.bradding {
  position: fixed;
  left: 250px;
  width: calc(100% - 250px);
  background-color: var(--bs-danger);
  /* transition: var(--tran-05); */
  z-index: 1;
}

.bradding .text {
  font-size: 14px;
  font-weight: 300;
  color: var(--bs-info);
}


.back{
    position: fixed;
    display: flex;
    top: auto;
    left: 250px;
    width: calc(100% - 250px);
    background-color: var(--body-color);
    /* transition: var(--tran-05); */
}
.backwallet{
    position: flex;
    top: auto;
    left: 250px;
    width: calc(100% - 250px);
    background-color: var(--bs-info);
    /* transition: var(--tran-05); */
}

.sender {
  height: 9vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bs-danger);
  /* transition: var(--tran-05); */
}
.operator{ 
  top: auto;
  height: 11vh;
  width: 100%;
  display: flex;
  align-items: center;
  /* transition: var(--tran-05); */
}
.misedisposition{
    position: absolute;
    left: 250px; 
    top: 40px;  
    height: 15vh;
    width: calc(100% - 250px);
    background-color: var(--bs-danger);
    /* transition: var(--tran-05); */
}
.receiver {
  position: absolute;
  left: 250px;
  height: 50vh;
  width: calc(100% - 250px);
  background-color: var(--body-color);
  /* transition: var(--tran-05); */
}


.content {
  position: absolute;
  left: 250px;
  right: 0;
  height: 100%;
  width: calc(100% - 250px);
  background-color: var(--body-color);
  transition: var(--tran-05);
}

/* Page Relevé */

#releveContainer {
  max-height: 300px; /* Taille maximale du conteneur */
  overflow-y: auto; /* Activation de la barre de défilement vertical en cas de dépassement */
}
/* #releveContainer::-webkit-scrollbar {
  display: none;
} */


#dateInput {
  padding: 8px;
  font-size: 14px;
}

/* Personnalisation du datepicker */


/* Page Relevé */

/* h3 {
    margin-bottom: 20px;
    color: var(--bs-info) ;
    align-items: center;
    justify-content: center;
  } */

.content .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--bs-info);
}
/* .tranfert-body{
    display: flex;
    justify-content:center;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--bs-info);
} */
.transfertbutton {
  display: flex;
}


.footer {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  left: 250px;
  height: 14vh;
  width: calc(100% - 250px);
  background-color: var(--text-color);
  transition: var(--tran-05);
}
.releve {
  top:100vh;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-self: center;
  width: calc(100% - 250px);
  height: calc(100% - 14vh);
  /* overflow-y: auto; */
}

.footer .text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  padding: 12px 40px;
}


.bradding .pagetitle {
  color: var(--body-color);
  margin-left: 9%;
}
.bradding .text .brandding-img {
  margin-right: 1px;
}

.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 5px;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-left: 20px;
  border-radius: 20px;
  border: 2px solid var(--bs-danger);
}
input[type="text"] {
  width: 100%;
  padding: 5px;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-left: 20px;
  border-radius: 20px;
  border: 2px solid var(--text-color);
} */

/* button[type="submit"] {
    width: 50%;
    padding: auto;
    /* margin-top: 10px;

    margin-bottom: 100; *
    background-color: var(--bs-danger);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: red;
} */

.codeotp {
  margin-top: 5vh;
  color: var(--bs-danger);
}
.msgotp {
  color: var(--bs-success);
}

.form-control:hover {
  border-color: initial;
  box-shadow: initial;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
}

.modalfade {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(09px);
  display: none;
  justify-content: center;
  align-items: center;
}

.modaldialog {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 10px;
}

.modalcontent {
  z-index: 1;
  background-color: #fff;
  padding: 0 0 20px 0;
  width: 250px;
}

.rowcontent {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

button {
  width: fit-content;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 3px 30px;
}

.btn-primary {
  background-color: #e12621;
  margin: 0 -10px 0 0;
}

.btn-secondary {
  background-color: #707070;
  margin: 0 0 0 -10px;
}

.modal-body {
  text-align: center;
}

.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.radio-buttons {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.custom-radio input {
    display: none;
}

.radio-btn {
    margin: 4px;
    width: 110px;
    height: 150px;
    border: 3px solid transparent;
    display: inline-block;
    border-radius: 70px;
    position: relative;
    text-align: center;
    /* box-shadow: 0 0 20px #c3c3c367; */
    cursor: pointer;
}

.radio-btn .hobbies-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 42%;
    left: 41%;
    transform: translate(-50%, -50%);
  }


  .radio-btn .hobbies-icon h3 {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
  }

  
  .custom-radio input:checked + .radio-btn {
    border: 3px solid red;
    background-color: red;
  }
  .custom-radio input:hover + .radio-btn {
    border: 3px solid red;
    background-color: red;
  }
  /* .custom-radio input:checked + .radio-btn  .hobbies-icon > img{
    color: #ffffff;
  } */



  .menu_items {
    padding: 0;
    list-style: none;
  }
 .nav_link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--bs-info);
    white-space: nowrap;
  }
  .navlink_icon {
    position: relative;
    font-size: 22px;
    min-width: 50px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 6px;
  }
  .navlink_icon::before {
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100% + 100px);
    left: -20px;
  }
  .navlink_icon:hover {
    background: var(--bs-danger);
  }
  .nav_link:hover {
    color: var(-text-color);
    background: var(--bs-danger);
  }
  .submenu_item {
    cursor: pointer;
  }
  .submenu {
    display: none;
  }
  .submenu_item .arrow-left {
    position: absolute;
    right: 25px;
    display: inline-block;
    margin-right: auto;
    color: white;
    /* transition: var(--tran-05); */
  }
  .show_submenu ~ .submenu {
    display: block;
  }
  .show_submenu .arrow-left {
    transform: rotate(90deg);
  }
 .submenu .sublink {
    padding: 15px 15px 15px 52px;
  }



  a {
    text-decoration: none;
  }

  ul{
    margin: 0;
    padding: 0;
    list-style: none;
  }
  /* .input-md{
    width: 10vw;
  } */

  .nav__link {
    display: grid;
    grid-template-columns: 30px max-content 1fr;
    align-items: center;
    column-gap: .75rem;
    padding: .75rem;
    color: var(--bs-info);
    border-radius: .5rem;
    margin-bottom: 1rem;
    transition: .3s;
    cursor: pointer;
    text-decoration: none;
  }

  .nav__link:hover{
    background-color: var(--bs-danger);
    color: var(--body-color);
    text-decoration: none;
  }

  /* .sidebar li a:hover {
    background-color: var(--bs-danger);
  } */

  .sidebar .menu-bar .menu .nav__list .active{
    background-color: var(--bs-danger);
    color: var(--body-color);
    text-decoration: none;
  }
  /* .nav__name{
    font-size: var(--small-font-size);
  } */


/*===== COLLAPSE =====*/
/* .collapse {
} */

.collapse__link {
  justify-self: flex-end;
  transition: .5s;
}
.collapse__menu {
  display: none;
  /* background-color: var(--bs-danger); */
  padding: 0.75rem 2rem;
}
.collapse__sublink {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  column-gap: .75rem; 
  padding-left: 1rem;
  margin-bottom: .50rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
}
.collapse__sublink:hover {
  color: var(--white-color);
  text-decoration: none;
}

/*Show collapse*/
.showCollapse {
  display: block;
}

/*Rotate icon*/
.rotate {
  transform: rotate(90deg);
}

.header-right .hamburger {
  margin-left: 20px;
  cursor: pointer;
  display: none;
}
.header-right .hamburger div {
  width: 30px;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}
.date {
  width:150px;
}

.username {
  color: var(--bs-danger); 
  font-size: 17px; 
  text-decoration: none;
}
.carouselsize {
  width:82vw;
  height:101px;
}
.crouselbutton {
  width:41px;
  opacity:1;
}
.toogle {
  background-color: var(--bs-danger); 
  font-size: 17px; 
  text-decoration: none;
  border-radius: .3rem;
  padding-left: 2px;
  padding-right: 2px;
  display: none;

}
.option {
  display: none;
}
.optionSmall {
  display: block;
}
.clse {
  position: absolute;
  top: 16px;
  right: -25px;
  background-color: var(--bs-danger); 
  font-size: 14px; 
  text-decoration: none;
  border-radius: .8rem;
  height: 25px;
  width: 25px;
  display: none;
  align-items: center;
  justify-content: center;
}
.trsf {
  width: 200px;
}

.b2wsize {
  padding-left: 40px; 
  padding-right: 70px; 
  padding-top: 15px;  
  padding-bottom: 15px; 
  width:350px; 
}
.w2bsize {
  padding-left: 40px;  
  padding-top: 15px;  
  padding-bottom: 15px;  
  border: var(--primary-color) 2px solid; 
  padding-right: 50px;  
  width: 350px;
}
.trsf1 { 
  width: 100px;
}

.home-store {
  display: flex;
  justify-content: center;
  margin: 15px 0 35px;
}
.home-store  a:hover{
  cursor: pointer;
}
.home-store  a img{
  width: 110px; 
  height: 35px;
  margin: 0 10px 0 10px;
}

.header div .dessus{
  position: relative;
  color: var(--body-color);
  background: var(--bs-danger);
  text-decoration: none;
  text-align: center;
  border: none;
  right: -2vw;
  border-radius: 30px;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 30px;
  padding: 5px 12px 5px 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  z-index: 2;
}
.header div .logout{
  position: relative;
  color: var(--body-color);
  background: var(--bs-danger);
  text-decoration: none;
  text-align: center;
  border: none;
  right: -2vw;
  /* border-radius: 30px; */
  margin-top: 10px;
  padding: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.header div .close{
  position: relative;
  color: var(--body-color);
  background: var(--bs-danger);
  text-decoration: none;
  text-align: center;
  border: none;
  right: -10vw;
  /* border-radius: 30px; */
  margin-top: 10px;
  padding: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.header div .dessus:hover{
  color: var(--bs-danger);
  background: var(--body-color);
  border: 1px solid var(--bs-danger);
}


.header div .alternate{
  position: relative;
  color: var(--bs-danger);
  background: var(--body-color);
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--bs-danger);
  right: -2vw;
  border-radius: 30px;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 30px;
  padding: 5px 12px 5px 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  z-index: 2;
}


.header div .form{
  position: absolute;
  top: 0vh;
  right: -1vw;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);

}

#form{
  display:none;
}


.form .wrapper{
  width: 280px;
  padding: 6vh 0 7vh 0;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(7px);
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  border-radius: 10px;
}

.wrapper a{
  display: grid;
  grid-template-columns: 1fr max-content;
  column-gap: .75rem;
  padding: .75rem;
  color: var(--body-color);
  font-size: 10px;
  border-radius: .5rem;
  margin-bottom: -2vh;
  text-decoration: none;
}
.wrapper a .libel{
  display: flex;
  justify-content: end;
  align-items: center;
}
.wrapper a .image img{
  width: 15px;
  height: 15px;
  margin-right: 2vw;
}
.wrapper a:hover{
  color: #fff;
  background-color: transparent;
}

.header div .dessus {
  font-size: 12px;
  font-weight: 200;
  color: var(--body-color);
}
.header div .logout {
  font-size: 12px;
  font-weight: 200;
  color: var(--body-color);
}
.header div .alternate {
  font-size: 12px;
  font-weight: 200;
  color: var(--bs-danger);
  border: none;
}
.header div .dessus img{
  width: 13px; 
  height: 13px;
  margin: 0 3px 0 0;
}
.header div .logout img{
  width: 15px; 
  height: 15px;
  margin:3px;
  /* margin: 0 4px 0 0; */
}
.header div .close i{
  width: 15px; 
  height: 15px;
  margin:3px;
  /* margin: 0 4px 0 0; */
}
.header div .alternate img{
  width: 13px; 
  height: 13px;
  margin: 0 3px 0 0;
}
.header div .dessus:hover img {
  content: url('../../img/app/PNG/optionRed.png');
}

.header div .alternate img {
  content: url('../../img/app/PNG/optionRed.png');
}
.header div .alternate:hover img {
  content: url('../../img/app/PNG/optionRed.png');
}


@media screen and (max-width: 800px){
  .sidebar {
    display: none;
  }

  .option {
    display: block;
  }

  .optionSmall {
    display: none;
  }

  .clse {
    position: absolute;
    top: 16px;
    right: -25px;
    background-color: var(--bs-danger); 
    font-size: 14px; 
    text-decoration: none;
    border-radius: .8rem;
    height: 25px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tran-05);
  }
   
  .home {
    left: 0;
    width: 100%;
    transition: var(--tran-05);
  }
  .bradding {
    left: 0;
    width: 100%;
    /* transition: var(--tran-05); */
  }
  .back{
    left: 0;
    width: 100%;
    /* transition: var(--tran-05); */
  }
  .backwallet{
    left: 0;
    width: 100%;
      /* transition: var(--tran-05); */
  }
  .misedisposition{
    left: 0;
    width: 100%;
    /* transition: var(--tran-05); */
  }
  .receiver {
    left: 0;
    width: 100%;
    /* transition: var(--tran-05); */
  }
  .content {
    left: 0;
    width: 100%;
  }
  
  .footer {
    left: 0;
    width: 100%;
  }
  .releve {
    left: 0;
    width: 100%;
  }
  .toogle{
    display: block;
    justify-content: center;
    align-items: center;  
  }
  .lopt{
    font-size: 10px;
  }

  .radio-btn {
    margin: 1px;
    width: 75px;
    height: 100px;
    border: 3px solid transparent;
    display: inline-block;
    border-radius: 70px;
    position: relative;
    text-align: center;
    /* box-shadow: 0 0 20px #c3c3c367; */
    cursor: pointer;
}

.radio-btn .hobbies-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 41%;
    left: 37%;
    transform: translate(-50%, -50%);
  }

  .trsf1 { 
    width: 70px;
  }

}

@media screen and (max-width: 1024px) { 
  /* .sidebar {
    display: none;
  } */
  .home .text {
    left: 0;
    font-size: 10px;
    font-weight: 300;
    color: var(--bs-info);
    padding: 9px 35px;
  }
}

@media screen and (max-width: 425px) { 
  body {
    align-items: center;
    font-size: 9px;
  }
  .date {
    width:40px;
  }

  .carouselsize {
    width:250px;
  }
  .crouselbutton {
    width:35px;
    opacity:1;
  }

  .trsf {
    width:100px;
  }

  .radio-btn {
    margin: 1px;
    width: 75px;
    height: 100px;
    border: 3px solid transparent;
    display: block;
    border-radius: 70px;
    position: relative;
    text-align: center;
    /* box-shadow: 0 0 20px #c3c3c367; */
    cursor: pointer;
}

.radio-btn .hobbies-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 41%;
    left: 37%;
    transform: translate(-50%, -50%);
  }

  .trsf1 { 
    width: 70px;
  }
}