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

body {
  background-color: #e6daff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  /* Force la couleur par défaut pour éviter le bleu iOS */
  color: #171717;
  -webkit-text-size-adjust: 100%;
}

p {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

h1, h2, h3 {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  /* Force la couleur noire par défaut pour éviter le bleu sur iOS */
  color: #171717;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Force la couleur héritée sur tous les états des liens */
a:link,
a:visited,
a:hover,
a:active {
  /* Empêche Safari iOS de forcer le bleu */
  -webkit-text-fill-color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: "Raleway";
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/* Fix pour les boutons et liens sur iOS/Safari - Espace Compte */
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Empêcher la couleur bleue par défaut sur iOS */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Style spécifique pour les liens dans les boutons (couleur héritée) */
button a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Force les styles pour Safari iOS - empêche le bleu par défaut */
@supports (-webkit-touch-callout: none) {
  /* Reset général */
  a, button {
    -webkit-text-fill-color: inherit !important;
    color: inherit !important;
  }

  /* ========== BOUTONS VIOLETS (texte blanc) ========== */
  .menu-btn, .menu-btn a,
  .logout-btn, .logout-btn a,
  .action-button, .action-button a,
  .validate-btn, .validate-btn a,
  .submit-btn, .submit-btn a,
  .primary-btn, .primary-btn a,
  button[type="submit"], button[type="submit"] a,
  .btn-purple, .btn-purple a,
  .nav-link.active, .nav-link.active a {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }

  /* Boutons de navigation sidebar */
  .sidebar-nav a,
  .nav-item a {
    -webkit-text-fill-color: #5c3aa7 !important;
    color: #5c3aa7 !important;
  }

  .sidebar-nav a.active,
  .nav-item a.active {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }

  /* Icônes et SVG en blanc */
  .icon-white, .icon-white svg,
  .icon-white path,
  .logout-icon, .logout-icon svg,
  .menu-icon, .menu-icon svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }

  /* Textes sur fond violet */
  .bg-purple, .bg-purple a,
  .bg-purple span,
  .header-purple, .header-purple a,
  .header-purple span {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }

  /* Liens normaux (texte violet) */
  .link-purple, .link-purple a {
    -webkit-text-fill-color: #5c3aa7 !important;
    color: #5c3aa7 !important;
  }

  /* Boutons secondaires (bordure) */
  .secondary-btn, .secondary-btn a,
  .btn-outline, .btn-outline a {
    -webkit-text-fill-color: #5c3aa7 !important;
    color: #5c3aa7 !important;
  }

  /* Boutons avec fond blanc et texte violet */
  .btn_alimenter, .btn_alimenter span,
  .btn_contrat, .btn_contrat span {
    -webkit-text-fill-color: #5c3aa7 !important;
    color: #5c3aa7 !important;
    background-color: #ffffff !important;
  }

  /* Boutons avec fond blanc et texte noir */
  .carteDebit, .carteDebit span, .carteDebit a {
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
    background-color: #ffffff !important;
  }

  /* Texte noir dans les cartes (sans background) */
  .nameBanque, .cardHolder {
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
  }

  /* Texte noir par défaut */
  .text-dark, .text-dark a,
  p, span, div {
    -webkit-text-fill-color: inherit !important;
  }

  /* Statuts colorés */
  .status-success, .status-success span {
    -webkit-text-fill-color: #3aa774 !important;
    color: #3aa774 !important;
  }

  .status-error, .status-error span {
    -webkit-text-fill-color: #a73a3a !important;
    color: #a73a3a !important;
  }

  .status-pending, .status-pending span {
    -webkit-text-fill-color: #57369f !important;
    color: #57369f !important;
  }
}

ul {
  list-style: none;
  -webkit-padding-start: 0;
  padding-inline-start: 0;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

.pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ece3ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-header {
  position: absolute;
  top: 30px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
}

.current-time {
  font-size: 18px;
  color: #5c3aa7;
}

.Dashlogo {
  width: 100px;
}

.spinnerDash {
  width: 80px;
  height: 80px;
  border: 5px solid #d1bbff;
  border-top: 5px solid #5c3aa7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  margin-top: 20px;
  font-size: 20px;
  color: #5c3aa7;
}

.loader-footer {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-info a {
  color: #5c3aa7;
  text-decoration: none;
  margin: 5px 0;
}

.contact-info a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 14px;
  color: #5c3aa7;
  display: flex;
}

.copyright span {
  align-self: flex-end;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.main_layerDash {
  display: none;
}

.fixed_top {
  background-color: #9776dd;
  position: fixed;
  z-index: 3;
  width: 100%;
  box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .05);
}

.fixed_top_wrapper {
  padding-inline: 20px;
  display: flex;
  align-items: center;
  padding-block: 20px;
}

.profil_box {
  display: flex;
  align-items: center;
}

.profil_img {
  width: 70px;
}

.search_box {
  background-color: #ffffff;
  min-width: 450px;
  align-items: center;
  padding: 0px 15px;
  height: 40px;
  border-radius: 10px;
  margin-left: 160px;
  display: flex;
}

.search_icon {
  width: 15px;
  margin-top: 3px;
}

#search_input {
  background: none;
  border: none;
  font-family: "Raleway";
  width: 100%;
  margin-left: 10px;
  font-size: 15px;
}

#search_input:focus {
  border: none;
  outline: none;
}

.svclient {
  width: 20px;
}

.svc_text{
  color: #50358C;
}

.svc_text:hover {
  color: white;
  cursor: pointer;
}

.service_client {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border-radius: 10px;
}

.service_client .logout-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(100%);
}

.service_client:hover {
  cursor: pointer;
  background: #50358C;
  color: white;
}

.top_links {
  margin-left: auto;
  display: flex;
}

.service_client+.service_client {
  margin-left: 30px;
}



.profile_name {
  font-size: 15px;
  text-transform: uppercase;
  margin-left: 8px;
}

.main_dash {
  display: flex;
  height: 100vh;
}

.dash_left_wrapper {
  padding-inline: 20px;
}

.dash_left {
  background-color: #7b5eb8;
  min-width: 250px;
  height: 100vh;
  position: fixed;
}

.main_links {
  margin-top: 130px;
}

.links_title {
  font-size: 17px;
  color: #ffffff;
  font-weight: 400;
  padding-inline: 20px;
}

.home_illu {
  width: 20px;
}

.homebtn {
  margin-top: 20px;
  align-items: center;
  display: flex;
  padding-block: 10px;
  padding-inline: 20px;
  width: 100%;
}

.btn_title {
  font-size: 15px;
  color: #ffffff;
  margin-left: 10px;
}

.homebtn:hover {
  background-color: #9776dd;
}

.homebtn+.homebtn {
  margin-top: 0;
}

a.homebtn {
  color: #333;
  text-decoration: none;
}

.new_msg {
  background-color: #ffffff;
  padding: 5px 10px;
  font-size: 10px;
  margin-left: 30px;
  border-radius: 5px;
  color: #5c3aa7;
}

.settings_title {
  font-size: 17px;
  font-weight: 400;
  margin-top: 50px;
  padding-inline: 20px;
  color: #ffffff;
}

.dash_right {
  /*! position: relative; */
  z-index: 1;
  margin-left: 250px;
  margin-top: 75px;
}

.dash_right_wrapper {
  padding-inline: 40px;
  padding-top: 50px;
}

.name_title {
  font-size: 25px;
  font-weight: 600;
}

.solde_process {
  padding-bottom: 15px;
  margin-top: 30px;
  display: flex;
  overflow: auto;
  color: white;
}

.solde_liste {
  flex: 0 0 33.3333333333%;
  padding: 15px 30px;
  text-align: center;
  font-size: 50px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background-color: #9776dd;
}

.solde_list_titre {
  font-size: 15px;
  font-weight: 600;
}

.ligne_solde {
  margin-top: 10px;
  color: #f0e6ff;
}

.procedure_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.plus_icon {
  width: 20px;
}

.pro_illu {
  width: 30px;
}

.pro_profil_box {
  display: flex;
  align-items: center;
}

.client_titre {
  font-size: 15px;
  margin-left: 10px;
  font-weight: 600;
}

.client_state {
  font-size: 12px;
  font-weight: 400;
}

.titre_process {
  padding-top: 10px;
  font-size: 15px;
}

.credit_solde {
  font-size: 13px;
  padding-top: 10px;
}

.no_process {
  margin-top: 10px;
  text-align: center;
}

.no_process_title {
  font-size: 17px;
  font-weight: 400;
}

.credit_process {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newProcess {
  padding: 10px 15px;
  background: #ffffff;
  color: #57369f;
  font-size: 15px;
  margin-top: 15px;
  border-radius: 5px;
}

.clock-loader {
  --clock-color: #000000;
  --clock-width: 3rem;
  --clock-radius: calc(var(--clock-width) / 2);
  --clock-minute-length: calc(var(--clock-width) * 0.4);
  --clock-hour-length: calc(var(--clock-width) * 0.2);
  --clock-thickness: 0.2rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--clock-width);
  height: var(--clock-width);
  border: 3px solid var(--clock-color);
  border-radius: 50%;

  &::before,
  &::after {
    position: absolute;
    content: "";
    top: calc(var(--clock-radius) * 0.25);
    width: var(--clock-thickness);
    background: var(--clock-color);
    border-radius: 10px;
    transform-origin: center calc(100% - calc(var(--clock-thickness) / 2));
    animation: spin infinite linear;
  }

  &::before {
    height: var(--clock-minute-length);
    animation-duration: 2s;
  }

  &::after {
    top: calc(var(--clock-radius) * 0.25 + var(--clock-hour-length));
    height: var(--clock-hour-length);
    animation-duration: 15s;
  }
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.top_10 {
  margin-top: 15px;
}

.top_20 {
  margin-top: 30px;
}

.btn_alimenter,
.btn_contrat {
  background-color: #ffffff;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 5px;
  font-size: 15px;
  color: #5c3aa7;
  /* Fix pour iPhone - empêcher les styles par défaut iOS */
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid #5c3aa7;
  /* Force la couleur du texte sur iOS */
  -webkit-text-fill-color: #5c3aa7;
}

.btn_alimenter:hover,
.btn_contrat:hover,
.newProcess:hover {
  background-color: #5c3aa7;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.no_transfert {
  padding: 40px 0px 50px;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  font-style: italic;
  color: #ffffff;
}

.mt_solde {
  text-align: center;
  font-size: 50px;
}

.mt_titre {
  font-size: 15px;
  text-align: center;
  padding-top: 5px;
}

.team {
  width: 150px;
  align-self: center;
}

.marge_left {
  margin-left: 30px;
}

.historique {
  margin-top: 50px;
}

.historique_title {
  font-size: 25px;
  font-weight: 600;
}

.histo_table {
  width: 100%;
  color: #ffffff;
}

.trans_histo_table {
  color: #000000;
  width: 100%;
  margin-top: 20px;
}

.py-1 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.tableau_head {
  text-align: left;
  background-color: #5d38aa;
  border-bottom: 1px solid;
  color: #ffffff;
}

.historique_container {
  margin-top: 30px;
  border-radius: 10px;
  background-color: #5d38aa;
}

.sender_pro {
  display: flex;
  align-items: center;
}

.sender {
  width: 30px;
  height: 30px;
}

.img_send {
  margin-right: 10px;
}

.statut_transfert {
  padding: 5px 10px;
  background-color: #ffffff;
  color: #5c3aa7;
  border-radius: 15px;
}

.statut_hist {
  background-color: #5c3aa7;
  color: #ffffff;
}

.btm_ligne {
  border-bottom: 1px solid;
}

.btm_ligne:hover {
  background-color: #9776dd;
}

.astuces {
  margin-top: 50px;
}

.astuces_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.manager {
  width: 300px;
  margin-left: 50px;
}

.astuces_title {
  font-size: 25px;
  font-weight: 600;
  max-width: 300px;
}

.list_astuces {
  margin-top: 50px;
}

.astuces_item {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}

.starr {
  width: 15px;
  height: 15px;
}

.astuces_text {
  margin-left: 10px;
  font-size: 17px;
}

.epargne {
  color: #5c3aa7;
  text-decoration: underline;
}

.astuces_display,
.pub_flex {
  display: flex;
}

.pub_flex {
  align-items: center;
}

.pub {
  background-color: #9776dd;
  padding: 15px 20px 30px;
  min-width: 400px;
  margin-top: 50px;
  margin-left: auto;
  border-radius: 10px;
  height: fit-content;
}

.pub_illu {
  width: 200px;
}

.pub_illu+.pub_illu {
  width: 80px;
  height: 50px;
  margin-left: auto;
}

.alimenterBtn {
  background-color: #ffffff;
  padding: 10px 15px;
  font-family: "Raleway";
  font-size: 17px;
  margin-top: 50px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.bottom {
  margin-bottom: 30px;
}

.alimenterBtn:hover {
  background-color: #5c3aa7;
  color: #ffffff;
}

.relier_comptes,
.epargne_container,
.aide_contact {
  margin-top: 70px;
}

.relier_titre {
  font-size: 25px;
  max-width: 500px;
}

.relier_text {
  padding-top: 15px;
  max-width: 400px;
  font-size: 17px;
  font-weight: 300;
}

.savoir_plus {
  margin-top: 20px;
  text-decoration: underline;
  font-style: italic;
  color: #5c3aa7;
}

.relier_list {
  margin-top: 30px;
  display: flex;
}

.relier_item {
  background-color: #9776dd;
  flex: 0 0 33.3333333333%;
  padding: 15px 20px;
  text-align: center;
  border-radius: 10px;
  margin-right: 20px;
  max-width: 350px;
}

.step_1 {
  width: 100px;
}

.item_title {
  padding-top: 20px;
  font-size: 20px;
  color: #ffffff;
}

.item_text {
  padding-top: 20px;
  padding-inline: 20px;
  color: #ffffff;
}

.demarcheBtn {
  padding: 10px 15px;
  background-color: #9776dd;
  color: #ffffff;
  border-radius: 10px;
  margin-top: 30px;
  font-family: "Raleway";
  font-size: 17px;
  font-weight: 500;
}

.demarcheBtn:hover,
.epargneBtn:hover {
  background-color: #5c3aa7;
}

.epargne_cont_flex {
  display: flex;
  align-items: center;
}

.epargne_img {
  margin-left: 50px;
}

.epargne_illus {
  width: 250px;
}

.epargneBtn {
  padding: 10px 15px;
  background-color: #9776dd;
  color: #ffffff;
  margin-top: 30px;
  font-family: "Raleway";
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
}

.aide_contact {
  display: flex;
}

.aide_left {
  background-color: #5d38aa;
  padding: 20px 45px;
  border-radius: 10px 0px 0px 10px;
  width: 100%;
  display: flex;
  align-items: center;
}

.help {
  width: 100%;
}

.aide_right {
  padding: 20px 30px;
  background-color: #9776dd;
  border-radius: 0px 10px 10px 0px;
  width: 100%;
}

.aide_title {
  font-size: 25px;
  color: #ffffff;
}

.aide_text {
  font-size: 17px;
  padding-top: 10px;
  color: white;
}

.aide_form {
  margin-top: 30px;
}

#msg {
  border: none;
  padding: 10px 15px;
  width: 100%;
  font-size: 15px;
  font-weight: 300;
  font-family: "Raleway";
  min-height: 100px;
  border-radius: 10px;
}

#msg:focus {
  outline: none;
  border: none;
}

.aide_btn_box {
  display: flex;
  margin: 20px 0;
}

.sendMsgBtn {
  background-color: #ffffff;
  padding: 10px 15px;
  font-family: "Raleway";
  font-size: 16px;
  border-radius: 5px;
  color: #5c3aa7;
}

.sendMsgBtn:hover {
  background: #50358C;
  color: white;
}

.serviceBtn {
  padding: 10px 15px;
  border-radius: 10px;
  border: solid 1px #ffffff;
  color: #ffffff;
  font-family: "Raleway";
  font-size: 16px;
  margin-left: 15px;
}

.serviceBtn a{
  color: #ffffff;
}

.aide_contact p {
  color: #ffffff;
}

.serviceBtn:hover {
  border: none;
  background-color: #ffffff;
  color: #000000;
}

.info_mail {
  margin-top: 10px;
}

.info_mail a {
  color: #270e5f;
  text-decoration: underline;
}

.dash_foot {
  padding-top: 70px;
  text-align: center;
  padding-inline: 100px;
}

.foot_copy {
  padding-top: 15px;
  margin-bottom: 30px;
}

.hide_section {
  display: none;
}

.btnBg {
  background-color: #57369f;
}

.factures_text {
  padding: 10px 0;
  max-width: 400px;
  font-size: 14px;
}

.sousSection_forgotback{
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 5px;
  margin: 20px 0;
}

.sousSection_forgotback:hover {
  background-color: #9776dd;
  color: white;
  border: none;
}
.form_width {
  width: 50%;
}

.new_transfert,
.transRetour,
.AlimenterRetour,
.methodRetour,
.new_demande,
.ajoutBtn {
  display: flex;
  align-items: center;
  margin-top: 30px;
  font-family: "Raleway";
  font-size: 17px;
  background: #50358C;
  padding: 15px 20px;
  border-radius: 5px;
  color: white;
}


.new_demande:hover,
.transRetour:hover,
.AlimenterRetour:hover,
.methodRetour:hover,
.new_transfert:hover,
.ajoutBtn:hover {
  padding: 15px 20px;
  background: #9776dd;
}

.new_transfert p,
.transRetour p,
.AlimenterRetour p,
.methodRetour p {
  margin-left: 5px;
}

.trans_top {
  width: 200px;
}

.trans_donnees {
  width: 30px;
  margin: 0 20px;
}

.transferts_top_illustration {
  margin-left: 100px;
}

.newPlus {
  width: 20px;
}

.transferts_factures {
  margin-top: 50px;
  display: flex;
}

.trans_hist {
  width: 20px;
}

.transHist {
  display: flex;
  align-items: center;
  padding: 15px;
  font-size: 16px;
  font-family: "Raleway";
  color: white;
  background: #50358C;
}

.transHist p,
.factureHist p {
  margin-left: 10px;
}

.factureHist {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  font-size: 17px;
  font-weight: 500;
  font-family: "Raleway";
  margin-left: 0px;
}

.ligne {
  background-color: #9776dd;
  height: 2px;
  width: 100%;
}

.btn_bg {
  background-color: #9776dd;
}

.btn_bg_new {
  background: none;
}

.transfert_buttons {
  margin-top: 20px;
}

.transExt {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 20px;
  font-size: 17px;
  font-family: "Raleway";
}

.transEntre {
  display: none;
}

.ext {
  width: 20px;
}

.extText {
  margin-left: 10px;
}

.transEntre:hover,
.transExt:hover {
  background-color: #9776dd;
}

.new_transfert_container,
.ajoutForm,
.compte_transfert_container {
  margin-top: 30px;
}



.ajouText {
  margin-left: 5px;
}

.ajoutTitle,
.ajoutForm_title {
  font-size: 20px;
  font-weight: 700;
}

.beneficiaire_cont {
  margin: 20px 0;
}

.benef_compte {
  width: 40px;
}

.benef_box,
.benef_pro,
.compte_box {
  display: flex;
  align-items: center;
}

.benef_name {
  font-size: 17px;
  font-weight: 600;
}

.benef_name_box {
  margin-left: 10px;
  text-align: left;
}

.benef_name+.benef_name {
  font-size: 14px;
  font-weight: 400;
  padding-top: 5px;
}

.benef_box,
.compte_box {
  padding: 10px 15px;
  background-color: #2d7f77;
  color: #ffffff;
  min-width: 400px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.benef_box_yellow {
  background: none;
  border: 2px solid #5c3aa7;
  color: #5c3aa7;
}

.transfertPrincipalText {
  margin-bottom: 20px;
  font-size: 15px;
  padding: 10px 15px;
  text-align: center;
  border-radius: 10px;
  background-color: #ffc69b;
}

.active_benef {
  background-color: #1b534d;
}

.active_benef_yellow {
  background-color: #d3c2f8;
}

.benef_box:hover,
.compte_box:hover {
  background-color: #1b534d;
}

.benef_box_yellow:hover {
  background-color: #d3c2f8;
}

.transfertSubmittedContainer {
  text-align: center;
}

.transfertSubmitted {
  width: 50px;
}

.transfertSubmittedText {
  font-size: 17px;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

.transfertSubmitteDetails {
  font-size: 15px;
  font-weight: 400;
  margin-top: 10px;
}

.purple {
  color: #5c3aa7;
}

.transfertSubmitteDoc {
  display: flex;
  align-items: center;
  margin-top: 10px;
  text-align: center;
}

.transfertSubmitteDocText {
  font-size: 15px;
  font-weight: 400;
}

.documentBtn {
  margin-left: 5px;
  font-size: 15px;
  color: #5c3aa7;
  text-decoration: underline;
}

.btnFermerTrans,
.btnFermerPrincipal,
.btnFermerEpargne {
  background: #5c3aa7;
  padding: 10px 15px;
  font-size: 15px;
  margin-top: 20px;
  border-radius: 10px;
  color: #ffffff;
}

.btnFermerTrans:hover,
.btnFermerPrincipal:hover,
.btnFermerEpargne:hover {
  background: #9776dd;
}

.sendImg {
  margin-left: auto;
}

.share_trans,
.step,
.saveImg {
  width: 20px;
}

.ajoutForm_text {
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 40px;
  max-width: 400px;
}

.formStep {
  display: flex;
  align-items: center;
}

.stepText {
  font-size: 18px;
  font-weight: 700;
}

.ajoutFormBox {
  max-width: 500px;
  padding-top: 30px;
}

.nomPrenom {
  padding-top: 10px;
}

.nomPrenom+.nomPrenom {
  padding-top: 20px;
}

.formName {
  font-size: 16px;
}

#nomPrenom,
#banqueSelct {
  background: #d3bfff;
  padding: 10px 15px;
  font-family: "Raleway";
  font-size: 15px;
  width: 100%;
  border: none;
  margin-top: 15px;
  border-radius: 10px;
}

#nomPrenom:focus,
#montant:focus,
#banqueSelect:focus,
#motif:focus,
#passwords:focus {
  outline: none;
  border: none;
}

#montant,
#nomPrenom,
#email,
#telephone,
#domiciliation,
#nomCompte,
#iban,
#motif,
#passwords {
  background: #d3bfff;
  padding: 10px 15px;
  font-family: "Raleway";
  font-size: 15px;
  width: 100%;
  border: none;
  border-radius: 10px;
}

.custom-input {
  background: #d3bfff;
  padding: 10px 15px;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  width: 100%;
  border: none;
  border-radius: 10px;
  outline: none;
  /* Supprime la bordure bleue lors du focus */
}

.offAuto {
  -webkit-text-security: disc;
  -webkit-text-security: disc;
}



.top_30 {
  margin-top: 50px;
}

.saveBenef {
  margin-top: 40px;
  background-color: #5c3aa7;
  color: #ffffff;
  align-items: center;
  display: flex;
  border-radius: 10px;
  padding: 10px 15px;
}

.saveText {
  margin-left: 10px;
  font-size: 17px;
  font-weight: 600;
}

.newForm,
.compteForm {
  max-width: 400px;
  padding: 0px 20px 20px 20px;
  margin-bottom: 40px;
}

.sendMoneyBtn {
  margin-top: 10px;
}

.sendMoney,
.resetMoney {
  padding: 10px 15px;
  color: #ffffff;
  background-color: #3aa774;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
}

.resetMoney {
  margin-left: auto;
  background-color: #a73a3a;
}

.sendMoneyBtn {
  display: flex;
  align-items: center;
}

.benef_box[aria-expanded="true"] .sendImg {
  transform: rotate(90deg);
  transition: .2s all ease-in-out;
}

.spinner_container,
.spinner_container_success {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 10px;
  overflow: hidden;
  text-align: center;
}

.annulText {
  color: red;
}

.spinner-6 {
  width: 50px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1;
  display: grid;
  mask: conic-gradient(from 15deg, #0000, #000);
  animation: s6 1s infinite steps(12);
}

.spinner-6,
.spinner-6:before,
.spinner-6:after {
  background:
    radial-gradient(closest-side at 50% 12.5%,
      #5c3aa7 96%, #0000) 50% 0/20% 80% repeat-y,
    radial-gradient(closest-side at 12.5% 50%,
      #5c3aa7 96%, #0000) 0 50%/80% 20% repeat-x;
}

.spinner-6:before,
.spinner-6:after {
  content: "";
  grid-area: 1/1;
  transform: rotate(30deg);
}

.spinner-6:after {
  transform: rotate(60deg);
}

.spinner-text {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.spinner-desc {
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
  font-weight: 400;
}

.spinner-desc+.spinner-desc {
  margin-top: 10px;
}

.spinner-span {
  color: #57369f;
}

.btnAnnulerPymt,
.btnRePymt {
  background: #5d38aa;
  color: #ffffff;
  padding: 10px 15px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
}

.btnAnnulerPymt:hover,
.btnRePymt:hover {
  background: #9776dd;
  color: #000000;
}

.black_box {
  padding: 20px 30px;
  margin-top: 40px;
  width: 100%;
  height: 100%;
  font-size: 20px;
  font-weight: 600;
  background-color: #000000;
  color: #ffffff;
}

.red {
  color: #ff0000;
  font-weight: 500;
}

.newBenefAdded,
.existBenef {
  background-color: #c6ffd3;
  border: 2px solid #3EB95B;
  padding: 15px 20px;
  text-align: center;
  margin-bottom: 30px;
}

.existBenef {
  background-color: #ffc6c6;
  border: 2px solid #E40101;
}

.middleWrapper {
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  display: flex;
  width: fit-content;
}

.verifier {
  width: 30px;
}

.newBenefAddedText {
  margin-left: 20px;
  font-size: 17px;
  font-weight: 500;
}

.donnees {
  margin-top: 20px;
  background: #9776dd;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
}

.code,
.save,
.mdp_modify {
  margin-top: 20px;
  background: #9776dd;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
}

.back,
.code_back,
.final_back,
.sousSection_modifyback,
.close_page {
  margin-top: 10px;
  margin-bottom: 20px;
  background: none;
  border: 1px solid black;
  color: black;
  padding: 10px 20px;
  border-radius: 5px;
}

.donnees:hover,
.code:hover,
.back:hover,
.save:hover,
.code_back:hover,
.final_back:hover,
.sousSection_modifyback:hover,
.mdp_modify:hover,
.close_page:hover {
  background: #270e5f;
  cursor: pointer;
  color: white;
}

.display {
  display: flex;
  justify-content: space-between;
}

.resend {
  background: none;
  border: none;
  color: #3d2671;
}

.resend:hover {
  text-decoration: underline;
}

@keyframes s6 {
  100% {
    transform: rotate(1turn)
  }
}

/* === NOUVEAUX CONTENEURS D'ALIMENTATION - Même design que spinner_container_success === */
.spinner_container_retry,
.spinner_container_code,
.spinner_container_auth {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 10px;
  overflow: hidden;
  text-align: center;
}

/* Textes dans les nouveaux conteneurs - Même style que .spinner-text */
.spinner_container_retry .spinner-text,
.spinner_container_code .spinner-text,
.spinner_container_auth .spinner-text {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* Descriptions - Même style que .spinner-desc */
.spinner_container_retry .spinner-desc,
.spinner_container_code .spinner-desc,
.spinner_container_auth .spinner-desc {
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
  font-weight: 400;
}

/* Bouton retry - Même style que btnAnnulerPymt */
.btnRetryPayment {
  background: #5d38aa;
  color: #ffffff;
  padding: 10px 15px;
  margin-top: 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.btnRetryPayment:hover {
  background: #9776dd;
  color: #000000;
}

/* Bouton submit code */
.btnSubmitCode {
  background: #5d38aa;
  color: #ffffff;
  padding: 10px 15px;
  margin-top: 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.btnSubmitCode:hover {
  background: #9776dd;
  color: #000000;
}

/* Input code */
#security_code {
  width: 100%;
  max-width: 300px;
  padding: 12px;
  margin-top: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 2px;
}

#security_code:focus {
  outline: none;
  border-color: #5d38aa;
}

.section_alimenter {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none; /* Caché par défaut */
  flex-direction: column;
  overflow: hidden auto;
  left: 250px;
  top: 80px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.section_alimenter.active {
  display: flex;
}

.section_alimenter::before {
  content: "";
  display: block;
  background: hsla(0, 0%, 15%, 0.532);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: -1;
  position: fixed;
  left: 250px;
  top: 80px;
  bottom: 0;
  right: 0;
}

.alimenter_container {
  max-width: 650px;
  width: 100%;
  background: #ffffff;
  flex-grow: 1;
  flex: 1 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin: auto;
}

.alimenter_top {
  background: #9776dd;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 50px;
}

.alimenter_top_img {
  width: 30px;
}

.alimenter_title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-left: 10px;
}

.close_depot {
  background: #ffffff;
  padding: 5px;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.close_depot:hover {
  background-color: #5c3aa7;
}

.closeFenetre {
  width: 20px;
}

.alimenter_box_illu {
  padding-inline: 15px;
  display: flex;
  align-items: center;
}

.alimenterBoxLeft {
  padding-right: 30px;
  max-width: 70%;
}

.alimenterBoxTitle {
  font-size: 25px;
  font-weight: 300;
  margin: 20px 0;
}

.alimenterBoxText {
  padding-top: 10px;
  font-size: 17px;
}

.alimenterBoxRight {
  margin-left: auto;
}

.mascotte {
  width: 80px;
}

.offre_plus {
  text-decoration: underline;
  color: #5c3aa7;
  padding-top: 20px;
  font-style: italic;
}

.chooseCompte,
.managCard {
  padding-top: 20px;
  padding-inline: 15px;
}

.chooseCompteTop {
  width: 100%;
  height: 15px;
  border-top: #000 solid 1px;
  border-right: #000 solid 1px;
  border-left: #000 solid 1px;
}

.chooseCompteTitle {
  font-size: 20px;
  padding-top: 10px;
}

.comptePrincipal,
.carteDebit {
  background: #5c3aa7;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #ffffff;
  margin-bottom: 30px;
  border-radius: 10px;
}

.carteDebit {
  background: none;
  border: #000 solid 1px;
  color: #000;
  margin-bottom: 0;
}

.carteDebit:hover {
  background: #e6daff;
  border: none;
}

.comptePrincipal:hover {
  background: #9776dd;
}

.nameStatus {
  margin-left: 20px;
}

.depotBanque {
  width: 30px;
}

.nextStep {
  width: 30px;
  margin-left: 50px;
}

.nameBanque,
.cardHolder {
  font-size: 17px;
  color: #000000;
}

.nomBenef{
  font-size: 17px;
  color: #ffffff;
}

.chooseFooter {
  margin-top: auto;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-inline: 15px;
  overflow: hidden;
  font-size: 13px;
}

.payment_method_container {
  padding: 20px 15px;
}

.method_box {
  display: flex;
  align-items: center;
  background-color: #e5d8ff;
  padding: 10px 15px;
}

.payment_method_title {
  font-size: 18px;
  font-weight: 500;
}

.method_cards {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.visacard {
  width: 50px;
}

.visacard+.visacard {
  width: 30px;
  margin-left: 10px;
}

.ajouterCarte,
.gestionCarte {
  display: flex;
  align-items: center;
}

.ajouterCarte p,
.gestionCarte p {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0px;
}

.ajouterCarte:hover,
.gestionCarte:hover {
  border-bottom: #000 solid 1px;
}



.methodForm {
  margin-top: 20px;
  position: relative;
}

.FormCardTitle {
  font-size: 16px;
  font-weight: 500;
}

#number,
#numberSaved,
#month,
#cvv,
#cardType,
#cardName {
  border: #000 solid 1px;
  background: none;
  margin-top: 10px;
  padding: 10px 15px;
  font-family: "Raleway";
  font-size: 15px;
  border-radius: 5px;
  width: 100%;
}

#number:focus,
#numberSaved:focus,
#month:focus,
#cvv:focus,
#cardName:focus {
  outline: none;
  background-color: #e6daff;
}

.monthYear {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
}

.methodFormCardNum {
  margin-top: 20px;
}

.nextAlimenter {
  background-color: #9776dd;
  padding: 10px 15px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  font-size: 17px;
  width: 100%;
}

.nextAlimenter:hover {
  background-color: #d3bfff;
}

.login_logo {
  overflow: hidden;
}

.main_login {
  display: flex;
  align-items: center;
}

.login_left {
  background-image: url("../images/login_left_bg.png");
  background-color: #cccccc;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 610px;
  width: 100%;
}

.login_left_wrapper {
  padding: 20px 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.login_img {
  width: 120px;
}

.login_illus {
  margin-top: auto;
  overflow: hidden;
}

.login_ill {
  width: 100%;
}

.login_text_box {
  margin-top: auto;
  width: 100%;
  font-size: 25px;
  font-weight: 600;
  overflow: hidden;
}

.all_stars {
  margin-top: 15px;
  width: 100px;
}

.login_right {
  background-color: #eae0ff;
  padding: 20px 30px;
  width: 100%;
  height: 100vh;
}

.connecter_box {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  padding-top: 15%;
  width: 100%;
}

.connecter_title,
.register_title {
  font-family: Marcellus;
  font-size: 25px;
  font-weight: 600;
}

.login_form,
.register_form,
.password_form {
  margin-top: 20px;
}

#login_email,
#password,
#signup_email,
#signup_nom,
#signup_prenom,
#confirm_password,
#register_email {
  width: 100%;
  padding: 10px 15px;
  height: 50px;
  border-radius: 10px;
  font-family: "Raleway";
  font-size: 17px;
  border: none;
  background: #dac9fe;
}

#login_email:focus,
#password:focus,
#signup_email:focus,
#signup_nom:focus,
#signup_prenom:focus,
#confirm_password:focus,
#register_email:focus {
  outline: none;
  border: 1px solid #9776dd;
}

.nextLogin {
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 10px;
  color: #ffffff;
  width: 100%;
  background-color: #5c3aa7;
  margin-top: 30px;
}

.nextLogin:hover {
  background-color: #321374;
}

.new_compte_login {
  display: flex;
  margin-top: 30px;
}

.new_compte_text {
  font-size: 17px;
}

.newRegister,
.newLogin {
  font-size: 17px;
  margin-left: 10px;
  padding-bottom: 5px;
  color: #606060;
  border-bottom: 2px solid #d1c7e5;
}

.newRegister:hover,
.newLogin:hover {
  border-bottom: 2px solid #2f2dd6;
}

.conditions {
  margin-top: 30px;
  font-size: 17px;
  line-height: 30px;
}

.blue {
  color: #514ee9;
}

.blue:hover {
  color: #000;
}

.text-danger {
  color: #e72323;
  margin-top: 10px;
}

.password-requirements {
  font-size: 11px;
  color: #666;
  opacity: 0.7;
  margin-top: 8px;
  margin-bottom: 5px;
  line-height: 1.6;
}

.statut {
  display: none;
}

.email_input {
  display: flex;
  position: relative;
}

.donnee_input {
  position: relative;
}

#toggler,
#toggler2,
.password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 22px;
  z-index: 10;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  opacity: 0.7;
  line-height: 1;
}

#toggler:hover,
#toggler2:hover,
.password-toggle:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.cardError,
.mdpEpargneError,
.montantEpargneError,
.mdpTransError,
.motifTransError,
.montantTransError,
.numError,
.monthError,
.cvvError,
.typeError,
.existCard,
.montantError,
.codeError,
.nomError,
.mailError,
.telError,
.domicileError,
.compteError,
.ibanError,
.existError {
  padding-top: 5px;
  font-size: 15px;
  color: #e80404;
}

#overlay {
  position: absolute;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}

.alimenter_final_form {
  margin-top: 20px;
}

#montant_alimenter {
  padding: 15px 10px;
  max-width: 326.95px;
  border: none;
  background-color: #e6daff;
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  font-family: "Raleway";
}

#code_alimenter_1{
  padding: 15px 10px;
  max-width: 326.95px;
  border: none;
  background-color: #e6daff;
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  font-family: "Raleway";
}

.montant_box {
  display: flex;
  justify-content: space-between;
  max-width: 326.95px;
}

#montant_end {
  width: 100%;
  padding: 15px 10px;
  border: none;
  background-color: #e6daff;
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  font-family: "Raleway";
}

.devise {
  padding: 15px 25px;
  margin-left: 20px;
  background-color: #9776dd;
  border-radius: 10px;
  font-size: 18px;
}

#montant_alimenter:focus,
#montant_end:focus {
  border: 1px solid #000000;
  outline: #7b5eb8;
}

.finalAlimenter,
.finalAlimenterReset {
  padding: 10px 25px;
  background: #5c3aa7;
  color: #ffffff;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 16px;
}

.finalAlimenterReset {
  display: none;
}

.finalAlimenterReset:hover,
.finalAlimenter:hover {
  background: #9776dd;
}

.validerPymtCont {
  max-width: 326.95px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.montant_alimenter_cont+.montant_alimenter_cont {
  margin-top: 10px;
}

.hide_input {
  display: none;
}

.debitColor {
  border: #5c3aa7 2px solid;
}

.debitColor:hover {
  background: none;
  border: #5c3aa7 2px solid;
}

.arrow_rotation {
  rotate: 90deg;
}

.validate {
  text-align: center;
}

.validation {
  width: 100px;
}

.messagerie_profil_top {
  background-color: #aa86f9;
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  height: fit-content;
  margin-left: auto;
  width: 100%;
}

.teamContainer {
  width: 40%;
  margin-left: 30px;
}

.teamMembers {
  background-color: #aa86f9;
  margin-top: 30px;
  border-radius: 10px;
  padding: 10px 20px;
}

.teamMembersTop {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
  border-bottom: solid 1px #8364c6;
}

.teamMembersTitle {
  font-size: 16px;
  font-weight: 600;
}

.teamMembersTitle+.teamMembersTitle {
  font-size: 13px;
  font-weight: 400;
  margin-top: 5px;
}

.teamMembersTopIllus {
  margin-left: auto;
}

.teamMembersTopImg {
  width: 40px;
}

.profile {
  display: flex;
  align-items: center;
}

.avatar {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 50px;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #5c3aa7;
}

.status {
  position: absolute;
  bottom: 4px;
  right: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #5c3aa7;
}

.status.active {
  background-color: rgb(108, 255, 108);
}

.status.inactive {
  background-color: red;
}

.messagerie_name_container {
  margin-left: 10px;
}

.messagerie_name {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.messagerie_poste {
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
  color: #000000;
}

.new_message {
  padding: 5px 10px;
  background-color: #5c3aa7;
  color: #ffffff;
  margin-left: 100px;
  height: fit-content;
  border-radius: 50%;
}

.day {
  margin-right: 20px;
}

.time-container {
  display: flex;
  align-items: center;
  background-color: #5c3aa7;
  padding: 10px 15px;
  border-radius: 10px;
  color: #ffffff;
  margin-left: auto;
}

.messagerie_chat_container {
  display: flex;
}

.messagerie_chat {
  background-color: #aa86f9;
  padding: 15px 15px;
  border-radius: 10px;
  width: 60%;
}

.chat_profil {
  background-color: #ffffff;
  border-radius: 10px;
  text-align: center;
  padding: 10px 15px;
}

.chat_profil_picture {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.avatar_container {
  display: flex;
  align-items: center;
}

.avatar_name {
  margin-left: 20px;
}

.avatar_name_title {
  font-size: 16px;
  font-weight: 600;
}

.avatar_name_poste,
.avatar_name_email {
  font-size: 13px;
  margin-top: 5px;
  text-align: left;
}

.profilCall,
.profilMore {
  background-color: #ffffff;
  padding: 5px 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.profilMore {
  margin-left: 20px;
}

.profilMore:hover,
.profilCall:hover {
  background-color: #ceb9ff;
}

.callImg {
  width: 20px;
}

.avatar_buttons {
  display: flex;
  margin-left: auto;
}

.close_avatar {
  padding: 5px;
}

.closeAvatar {
  width: 30px;
}

.chat_history {
  margin-top: 20px;
  padding: 20px 15px;
  height: 380px;
  border-radius: 10px;
  background: #5c3aa7;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.chiffrement {
  padding: 10px 15px;
  width: fit-content;
  background-color: #927cc1;
  color: #f0d574;
  max-width: 200px;
  font-size: 10px;
  align-self: center;
  text-align: center;
  border-radius: 10px;
  overflow: unset;
}

.chat_history_date {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #ffffff;
  margin-top: 20px;
  overflow: unset;
}

.messages {
  padding: 10px;
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-top: 20px;
  overflow: unset;
}

.received {
  background: #ffffff;
  color: #5c3aa7;
  border-radius: 10px 10px 10px 0px;
  margin-right: 50px;
}

.messages_time {
  font-size: 12px;
  width: fit-content;
  align-self: end;
  padding-top: 5px;
  overflow: unset;
}

.messages_content {
  padding-right: 30px;
  overflow: unset;
}

.sent {
  background-color: #3d2671;
  color: #ffffff;
  align-self: end;
  border-radius: 10px 10px 0px 10px;
}

.sending_container {
  margin-top: 10px;
  background-color: #3d2671;
  padding: 10px 15px;
  border-radius: 10px;
}

.sendMessageInterne {
  display: flex;
  justify-content: center;
}

.messageInputContainer {
  width: 100%;
}

#messageEnvoyer {
  min-height: 40px;
  background: none;
  border: none;
  color: #ffffff;
  font-family: "Raleway";
  font-size: 15px;
  border-bottom: 1px solid #ffffff;
  padding: 5px 10px;
  width: 100%;
}

#messageEnvoyer:focus {
  background: #553a92;
  border-radius: 10px;
  outline: none;
  border: none;
}

.sendMessageInterneBtn {
  background-color: #ffffff;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  padding: 5px 10px;
  width: fit-content;
  margin-left: 30px;
}

.sendMessageImg {
  width: 22px;
  height: auto;
}

.teamMembersItem {
  display: flex;
  align-items: center;
  border-bottom: solid 1px #8364c6;
}

.teamMembersItemProfil {
  display: flex;
  align-items: center;
  padding: 10px 0px;
}

.ItemProfilPic {
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.itemProfilImg {
  width: 100%;
  height: auto;
}

.ItemProfilText {
  margin-left: 10px;
}

.ItemProfilName {
  font-size: 15px;
  font-weight: 500;
}

.ItemProfilName+.ItemProfilName {
  font-size: 12px;
  font-weight: 300;
}

.sendEmailService {
  margin-left: auto;
  height: fit-content;
}

.sendEmailServiceIcon {
  width: 20px;
}

.sendEmailServiceBtn {
  background-color: #ffffff;
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 5px;
}

.sendEmailServiceBtn:hover {
  background-color: #ceb9ff;
}

.sendEmailServiceBtn {
  margin-left: auto;
}

.demandes_container {
  margin-top: 30px;
  background-color: #d9c7ff;
}

.demande_box {
  border-top: 5px solid #5c3aa7;
  padding: 20px 30px;
}

.demande_box_title {
  display: flex;
  align-items: center;
}

.carDemande {
  width: 50px;
  margin-left: 20px;
}

.demande_titre_display {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demande_box_type {
  font-size: 25px;
  font-weight: 600;
}

.new_demande {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.new_demande p {
  margin-left: 10px;
  font-size: 17px;
  font-weight: 600;
}

.demande_box_state {
  font-size: 25px;
  font-weight: 300;
}

.demande_box_montant {
  font-size: 18px;
  font-weight: 300;
  margin-top: 15px;
}

.purple_text {
  color: #5c3aa7;
  font-weight: 600;
  font-style: italic;
}

.dossier_box_container {
  margin-top: 0px;
  padding: 15px 30px;
  padding-bottom: 40px
}

.dossier_state {
  display: flex;
  align-items: center;
  border: solid 3px #d9c7ff;
  border-radius: 10px;
  padding: 15px 20px;
  width: 100%;
}

.dossier_state_img {
  width: 50px;
}

.state_img {
  width: 100%;
}

.dossier_text_cont {
  margin-left: 20px;
}

.dossier_state_text {
  font-size: 16px;
  font-weight: 600;
}

.dossier_textsub {
  font-size: 14px;
  font-weight: 400;
  margin-top: 5px;
}

.dossier_box_head {
  background-color: #ffffff;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.nextImg {
  width: 30px;
}

.decision_date {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  border: 3px solid #d9c7ff;
  border-radius: 10px;
  margin-left: 30px;
  width: 50%;
}

.decision_texts {
  margin-left: 20px;
}

.decision_text_titre {
  font-size: 16px;
  font-weight: 400;
  color: #5c3aa7;
}

.decision_text_date {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 600;
}

.dossier-progress-container {
  position: relative;
  width: 100%;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dossier-progress-bar {
  top: 20px;
  left: 20px;
  height: 5px;
  width: 10%;
  /* Ajuster pour correspondre à la progression */
  background-color: #5c3aa7;
  /* Couleur violette */
  border-radius: 10px;
  transition: width 0.4s ease;
}

.dossier-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.dossier-step {
  text-align: center;
  flex: 1;
  position: relative;
}

.dossier-step-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  background-color: #DFD5F7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  /* Couleur violette */
}

.dossier-step.active .step-icon {
  background-color: #6200ea;
  /* Couleur violette */
  color: #fff;
}

.dossier-step-label {
  font-weight: bold;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

.dossier-step-date {
  margin-top: 5px;
  font-size: 12px;
  color: #999;
}

.dossier-step-description {
  margin-top: 5px;
  font-size: 12px;
  color: #666;
}

.dossier-step::after {
  content: '';
  position: absolute;
  top: 10px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  z-index: -1;
}

.dossier-step.active::after {
  background-color: #6200ea;
}

.dossier-step:last-child::after {
  display: none;
}

.demande_document_form_container {
  margin-top: 30px;
  margin-bottom: 30px
}

.demande_document_head {
  display: flex;
  align-items: center;
}

.alertDoc {
  width: 40px;
}

.demande_document_head_text {
  margin-left: 20px;
  font-size: 20px;
  font-weight: 600;
}

.document-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

.card {
  background-color: #ffffff;
  border: 1px solid #dcd2f8;
  border-radius: 8px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 5px solid #5c3aa7;
}

.card-icon {
  margin-left: auto;
}

.card-header {
  max-width: 70%
}

.card-header p {
  color: #5c3aa7;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: left;
}

.card-header h3 {
  color: #333;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
}

.card-icon img {
  width: 60px;
  height: 60px;
  margin-left: auto;
}

.card-footer {
  margin-top: 20px;
}

.upload-btn {
  background-color: #5c3aa7;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.upload-btn:hover {
  background-color: #9776dd;
}

.card-flex {
  display: flex;
  align-items: center;
}

/* Gestion de la disposition en deux lignes avec 3 cartes sur la première et 2 sur la deuxième */
.document-upload .card:nth-child(3n+1) {
  margin-right: 0;
}

.document-upload .card:nth-child(4) {
  margin-top: 20px;
}

.document-upload .card:nth-child(5) {
  margin-top: 20px;
}

.file-info {
  display: none;
  margin-top: 10px;
  align-items: center;
}

.file-name {
  font-size: 16px;
  color: #333;
  margin-right: 20px;
  max-width: 70%;
  text-align: left;
}

.remove-btn {
  background-color: transparent;
  border: none;
  color: red;
  font-size: 18px;
  cursor: pointer;
}

.remove-btn:focus {
  outline: none;
}

.form-footerDemande {
  width: 100%;
  /* Prend toute la largeur */
  display: flex;
  justify-content: flex-start;
  /* Aligne le bouton à droite */
  margin-top: 40px;
  gap: 40px;
}

.submit-btn,
.cancel-btn {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.submit-btn {
  background-color: #4CAF50;
  /* Couleur du bouton ENVOYER */
  color: white;
  border-radius: 5px;
}

.submit-btn:hover {
  background-color: #45a049;
}

.cancel-btn {
  background-color: #fe4201;
  /* Couleur du bouton ANNULER */
  color: white;
  border-radius: 5px;
}

.cancel-btn:hover {
  background-color: #d32f2f;
}

.detailsDemande {
  margin-top: 50px;
}

.btnAllDetails {
  padding: 15px;
  font-weight: 600;
  background-color: #5c3aa7;
  color: #ffffff;
  font-size: 17px;
  border-radius: 5px;
  width: 100%;
}

.btnAllDetails:hover {
  background-color: #9776dd;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: table;
  table-layout: fixed;
  width: 100%;
  color: #929292;
  height: 5rem;
  /* Assure que la hauteur est suffisante pour le texte et le cercle */
}

.steps>.stepp {
  position: relative;
  display: table-cell;
  text-align: center;
  font-size: 0.875rem;
  color: #6d6875;
  vertical-align: bottom;
  padding-top: 0;
  /* Réinitialiser le padding-top */
  padding-bottom: 2rem;
  /* Ajouter de l'espace en bas pour le cercle */
  vertical-align: top;
  /* Aligner le texte en haut */
}

.steps>.stepp:before {
  content: attr(data-step);
  display: block;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #5c3aa7;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 1.9rem;
  border-radius: 100%;
  position: absolute;
  top: 2rem;
  /* Positionné en haut de la cellule */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-weight: 700;
  font-size: 1rem;
}

.steps>.stepp:after {
  content: "";
  position: absolute;
  display: block;
  background: #5c3aa7;
  width: 100%;
  height: 0.125rem;
  top: 2.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.steps>.stepp:last-child:after {
  display: block;
}

.steps>.stepp.is-complete {
  color: #6d6875;
}

.steps>.stepp.is-complete:before {
  content: "✓";
  color: #5c3aa7;
  background: #fef0e2;
  border: 2px solid #5c3aa7;
}

.steps>.stepp.is-complete:after {
  background: #5c3aa7;
}

.steps>.stepp.is-active {
  font-size: 1.5rem;
}

.steps>.stepp.is-active:before {
  color: #fff;
  border: 2px solid #5c3aa7;
  background: #5c3aa7;
}

.steps>.stepp:first-child:after {
  left: 50%;
  /* La ligne commence au centre du premier cercle */
  width: 50%;
  /* La ligne commence à partir du milieu du premier cercle */
}

.steps>.stepp:last-child:after {
  width: 50%;
  /* La ligne se termine au milieu du dernier cercle */
  left: 0;
  /* La ligne commence à partir du début du dernier cercle */
}

/* Style de l'overlay */
.overlay {
  position: fixed;
  top: 75px;
  left: 250px;
  width: calc(100% - 250px);
  height: calc(100% - 70px);
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  background-color: #f4f4f4;
  margin-bottom: 40px;
  top: 60px;
  width: 60%;
  max-width: 900px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.form-header {
  text-align: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.form-logo {
  max-width: 80px;
  margin-bottom: 10px;
}

.form-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-subtitle {
  font-size: 14px;
  color: #555;
}

.section-title {
  font-size: 18px;
  color: #5c3aa7;
  font-weight: bold;
  margin-top: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.form-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
}

.form-group label {
  font-weight: bold;
  color: #333;
}

/* Mise en valeur de la mensualité */
.highlight-mensualite {
  background: #f0f8ff;
  padding: 10px;
  border-radius: 5px;
  border-left: 4px solid #5c3aa7;
}

.montant-important {
  font-size: 20px;
  font-weight: bold;
  color: #5c3aa7;
}

/* Section échéancier */
.echeancier-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 5px;
}

.btn-echeancier {
  background: linear-gradient(135deg, #5c3aa7, #7a5dc7);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(92, 58, 167, 0.3);
}

.btn-echeancier:not(:disabled):hover {
  background: linear-gradient(135deg, #4a2f87, #5c3aa7);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(92, 58, 167, 0.4);
}

.btn-echeancier:disabled {
  background: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

.btn-echeancier i {
  font-size: 18px;
}

.echeancier-info {
  display: block;
  text-align: center;
  color: #666;
  font-size: 13px;
  font-style: italic;
}

.echeancier-info.success {
  color: #28a745;
  font-weight: 500;
}

.form-footer {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
  color: #666;
}

.close-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
}

.close-overlay:hover {
  color: #ff6666;
}

/* Scroll bar styling for the overlay */
.overlay-content::-webkit-scrollbar {
  width: 10px;
}

.overlay-content::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.overlay-content::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

#donne_email {
  width: 100%;
  padding: 10px 15px;
  height: 50px;
  border-radius: 10px;
  font-family: "Raleway";
  font-size: 17px;
  border: none;
  background: #dac9fe;
  margin-top: 15px;
}

#donne_name,
#donne_firstname {
  width: 100%;
  padding: 10px 15px;
  height: 50px;
  border-radius: 10px;
  font-family: "Raleway";
  font-size: 17px;
  border: none;
  background: #dac9fe;
  margin-top: 15px;
}

#ancien_email,
#nouveau_email,
#champ_code {
  width: 50%;
  padding: 10px 15px;
  height: 50px;
  border-radius: 10px;
  font-family: "Raleway";
  font-size: 17px;
  border: none;
  background: #dac9fe;
  margin-top: 15px;
}

#donne_mdp,
#nouveau_mdp,
#confirmer_mdp {
  width: 100%;
  padding: 10px 15px;
  height: 50px;
  border-radius: 10px;
  font-family: "Raleway";
  font-size: 17px;
  border: none;
  background: #dac9fe;
  margin-top: 10px;
}

.champ_mdp input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 15px;
  }

.champ_email {
  display: flex;
  align-items: center;
}

.champ_name {
  display: flex;
  align-items: center;
}

.champ_mdp {
  width: 100%;
}

.btn_general,
.btn_sousSection {
  display: flex;
  justify-content: space-between;
  background: #dac9fe;
  padding: 20px 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  margin: 20px 0;
}

.btn_sousSection p {
  font-size: 18px;
}

.btn_general p {
  font-size: 20px;
}

.icon_general {
  width: 20px;
}

.section_general {
  display: none;
  /* Masqué par défaut */
  position: absolute;
  /* Superposition relative à son parent */
  top: 0;
  left: 5;
  width: 50%;
  background-color: white;
  /* Fond semi-transparent */
  z-index: 10;
  /* Assure que cette section est au-dessus */
  padding: 20px;
  margin-top: 100px;
  border-radius: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: #000;
}


.close_button {
  top: 10px;
  right: 10px;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  z-index: 1100;
  /* Au-dessus du contenu */
  padding: 10px;
}

.closebuttn {
  top: 10px;
  right: 10px;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  z-index: 1100;
  /* Au-dessus du contenu */
  padding: 10px;
}

.close_button:hover,
.closebuttn:hover {
  color: #ff0000;
  /* Changer la couleur au survol */
  transform: scale(1.1);
  /* Légère augmentation de la taille au survol */
}

.section_profil {
  transition: filter 0.3s ease;
}

.section_profil.blur {
  filter: blur(4px);
}


.section_securite {
  position: absolute;
  top: 0;
  left: 5;
  width: 50%;
  padding: 20px;
  margin-top: 100px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 5px;
  z-index: 2;
  display: none;
  /* Masquée par défaut */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form_mdp {
  margin-top: 20px;
}

.section_securite.active,
.section_general.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#sousSection_mdp,
#sousSection_modify {
  padding-top: 20px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(20px);
}

#sousSection_mdp.active,
#sousSection_modify.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour la sortie */
#sousSection_mdp:not(.active),
#sousSection_modify:not(.active) {
  opacity: 0;
  transform: translateY(-20px);
}

/* Assurer que les sections sont initialement masquées */
#sousSection_modify {
  display: none;
}

/* Transition plus fluide pour l'affichage */
[id^="sousSection_"] {
  will-change: opacity, transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

.sousSection_security {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.sousSection_security.active {
  opacity: 1;
}

.toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #dac9fe;
  padding: 15px 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  margin: 20px 0;
  font-size: 18px;
}

.toggle-btn {
  background-color: #ccc;
  color: #fff;
  border: none;
  border-radius: 15px;
  width: 60px;
  height: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background: #333;
}

.toggle-btn[aria-pressed="true"] {
  background-color: #4caf50 !important;
}

.toggle-btn[aria-pressed="false"] {
  background-color: #ccc !important;
}

.display {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hidden {
  display: none;
  opacity: 0;
}

.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.save {
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.save:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.save.loading::after {
  content: " ...";
  animation: ellipsis 1s infinite;
}

@keyframes ellipsis {
  0% {
    content: " ...";
  }

  33% {
    content: " ..";
  }

  66% {
    content: " .";
  }

  100% {
    content: " ...";
  }
}

/* Animations pour les transitions */
.section-transition {
  transition: opacity 0.3s ease-in-out;
}

.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
}

/* Assurez-vous que toutes les sections ont un z-index approprié */
.section_home,
.section_transferts,
.section_demandes,
.section_document,
.section_messagerie,
.section_donnees,
.section_general,
.section_securite,
.send_code,
.code_next,
.final_modify,
.final_response {
  position: relative;
  transition: opacity 0.3s ease-in-out;
}


/* Ajouter ces styles pour les transitions */
.send_code,
.code_next,
.final_modify,
.final_response {
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

.send_code.visible,
.code_next.visible,
.final_modify.visible,
.final_response.visible {
  opacity: 1;
}

/* Styles pour les sections email */
.send_code,
.code_next,
.final_modify,
.final_response {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* État actif */
.send_code.active,
.code_next.active,
.final_modify.active,
.final_response.active {
  display: block;
  opacity: 1;
}

/* Animation d'entrée */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Appliquer l'animation aux sections actives */
.send_code.active,
.code_next.active,
.final_modify.active,
.final_response.active {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Styles spécifiques pour les transitions des sections */
.code_next,
.final_modify {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* État initial des sections */
.code_next:not(.active),
.final_modify:not(.active) {
  display: none;
}

/* État actif des sections */
.code_next.active,
.final_modify.active {
  opacity: 1;
  display: block;
}

/* Animation d'entrée pour final_modify */
.final_modify {
  transform: translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
}

.final_modify.active {
  transform: translateY(0);
}

/* Assurer que les sections sont bien positionnées */
.code_next,
.final_modify {
  position: relative;
  width: 100%;
  z-index: 1;
}

/* Styles pour les sections et sous-sections */
.section_general,
.section_securite,
.sousSection_general,
#sousSection_mdp,
#sousSection_modify {
  display: none;
  /* État initial */
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* État actif des sections */
.section_general.active,
.section_securite.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Styles pour le flou */
.section_profil {
  transition: filter 0.3s ease-in-out;
}

.section_profil.blur {
  filter: blur(5px);
}

/* Animation d'entrée */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation de sortie */
@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-50px);
  }
}

/* Appliquer les animations */
.section_general,
.section_securite {
  animation: slideIn 0.3s ease-out forwards;
}

.section_general.closing,
.section_securite.closing {
  animation: slideOut 0.3s ease-out forwards;
}

/* Styles de base pour les sections principales */
.section_general,
.section_securite {
  position: fixed;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* État actif des sections */
.section_general[style*="display: block"],
.section_securite[style*="display: block"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

/* Styles pour les sous-sections */
.sousSection_general,
#sousSection_mdp,
#sousSection_modify {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* État actif des sous-sections */
.sousSection_general[style*="display: block"],
#sousSection_mdp[style*="display: block"],
#sousSection_modify[style*="display: block"] {
  opacity: 1;
}

/* Style pour le flou */
.section_profil {
  transition: filter 0.3s ease;
}

.section_profil.blur {
  filter: blur(5px);
}

/* Styles pour les boutons de fermeture */
.close_button,
.closebuttn {
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.close_button:hover,
.closebuttn:hover {
  color: #ff0000;
}

.donnee_input input:disabled {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  cursor: not-allowed;
}

.donnee_input input:not(:disabled) {
  background-color: #fff;
  border: 1px solid #9776dd;
}

.save {
  display: none;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #9776dd;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.save:hover {
  background-color: #7b5eb8;
}

.send_code,
.sousSection_general {
  transition: opacity 0.3s ease-in-out;
}

.send_code {
  opacity: 1;
}

.sousSection_general {
  opacity: 0;
}

.sousSection_general.active {
  opacity: 1;
}

.code_next,
.final_response {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.code_next.active,
.final_response.active {
  opacity: 1;
}

.card_item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: 0.3s;
}

.card_item input {
  width: 50%;
  border: #000 solid 1px;
  background: none;
  margin-top: 10px;
  padding: 10px 15px;
  font-family: "Raleway";
  font-size: 15px;
  border-radius: 5px;
}

.card_item button {
  background: none;
  border: none;
  padding: 0 20px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

.card_item button:hover {
  color: #9400FF;
}

.savedSuccess,
.savedfail {
  display: none;
  font-weight: bold;
  padding: 10px;
  margin-top: 10px;
  text-align: center;
  border-radius: 5px;
}

.savedSuccess {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.savedfail {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.cardSavedsuccess,
.cardSavedfailed {
  display: none;
  font-weight: bold;
  padding: 10px;
  margin-top: 10px;
  text-align: center;
  border-radius: 5px;
}

.cardSavedsuccess {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.cardSavedfailed {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.annulText {
  display: none;
  /* Caché par défaut */
  font-size: 16px;
  font-weight: bold;
  color: red;
  text-align: center;
  padding: 10px;
}

.annulText.show {
  display: block !important;
  /* Forcer l'affichage */
  opacity: 1;
  animation: fadeIn 1s ease-in-out;
}

.display_notifations {
  display: flex;
  flex-direction: column;
}

.notifications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notifications-header .name_title {
  margin: 0;
  flex: 1;
}

.btn-close-notifications {
  background-color: #5d38aa;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* Caché sur desktop, visible sur mobile */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-close-notifications:hover {
  background-color: #9776dd;
  transform: scale(1.05);
}

.btn-close-notifications i {
  font-size: 18px;
}

.section_notifications {
  padding: 20px;
  margin: 0 auto;
  border-radius: 10px;
}

.notifications-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 15px;
}

.notifications-controls button {
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  background-color: #9776dd;
  color: #fff;
  transition: background-color 0.2s ease;
}

.notifications-controls button:hover {
  background-color: #7a64a8;
  ;
}

.notifications_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 6px;
  border-left: 5px solid #7a64a8;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.notification-item:hover {
  background-color: #f5f5f5;
  /* Effet au survol */
}

.notification-item.unread {
  background-color: #e8dcff;
}

.notification-content {
  display: flex;
  flex-direction: column;
}

.notification-title {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 16px;
}

.notification-message {
  font-size: 14px;
  color: #555;
}

.notification-time {
  font-size: 12px;
  color: #888;
}

@media (max-width: 600px) {
  .notification-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .notification-time {
    margin-top: 10px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== STYLES AMÉLIORÉS POUR LES NOTIFICATIONS ===== */

/* Icônes de notification */
.notification-item {
    position: relative;
    padding-left: 60px; /* Espace pour l'icône */
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    border-left-width: 5px;
    animation: notification-appear 0.3s ease-out;
}

.notification-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Codes couleur par type */
.notification-item[data-type="transfert"] { border-left-color: #4caf50; }
.notification-item[data-type="demande"] { border-left-color: #2196f3; }
.notification-item[data-type="securite"] { border-left-color: #f44336; }
.notification-item[data-type="echec"] { border-left-color: #e91e63; }
.notification-item[data-type="autre"] { border-left-color: #9c27b0; }

/* Couleurs des icônes par type */
.notification-icon.transfert { background-color: rgba(76, 175, 80, 0.2); color: #4caf50; }
.notification-icon.demande { background-color: rgba(33, 150, 243, 0.2); color: #2196f3; }
.notification-icon.securite { background-color: rgba(244, 67, 54, 0.2); color: #f44336; }
.notification-icon.echec { background-color: rgba(233, 30, 99, 0.2); color: #e91e63; }
.notification-icon.autre { background-color: rgba(156, 39, 176, 0.2); color: #9c27b0; }

/* Animation d'apparition */
@keyframes notification-appear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes notification-highlight {
    0% { background-color: rgba(92, 58, 167, 0.2); }
    100% { background-color: transparent; }
}

.notification-item.highlight {
    animation: notification-highlight 2s ease-out;
}

.notification-item.removing {
    animation: notification-appear 0.3s ease-out reverse;
}

/* Animation pour le badge de notification */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.notifBadge:not(:empty) {
    animation: pulse 1s infinite;
}

/* Animation de rotation pour le bouton refresh */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotating {
    animation: rotate 1s linear infinite;
}

/* Animation d'effacement */
@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-out {
    animation: fade-out 0.5s forwards;
}

/* Gestion des swipes sur mobile */
.notification-item.swiping-left {
    transform: translateX(-100px);
}

.notification-item.swiping-right {
    transform: translateX(100px);
}

/* Filtres de notifications */
.notifications-filters {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
}

.pro_name{
    margin: 10px 0;
  }

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-right: 10px;
    font-weight: 600;
}

.filter-group select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
}

/* Style spinner de chargement */
.notification-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #9776dd;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Messages d'erreur et d'état vide */
.error-notification {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.no-notification {
    text-align: center;
    padding: 20px;
    color: #757575;
    font-style: italic;
}

/* Contrôles des notifications */
.notifications-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.notifications-controls button {
    padding: 8px 14px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background-color: #9776dd;
    color: #fff;
    transition: background-color 0.2s ease;
}

.notifications-controls button:hover {
    background-color: #7a64a8;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.pagination button {
    padding: 8px 15px;
    border: none;
    background-color: #9776dd;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination button:hover {
    background-color: #7a64a8;
}

.pagination button:disabled {
    background-color: #d3c7e5;
    cursor: not-allowed;
}

.pagination span {
    font-size: 14px;
    color: #666;
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .notification-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notification-time {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 11px;
    }
    
    .notifications-filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    /* Pagination adaptative */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    /* Ajustements pour les contrôles de notifications */
    .notifications-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .notifications-controls button {
        flex: 1;
        min-width: 120px;
    }
    
    /* Ajustement pour l'icône de notification sur mobile */
    .notification-icon {
        left: 10px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .notification-item {
        padding-left: 40px;
    }
}

/* États interactifs des notifications */
.notification-item:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}

.notification-item.unread {
    background-color: #e8dcff;
    font-weight: 500;
}

.notification-item.unread:hover {
    background-color: #d3c2f8;
}

/* Tooltip pour le swipe sur mobile */
.swipe-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.swipe-hint.visible {
    opacity: 1;
}

/* Indicateur de chargement des notifications */
#notifications_loader {
    padding: 20px;
    text-align: center;
}

#notifications_loader p {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}
/* ===============================================
   🔗 LIEN "ICI" POUR UPLOADER LES DOCUMENTS
   =============================================== */

.upload-docs-link {
    color: #5c3aa7;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.upload-docs-link:hover {
    color: #764ba2;
    text-decoration: none;
    transform: translateY(-1px);
}

.upload-docs-link:active {
    transform: translateY(0);
}

/* Effet de surbrillance au survol */
.upload-docs-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.upload-docs-link:hover::after {
    width: 100%;
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulse-upload {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.upload-docs-link {
    animation: pulse-upload 2s ease-in-out infinite;
}

.upload-docs-link:hover {
    animation: none;
}

/* Style pour mobile */
@media (max-width: 768px) {
    .upload-docs-link {
        font-size: 15px;
        padding: 2px 4px;
    }
}

/* ====================================
   NOTIFICATIONS CONTACT FORM
   ==================================== */
.contact-notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    border-left: 4px solid #ccc;
    transition: right 0.3s ease;
}

.contact-notification.show {
    right: 20px;
}

.contact-notification i {
    font-size: 24px;
}

.contact-notification span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.contact-notification.success {
    border-left-color: #28a745;
}

.contact-notification.success i {
    color: #28a745;
}

.contact-notification.error {
    border-left-color: #dc3545;
}

.contact-notification.error i {
    color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-notification {
        right: -100%;
        left: auto;
        max-width: calc(100% - 40px);
        min-width: auto;
    }

    .contact-notification.show {
        right: 20px;
        left: 20px;
    }

    /* Loader footer en colonne sur mobile */
    .loader-footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .copyright {
        justify-content: center;
    }
}
