
/*  /////////////////// CALENDRIER //////////////////*/
.invisible{
  display: none;
}
.relative {
  position: relative;
  }
.gras{
  font-weight: bold;
}

.months{}

/*###################################   YEAR TITLE   #################################*/

#yearSelector{
  width: 100%;
}
.yearSelectorArrow{
  min-width: 44px;
  min-height: 44px;
  margin: 1em;
  font-size: 2em;
}
.yearSelectorArrow:hover{
  color: rgba(255, 0, 0, 1.0);

}
#year{
  display: inline-block;

  font-size: 3em;
  color: gray;
}
.calendarYearArrow{
  font-size: 3em;
}


/*###################################   MONTH TITLE   #################################*/

.months a {
  color: rgba(211, 211, 211, 1.0);
  font-size: 1.5em;
}
.months .active{
  color: rgba(255, 0, 0, 1.0);
}
/* TGV:T01 - Le soulignement distingue le mois actif sans dependre de la couleur. */
.months a.active {
  text-decoration: underline;
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.2em;
}
.months a:hover{
  color: rgba(255, 0, 0, 1.0);
}
.months li{
  display: inline;
}
.months ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.months ul li a{
  float: left;
  margin: -1px;
  padding: 0px 15px 0px 0px;
}

.months ul li a:hover, .months ul li a.active{color: #D9000;}

/*###################################   CALENDAR TABLE   #################################*/


.month table{width: 100%;}
.month table, .month th, .month td{font-size: 1.5em;text-align: center;vertical-align: center;}
.month th {padding: 10px;}
.month td {border: 1px solid #222;width:  10%;height: 20px;}
.month td:hover {background-color: rgba(255, 165, 0, 0.5);}

/*.nombreEvents{font-size: 0.3em; font-color: rgba(255, 0, 0, 1.0);}*/

/* make the cells output the value of their data-value attribute */
.nombreEvents:after {
      content: attr(data-value);
      font-size: 0.4em; 
      color: rgba(255, 0, 0, 1.0);
      font-weight: bold;
      color: #;
    }
    
    /* hide the output if the data-value is equal to "$0" */
.nombreEvents[data-value="0"]:after {
      /*content: "";*/
      font-size: 0.3em; 
      color: gray;
    }


.calendrier_container{position:relative; width: 60%;  }
.clear{clear:both;}
.month table .weekend{background-color: rgba(211, 211, 211, 1.0);}
.month table{border-collapse: collapse;position: relative;}
.month table head{text-align: center-top;}
.month table td.padding {border:none}
.month table td.today { border:1px solid #A3A3A3; background-color: lightgreen;}
.month table td.day{position:absolute;}

 
/*###################################   CALENDAR SIDE EVENT VIEWER ON HOVER   #################################*/


/* .month table td .events{ display: none ;
  font-size: 0.4em;
  text-align: left; 
  color: gray; 
  position:absolute; 
  right: 300px; 
  top: -100px; 
  width: 350px; 
  height: 654px; 
  background-color: white;
  z-index: 3;} */

.month table td .events {
  display: none;
  position: absolute;
  font-size: 0.2em;
  text-align: left; 
  color: gray; 
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}




.month table td.hoverable:hover .events {display: block ;}
/* 

.month table .daytitle {position: absolute;left: 550px; top: 100px;width: 400px;font-size: 0.6em;font-weight: bold; text-align: top-center; display:none; text-decoration: underline;}
.month table td:hover .daytitle{display: block;  }
 */





/*    ###################################     EVENTS LISTS     ########################*/
/*.dayEventsList li:hover, p:hover{
background-color: lightblue;
}*/

.calendar_monthName{
  font-size: 2em;
  text-align: center;
  color: rgba(255, 0, 0, 1.0);
}


#eventDayListDialog{
/*position: absolute;
left: 0px; top: 0px;
width: 600px;
max-height: 500px;*/
/*overflow: scroll;
z-index: 3;*/
/*padding: 0 0 0 0;*/
}

td .eventListCell ul{
  list-style-type:none;
}

.dayEventList_type{
text-decoration: underline;
    width: 100%;
}


#eventDayListDialog  .eventDayListResourceHeader{
  
  
  /*max-width: 25%;*/
}


#eventDayListDialog table td{
  border-right-style:solid;
  border-right-color: gray;
  border-width: 1px;
  vertical-align: top;
  font-size: 1em;
  text-align: left;
  /*max-width: 25%;*/
}

#eventDayListDialog table td .timestart{
  
  text-align: left;
  color: black;
  font-weight: bold;
  /*font-size: .8em;*/
  /*max-width: 25%;*/
}

#eventDayListDialog table td li{
  border-bottom-style:solid;
  border-bottom-color: gray;
    border-width: 1px;

  /*max-width: 25%;*/
}

#eventDayListDialog ul{
  border: none;
  /*width: 100%;*/
  display: inline;
}



#eventDayListDialog li{
  float: left;
  border: none;
  list-style: none;
  width: 100%;
  padding: 0 0 0 0;
}
#eventDayListDialog p{
  max-height: 5em;
  /*max-width: 25%;*/
  overflow: hidden;

}

.horaire_event_cell{
  
}
#modal_event_details_lock_protected{
  background-color: white!important;
}



/* one item */
/*#eventDayListDialog li:first-child:nth-last-child(1) {
  width: 100%;
}
*/
/* two items */
/*#eventDayListDialog li:first-child:nth-last-child(2),
#eventDayListDialog li:first-child:nth-last-child(2) ~ #eventDayListDialog  li{
  width: 33%;
}
*/
/* three items */
/*#eventDayListDialog li:first-child:nth-last-child(3),
#eventDayListDialog li:first-child:nth-last-child(3) ~ #eventDayListDialog li{
  width: 20%;
}*/

/* four items */
/*#eventDayListDialog li:first-child:nth-last-child(4),
#eventDayListDialog li:first-child:nth-last-child(4) ~ #eventDayListDialog li {
  width: 15%;
}
*/
#eventDayListDialog .dayEventsList {


background-color: white;

font-size: 12px;

border: 2px solid gray;
border-radius: 15px;


}
#eventDayListDialog .dayEventsList .time{
  font-weight: bold;
  font-size: 1.5em;
  color: gray;
}

 #eventDayListDialog .daytitle{
  padding: 0px;
  font-size: 1.5em;
  font-weight: bold;
  position: fixed;
  background-color: white;
}

 #eventDayListDialog p
{ border: 1px solid gray;
  border-radius: 10px;
  float: left;
  padding: 0.2em;
  margin: 0.2em;

  }
 

/**/
/*attribution des couleurs de la liste journalière d'événements*/


/**/
/* #eventDayListDialog p.Urgent{
    background-color: rgba(255, 0, 0, 1.0);
    font-color: white;
  }*/

/* #eventDayListDialog p{
    background-color: [data-couleur];
    font-color: white;
  }

 #eventDayListDialog p.Vacant[data-client=""]{
  background-color: lightgreen;
  font-color: white;
*/

}

/* #eventDayListDialog p.Attribué{
    background-color: lightblue;
    font-color: white;
  }*/


/**/
/**/
/**/
#eventDayListDialog .nomClient{
  font-weight: bold;
  /*font-size: 1.3em;*/
  font-style: italic;
  color: rgba(0, 0, 139, 1.0);
}

#closeWindow{
  position: fixed;
}
.eventTitle{
  width: 100%;
  background-color: white;
  float: right-top;
  text-align: center;
}
 .eventSum{
  text-align: center;
}
.bold_Number{
  font-weight: bold;
}
/*    ###########################################################*/
/*    ################## Events details  ########################*/
/*    ###########################################################*/

/*#eventDetails{

  z-index: 2;
}*/


.eventDialogItem {
    position: relative;
    float: left;
    padding-right: 10px;
    margin: auto;
    width: 30%;
    overflow:scroll;
    overflow-x: hidden;
   max-height: 65vh
   
}
.eventDialogItem .btn {
  position: relative;
  max-width: 100%;
  
  margin: auto;
  /*margin-top: 15px;*/
}
#form_eventDetails{
  margin-top: 10px;
}

.email-confirmations-scroll{
  max-height: 140px;
  overflow-y: auto;
  overflow-x: hidden;
}

.email-confirmations-table th,
.email-confirmations-table td{
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}
#clientDetailsFormFocus{
  float:left;
  width: 35%;
  border-color: rgba(211, 211, 211, 1.0);

  border-left-style: double;
  padding-left: 15px;
  margin-left: 15px;

  
}


#clientDetailsFormFocus h4{
    /*position: absolute;*/
    font-style: italic;
    color: rgba(211, 211, 211, 1.0);
    padding: 0px 0px 0px 10px;
    text-align: left;
    font-size: 1em;


  }
#clientDetailsFormFocus label{
    font-size: 0.8em;
    padding:0px;
      margin: 0px;

  }
#clientDetailsFormFocus input{

  padding: 0px;
  margin: 0px;
  height: 1.5em;

}

#clientDetailsFormFocus tr{
  font-size: 0.6em;
    padding:0px;
      margin: 0px;

}

#clientDetailsFormFocus .colGauche{
  text-align: left;
  color: gray;
}
#clientDetailsFormFocus .colDroite{
  text-align: right;

}


.batchNumber{
  font-size: 0.6em;
  font-color: lightgray;
  font-style: italic;
}



/*colonne de droite fenêtre re rendez-vous*/

/*##############################*/
/*div de la colonne de droite du event dialog*/
/*##################################*/

#clientDetailsSearchClient{
 padding: 0px;
 margin: 5px;


}


#searchContact{
  /*overflow:scroll;*/

  padding-top: 20px;
  max-height: 30vh;

  /*vh: viewport height ;*/
  width: 80%;
  overflow: scroll;
   /*overflow-x: hidden;*/


}

#searchContact .numOfResults{
   font-style: italic;
    color: rgba(211, 211, 211, 1.0);
    padding: 0px 0px 0px 10px;
    text-align: center;


}
#searchContact ul{
    list-style: none;
    /*padding: none;*/
}
#searchContact ul li:hover{
    color: blue;
    text-decoration: underline;

}

#contactCreateButton{
  margin-top: 10px;
}

/*

/*    ###########################################################*/

/*boutons   apparaître vs disparaître en fonction de conditions */

#eventDetailCancelAppointment[data-contact='FALSE']{

display: none;

}


#clientDetailsFormFocus[data-contact='FALSE']{
  display: none;
}



#calendarEventFilter{

  float: right;
}

#eventContactInfoShow input{
  text-align: right;
  border:none;
}

/*#################################*/
/*liste de rendez-vous par contact */
/*#################################*/

.event_list_byClient{
  max-height: 300px;
  overflow-x: scroll;
}

.event_list_byClient ul{
  list-style: none;
  padding: 0px;
}
.event_list_byClient ul li{
  padding-left: 20px;
  width: 100%;
  border:1px solid gray;
  font-size: 0.8em;
}


.event_list_byClient ul li[data-retard = "vert"]{
 border-left: 20px solid lightgreen;
}
.event_list_byClient ul li[data-retard = "orange"]{
 border-left: 20px solid orange;
}
.event_list_byClient ul li[data-retard = "rouge"]{
 border-left: 20px solid red;
}
.event_list_byClient ul li[data-retard = "orange"]{
 border-left: 20px solid orange;
}
.event_list_byClient ul li[data-retard = "noir"]{
 border-left: 20px solid black;
}



.event_list_byClient .gras{
  font-weight: bold;

}

#showAppointments{
  padding-top: 10px;
}

.modal-full {
  min-width: 95%;
  margin: auto;
}

.modal-full .modal-content {
  min-height: 100vh;
}

@media (max-width: 991.98px) {
  .modal-full {
    min-width: 100%;
    margin: 0;
  }

  .modal-full .modal-content {
    min-height: 100vh;
    border-radius: 0;
  }

  #modal_event_details_lock_protected .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #colonneGauche,
  #modal_main_content {
    margin-bottom: 1rem;
  }
}






  /* switch slider */

  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    /* TGV:T01 - Le switch conserve un indicateur de focus visible au clavier. */
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1d3557;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
.slider.round:before {
  border-radius: 50%;
}

.horaire-page-shell{
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(210, 220, 228, 0.18) 0%, rgba(226, 234, 239, 0.24) 100%);
}

.horaire-page-shell::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--horaire-clinic-logo-pattern, none);
  background-repeat: repeat;
  background-position: center center;
  background-size: 180px auto;
  opacity: 0.065;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.horaire-page-shell > *{
  position: relative;
  z-index: 1;
}

#horaire_main_content{
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(1px);
}

.horaire-modern-page-shell{
  min-height: calc(100vh - 42px);
  padding: 0.4rem 0.65rem 0.75rem;
}

.horaire-modern-page-shell::after{
  content: attr(data-app-label);
  position: absolute;
  right: 1rem;
  bottom: 0.35rem;
  z-index: 0;
  max-width: 45vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(31, 41, 51, 0.08);
  font-size: 2rem;
  font-weight: 800;
  pointer-events: none;
}

.horaire-modern-title-block,
.horaire-modern-actions{
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.horaire-modern-title{
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.1;
  font-weight: 700;
  color: #1f2933;
  white-space: nowrap;
}

.horaire-modern-content{
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.horaire-modern-navigation{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  min-height: 2.45rem;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: visible;
}

.horaire-modern-navigation-title{
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

#horaire-modern-app-label{
  display: inline-block;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
  color: #344054;
}

.horaire-modern-navigation .period{
  margin: 0;
}

.horaire-modern-period-group{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.horaire-modern-period-group pre{
  display: none;
}

.horaire-modern-navigation #yearSelector{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  white-space: nowrap;
}

.horaire-modern-navigation .yearSelectorArrow{
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.horaire-modern-navigation #year{
  min-width: 4.25rem;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
  color: #344054;
}

.horaire-modern-navigation .months{
  min-width: 0;
}

.horaire-modern-navigation .months ul{
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  max-width: 100%;
  margin-bottom: 0;
}

.horaire-modern-navigation .months ul li a{
  float: none;
  display: inline-flex;
  justify-content: center;
  min-width: 2.45rem;
  padding: 0.28rem 0.4rem;
  border: 1px solid #d7dde3;
  border-radius: 7px;
  background: #ffffff;
  color: #52616f;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.horaire-modern-navigation .months ul li a:hover,
.horaire-modern-navigation .months ul li a.active{
  color: #ffffff;
  background: #2f80ed;
  border-color: #2f80ed;
}

.horaire-modern-navigation .months ul li a.active {
  text-decoration: underline;
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.2em;
}

#horaire-modern-today-button{
  flex: 0 0 auto;
  height: 2rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.horaire-modern-actions{
  justify-content: flex-end;
  min-width: max-content;
}

.horaire-modern-layout{
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 235px);
  gap: 0.5rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.horaire-modern-calendar-panel{
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.horaire-modern-filters-panel{
  min-height: 0;
  overflow: auto;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.5rem;
}

.horaire-modern-filter-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #e1e7ed;
  font-size: 0.86rem;
  font-weight: 700;
  color: #52616f;
}

#horaire-modern-filter-title{
  font-size: 0.9rem;
  color: #344054;
}

.horaire-modern-resource-colors-panel{
  margin-bottom: 0.6rem;
  padding: 0.5rem;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  background: #f8f9fa;
}

.horaire-modern-weekend-option{
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #e1e7ed;
}

.horaire-modern-resource-color-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.25rem;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.horaire-modern-resource-color-row label{
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
}

.horaire-modern-resource-color-input{
  width: 3.25rem;
  min-height: 2rem;
  padding: 0.1rem;
}

.horaire-modern-filters-panel #calendarEventFilter{
  float: none;
}

.horaire-modern-filters-panel #calendarEventFilter,
.horaire-modern-filters-panel #filterCheckbox{
  width: 100%;
}

.horaire-modern-filters-panel .form-group{
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #eef2f6;
}

.horaire-modern-filters-panel .form-group:last-child{
  border-bottom: 0;
}

.horaire-modern-filters-panel .form-check{
  min-height: 24px;
  margin-bottom: 0.12rem;
  font-size: 0.82rem;
  line-height: 1.2;
}

.horaire-page-shell #filterCheckbox .form-check{
  min-height: 24px;
  padding-left: 1.85rem;
}

.horaire-page-shell #filterCheckbox .form-check-input{
  width: 24px;
  height: 24px;
  margin-top: 0;
  margin-left: -1.85rem;
}

.horaire-page-shell #filterCheckbox .form-check-label{
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}

.horaire-modern-filters-panel pre{
  display: none;
}

.horaire-modern-calendar-card{
  height: 100%;
  border-radius: 8px;
}

.horaire-modern-calendar-header{
  min-height: 2.15rem;
  padding: 0.35rem 0.55rem;
  display: flex;
  align-items: center;
}

.horaire-modern-calendar-title{
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
}

.horaire-modern-calendar-body{
  height: calc(100% - 2.15rem);
  padding: 0.45rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.35rem;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-grid-weekdays-only{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.horaire-modern-calendar-panel .horaire-modern-month-grid{
  min-height: 0;
  grid-auto-rows: minmax(0, 1fr);
}

.horaire-modern-calendar-panel .horaire-modern-calendar-head{
  min-height: 1.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6c757d;
  text-align: center;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-day{
  position: relative;
  min-height: 0;
  padding: 0.35rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-day.is-outside{
  background: #f8f9fa;
  color: #6c757d;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-day.is-today{
  border-color: #d63384;
  box-shadow: 0 0 0 2px rgba(214, 51, 132, 0.12);
}

.horaire-modern-calendar-panel .horaire-modern-calendar-date{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-items{
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-height: 0;
  overflow: hidden;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-item{
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  border-radius: 7px;
  padding: 0.22rem 0.3rem;
  background: #f8f9fa;
  border-left: 3px solid #0d6efd;
  font-size: 0.72rem;
  line-height: 1.18;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.horaire-modern-resource-name{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horaire-modern-resource-count{
  flex: 0 0 auto;
  font-weight: 700;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-day.hoverable:hover{
  overflow: visible;
  z-index: 4;
}

.horaire-modern-calendar-panel .horaire-modern-calendar-day.hoverable:hover .horaire-modern-calendar-items{
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  top: 2rem;
  z-index: 5;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.horaire-modern-calendar-panel .horaire-modern-calendar-empty{
  color: #adb5bd;
  font-size: 0.7rem;
  line-height: 1.15;
}

.horaire-modern-calendar-padding{
  pointer-events: none;
}

@media (orientation: landscape) and (min-width: 768px){
  .horaire-modern-page-shell{
    max-height: 100vh;
  }

  .horaire-modern-content{
    height: calc(100vh - 78px);
    max-height: calc(100vh - 78px);
  }
}

@media (max-width: 991.98px){
  .horaire-modern-navigation{
    grid-template-columns: auto minmax(0, 1fr) auto;
    white-space: nowrap;
  }

  .horaire-modern-period-group{
    min-width: 0;
  }

  .horaire-modern-layout{
    grid-template-columns: 1fr;
  }

  .horaire-modern-filters-panel{
    order: -1;
    max-height: none;
  }

  .horaire-modern-calendar-panel{
    overflow-x: auto;
  }

  .horaire-modern-calendar-card{
    min-width: 720px;
  }
}

@media (max-width: 767.98px){
  .horaire-modern-navigation{
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }

  .horaire-modern-actions{
    width: 100%;
    justify-content: space-between;
  }

  .horaire-modern-period-group{
    width: 100%;
  }

  .horaire-modern-content{
    min-height: auto;
  }

  .horaire-modern-calendar-card{
    min-height: 620px;
  }
}

@media (orientation: landscape){
  .horaire-modern-navigation{
    grid-template-columns: auto minmax(0, 1fr) auto;
    white-space: nowrap;
  }

  .horaire-modern-navigation-title,
  .horaire-modern-period-group,
  .horaire-modern-actions{
    grid-column: auto;
  }

  .horaire-modern-period-group,
  .horaire-modern-actions{
    width: auto;
  }
}




/** event log page
*/
#table_event_log{
  max-height: 70vh;


}



#calendrierModal .modal-body{
  overflow: scroll;
  background:azure;
}

/* Responsive ajustements pour calendrier sur mobile */
@media (max-width: 767.98px) {
  .horaire-page-shell{
    padding: 0.5rem 0.25rem 1rem;
  }

  .horaire-page-shell::before{
    background-size: 132px auto;
  }

  #horaire_main_content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
  }
  .months ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .months ul li a {
    float: none;
    padding: 2px 6px;
    font-size: 1.1em;
  }
  .calendrier_container,
  #calendarViewer {
    width: 100% !important;
    overflow-x: auto;
  }
  .month table {
    min-width: 520px;
    font-size: 1em;
  }
  .month th {
    padding: 6px;
  }
}
.has_glow{
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.35), 0 0 8px rgba(46, 204, 113, 0.45);
    border-color: #2ecc71;
    position: relative;
    z-index: 2;
}

.has_glow::after{
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25), 0 0 8px rgba(46, 204, 113, 0.4);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    animation: has_glow_pulse 3.6s ease-in-out infinite;
}

@keyframes has_glow_pulse{
    0%{
        opacity: 0.3;
        box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25), 0 0 8px rgba(46, 204, 113, 0.4);
    }
    50%{
        opacity: 0.75;
        box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.55), 0 0 14px rgba(46, 204, 113, 0.75);
    }
    100%{
        opacity: 0.3;
        box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25), 0 0 8px rgba(46, 204, 113, 0.4);
    }
}
