.intervenant-groups-page{ 
    width: 100%; 
    padding: 0 20px 60px 20px;
    margin-left: 400px;
}

.groups-entete{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.groups-title{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px !important;
}

.groups-title .title{ 
  width: 85%;
  line-height: 100% 
};

.groups-filter{ 
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.groups-filter .row{
    display: flex;
    flex-direction: column;  
    margin: 0;
}

.groups-filter select{ 
    min-width: 290px;
    height: 52px;
    border-radius: 8px;
    padding: 8px 16px;
}

.groups-title{
    margin: 40px 0 0 0;
    font-weight: 500;
    font-size: 26px;
}

.groups-subtitle{ 
    margin: 0;
    font-size: 18px;
}

.group-row{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    border-radius: 15px;
    padding: 14px;
    box-shadow: 0px 30px 180px 10px #0000001A;
    box-shadow: 0px 10px 20px -5px #0000000A;
    box-shadow: 0px 1px 1px 0px #00000012;
}

.group-row .group-title{
  width: 400px;
}

.group-row .group-title p:first-child{
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.group-row .group-title p:last-child{
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
}
.group-row .group-title p:last-child img{ margin-right: 10px; }

.group-row .group-infos{
    display: flex;
    align-items: center;
    gap: 20px;
}

.group-row .group-infos div p:first-of-type{ 
  font-size: 16px;
}

.group-row .group-infos p{
    margin: 0;
}

.group-row .group-infos div{
    padding-right: 20px;
    border-right: 1px dashed #3CBAC4;
}
.group-row .group-infos div:last-child{ border: none !important; }

.group-row a{
    width: 93px;
    height: 52px;
    display: flex;
    font-weight: 500;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 100px;
    background: #34495E12;
    color: #34495E;
    cursor: pointer;
}

.yellow{ color: #F3B51B !important; }
.blue{ color: #3CBAC4 !important; }
.red{ color: #FB1057 !important; }

.ios-switch{
  --w: 54px;           /* largeur du switch */
  --h: 30px;           /* hauteur du switch */
  --pad: 3px;          /* marge interne du track */
  --on: #FF5C00;       /* vert iOS */
  --off: #d1d5db;      /* gris track off */
  --knob: #fff;        /* couleur du bouton */
  --focus: rgba(38,132,255,.35);

  display:inline-flex;
  align-items:center;
  gap:.6rem;
  cursor:pointer;
  user-select:none;
}

.ios-switch__input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}

.ios-switch__track{
  position:relative;
  width:var(--w);
  height:var(--h);
  border-radius:var(--h);
  background:var(--off);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);
  transition: background .2s ease;
  display:inline-block;
}

.ios-switch__track::before{
  content:"";
  position:absolute;
  top:var(--pad);
  left:var(--pad);
  width:calc(var(--h) - var(--pad)*2);
  height:calc(var(--h) - var(--pad)*2);
  border-radius:50%;
  color: var(--on);
  background:var(--knob);
  box-shadow:0 1px 3px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.04);
  transition:transform .2s ease;
}

.ios-switch__input:checked + .ios-switch__track{
  background:var(--on);
}
.ios-switch__input:checked + .ios-switch__track::before{
  content:"✓";
  transform:translateX(calc(var(--w) - var(--h)));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 3px 0 0;
}

.ios-switch__input:focus-visible + .ios-switch__track{
  box-shadow:0 0 0 3px var(--focus), inset 0 0 0 1px rgba(0,0,0,.06);
}

@media (prefers-reduced-motion: reduce){
  .ios-switch__track,
  .ios-switch__track::before{ transition:none; }
}

.ios-switch--sm{ --w: 42px; --h: 26px; }
.ios-switch--lg{ --w: 64px; --h: 38px; }

.ios-switch__text{ 
    font-size: 18px;
    margin-left: 10px;
 }

 /* Détails */
.group-metrics{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.group-metrics div{
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;

}  

.group-metrics div .metrics{
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 5px;
  padding-bottom: 0;
}
.group-metrics div .metrics p{ margin: 0; }
.group-metrics div.border-b{  border-bottom: 1px dashed #E2E2E2;  }
.group-metrics div .border-r{  border-right: 1px dashed #E2E2E2;  }

.seance-list{
  display: flex;
  gap: 8px;
  overflow-x: scroll;
  overflow-y: hidden;
}

.seance{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(52, 73, 94, 0.07);
  width: 60px;
  padding: 12px 8px 8px 8px;
  border-radius: 10px;
  color: rgba(52, 73, 94, 1);
}

.seance.current{
  background-color: #FFF;
  outline: 2px solid rgba(255, 92, 0, 1);
}

.seance.unactive{
  opacity: .5;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.seance p{ 
  font-size: 16px; 
  line-height: 120%;
  margin: 0;
}
.seance p:first-child{  
  font-size: 26px; 
  line-height: 100%;
}
.seance p:last-child{ margin-top: 6px; }

.documents-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.documents-list .documents a,
.documents-list .documents a:hover{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(248, 248, 248, 1);
  color: #34495E;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 18px;
}
.documents-list .documents p{ margin: 0; }

.add-document-button{
  width: 241px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  background: rgba(52, 73, 94, 0.07); 
  padding-right: 18px;
  padding-left: 18px; 
  border-radius: 100px;
  border: none;
  color: #34495E;
}
.bilanIcons{  width: 270px; }

.groupe-informations{
  display: block;
} 

@media (max-width: 1260px) {
  .intervenant-groups-page{ 
      overflow-x: hidden;  
      overflow-y: auto; 
  }

  .intervenant-groups-page .return-button{
    width: 113px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: auto 16px;
    border-radius: 100px;
    background-color: #34495E12;
    gap: 10px;
    font-weight: 500;
  }

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

  .groups-head .c-progress{
    display: inline-grid !important;
  }  

  .intervenant-groups-page .GroupReponsiveNav{
    display: flex !important;
    margin-top: 20px;
    gap: 20px;
  }

  .GroupReponsiveNav a{
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: #34495E12;
    color: #34495E;
    font-weight: 500;
    font-size: 17px;
    border-radius: 100px;
    cursor: pointer;
  }

  .GroupReponsiveNav a.active{
    background-color: #34495E;
    color: #FFF;
  }

  .intervenant-groups-page{
    margin-left: 0;
    padding: 0 16px;
  }

  .intervenant-groups-page .title{
    font-size: 20px;
    font-weight: 500;
  }

  .groups-entete{
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }

  .groups-filter{ 
    width: 100%;
    flex-direction: column; 
    margin-bottom: 30px;
  }
  .groups-filter select{ width: 100%; }
  .groups-title{ font-size: 18px; }

  .group-row{
    flex-direction: column;
    padding: 14px 5px;
  }
  .group-row .group-title{ width: auto; }
  .group-row .group-title p:first-of-type{ font-size: 15px; }
  .group-row .group-title p:last-of-type{ font-size: 14px; }
  .group-row .group-title img{ width: 18px; }
  .group-infos{ 
    margin-top: 20px; 
    gap: 8px !important;
  }
  .group-infos div p{ font-size: 14px !important; }

  .group-row .group-infos div{
    width: 105px;
    padding-right: 5px;
  }

  .group-row .group-infos div:first-child{
    width: 70px;
  }

  .group-row .group-infos div:last-child{
    width: 120px;
  }

  .group-row a{
    width: 100%;
    margin-top: 30px;
  }

  .intervenant-groups-page .detail-update p{ font-size: 16px;  }
  .intervenant-groups-page .group-metrics{
    font-size: 14px;
  }

  .seance-list .seance p{ font-size: 12px; }
  .seance-list .seance p:first-child{ font-size: 16px; }

  .documents p{ font-size: 15px; }
  .documents img{ width: 16px !important; }
  .add-document-button{ font-size: 16px; }

  /* Default */
  .group-detail {
    height: 100% !important;
    display: none;
    background: #FFF;
    padding: 20px;
  }

  .groupe-informations .detail-metrics .flex{ flex-wrap: wrap;  }
  .groupe-informations .detail-metrics .flex a{ width: 50%; }
  .metrics-box img{ width: 20px; }
  .metrics-box p{ font-size: 14px;  }

  .intervenant-modal .content{
    width: 358px;
    padding: 16px !important;
    gap: 20px;
  }
  .intervenant-modal .content .entete h3{ font-size: 20px; }
  .intervenant-modal .content .user-info img{  width: 24px;  }

  .intervenant-modal .content .user-info p,
  .intervenant-modal .content p{ font-size: 15px; }

  .intervenant-modal .content .ios-switch{
    font-size: 15px;
  }
  .intervenant-modal .content{ font-size: 16px; }

  .groupe-informations .participant-row{ 
    flex-direction: column;
    background: #F8F8F8;
    flex-wrap: nowrap;
    padding: 10px;
  }

  .groupe-informations .participant-row .participant-line{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }
  .groupe-informations .participant-row .participant-name{ width: auto; }
  .groupe-informations .participant-row .participant-line .flex{ flex-wrap: nowrap !important; }

  .participant-row .flex .intervenant-modal .content .closeModal, 
  .participant-row .flex .intervenant-modal .content .closeModal:hover{
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
  }

  .participant-row .flex .participant-cta{
    width: auto !important;
    height: 28px !important;
    margin: 0 !important;
  }

  .intervenant-modal .content .modalBtn a{ font-size: 16px; }
  .intervenant-modal .content .modalBtn img{
    width: 20px !important;
    height: 20px !important;
    margin: 0 0 0 10px !important;
  }

  .participant-row .flex .moreLink{
    font-size: 30px;
    margin-top: -20px;
  }

  .moreNavigation{
    left: -260px;
    top: -20px;
  }

  .participant-row .flex .moreNavigation ul li a, 
  .participant-row .flex .moreNavigation ul li a:hover{
    font-size: 16px !important;
  }

  .participant-row .flex .moreNavigation ul li a img{
    width: auto !important;
    height: auto !important;
  }
}
