/********************************************************************
                    Modal sizing (responsive amélioré)
*********************************************************************/

/* --- règle générique pour toutes les modales --- */
.modal {
    z-index: 2000 !important; /* toujours devant */
}

/* Assure que le conteneur de datetimepicker a position relative */
.input-group.date {
  position: relative; /* Nécessaire pour le datetimepicker */
}

.modal .modal-dialog {
  margin: 5vh auto 5vh auto; /* espace haut ET bas + centré */
  max-height: 90vh;          /* jamais plus haut que la fenêtre */
  max-width: 100vw;          /* jamais plus large que l’écran */
}

.modal .modal-content {
  max-height: 90vh;          /* limite interne */
  overflow: hidden;          /* éviter débordements */
  display: flex;
  flex-direction: column;    /* permet au body d’occuper l’espace restant */
  border: 3px solid #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
}

.modal .modal-body {
    overflow-y: auto;          /* scroll si contenu trop grand */
    flex: 1 1 auto;            /* occupe l’espace restant */
}

/* --- tailles personnalisées (sur desktop seulement) --- */
.modal.modal-s .modal-dialog { max-width: 20vw !important; width: 20vw !important; }
.modal.modal-m .modal-dialog { max-width: 40vw !important; width: 40vw !important; }
.modal.modal-l .modal-dialog { max-width: 60vw !important; width: 60vw !important; }
.modal.modal-xl .modal-dialog { max-width: 75vw !important; width: 75vw !important; }
.modal.modal-xxl .modal-dialog { max-width: 90vw !important; width: 90vw !important; }

/* --- cas particuliers pour PDF --- */
.modal.modal-xl-PDF .modal-dialog {
  max-width: 80vw !important;
  width: 80vw !important;
  height: 90vh !important;
}

.modal.modal-xl-PDF .modal-content {
  height: 100% !important;
}

.modal.modal-xl-PDF .modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.modal.modal-xl-PDF iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Largeur proche de la modal-l */
.modal.modal-l-dates .modal-dialog {
  max-width: 60vw !important;
  width: 60vw !important;
  margin: 3vh auto 3vh auto; /* un peu moins de marge haut/bas */
  max-height: 94vh;          /* plus haute que la modale standard */
}

.modal.modal-l-dates .modal-content {
  max-height: 94vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal.modal-l-dates .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;          /* scroll interne si besoin */
}

/* Sur mobile et tablettes : forcer largeur max */
@media (max-width: 767.98px) {
  .modal .modal-dialog {
    width: 95% !important;     /* quasi pleine largeur */
    max-width: 95% !important; /* limite */
    margin: 5vh auto;          /* centré avec marge haut/bas */
  }

  .modal .modal-content {
    max-height: 85vh;          /* laisse un peu plus d’espace */
  }
}

/********************************************************************
                    Custom style Inputs
*********************************************************************/

.text-like-input {
  border: none;           /* pas de bordure */
  background: transparent;/* fond transparent */
  outline: none;          /* pas de contour au focus */
  font: inherit;          /* hérite de la police du parent */
  color: inherit;         /* hérite de la couleur du parent */
  padding: 0;             /* pas d’espacement interne */
  margin: 0;              /* pas d’espacement externe */
}

/********************************************************************/

/********************************************************************
                    Modal sizing
*********************************************************************/
/*
.modal-xl, .modal-xxl, .modal-m, .modal-l, .modal-Planning, .modal-s, .modal-sl, .modal-mDates{
    top: 10%;
    overflow-y: auto;
}

.modal-sl {
    max-width: 30%;
    width: 30%;
}

.modal-l {
    max-width: 40%;
    width: 40%;
    max-height: 70% !important;    
}

.modal-m {
    max-width: 60%;
    width: 60%;
}

.modal-xl {
    max-width: 75%;
    width: 75%;
}

.modal-xxl {
    max-width: 80%;
    width: 80%;
}

.modal-xl-PDF {
    max-width: 40vw;  
    width: 40vw;
    max-height: 90vh; 
    height: 90vh;
}

.modal-xl-PDF .modal-dialog {
    max-width: 100% !important; 
    max-height: 100% !important; 
    width: 100% !important;
    height: 100% !important;
}

.modal-xl-PDF .modal-content {
    height: 100% !important;
    width: 100% !important;
}

.modal-xl-PDF .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden; 
}

.modal-xl-PDF iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-mDates {
    max-width: 60% !important;
    width: 60% !important;
    min-height: 50vh !important;  
    height: auto !important;
    max-height: 80vh !important;  
}

.modal-mDates .modal-dialog {
    height: auto !important; 
    max-height: 80vh !important;  
    display: flex !important;
    align-items: flex-start !important;  
    justify-content: center !important;
}

.modal-mDates .modal-content {
    overflow-y: auto !important;  
    max-height: 100% !important;  
    min-height: 50vh !important;  
}

.modal-Session {
    max-width: 50% !important;
    width: 50% !important;
    min-height: 50vh !important;  
    height: auto !important;
    max-height: 80vh !important; 
}

.modal-Session  .modal-dialog {
    height: auto !important;  
    max-height: 80vh !important; 
    display: flex !important;
    align-items: flex-start !important; 
    justify-content: center !important;
}

.modal-Session  .modal-content {
    overflow-y: auto !important;  
    max-height: 100% !important;  
    min-height: 50vh !important;  
}






.modal {
    overflow: visible !important;
}


.modal-Planning {
    max-width: 40%;
    width: 40%;
}

.modal-s {
    max-width: 20%;
    width: 20%;
    max-height: 40vh; 
    height: 40vh;
}

.modal-s .modal-dialog {
    max-width: 100% !important; 
    max-height: 100% !important; 
    width: 100% !important;
    height: 100% !important;
}

.modal-s .modal-content {
    height: 100% !important;
    width: 100% !important;
}

.modal-s .modal-body {
    height: 100% !important;
    width: 100% !important;
    padding: 0; 
    display: flex;
    justify-content: center;
}

.modal {
    z-index: 2500; 
}

/********************************************************************/

/********************************************************************
                  SWALFIRE
*********************************************************************/

.swal2-container {
    z-index: 20000 !important;
}

/********************************************************************/


*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

nav {
    display: block;
}

.dashboard {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
}

.dashboard-app {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 2;
    -webkit-flex-grow: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
    margin-top: 84px;
}



.dashboard-nav {
    min-width: 238px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    z-index: 1500;
}

.dashboard-compact .dashboard-nav {
    display: none;
}

.dashboard-nav header {
    min-height: 84px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.dashboard-nav header .menu-toggle {
    display: none;
    margin-right: auto;
}


.dashboard-nav a:hover {
    text-decoration: none;
}

.dashboard-nav a {
    text-decoration: none !important;
    color: #fff;
}


/*---------------------------------------------------------------------------
            STYLE ICONES TOOLBAR
---------------------------------------------------------------------------*/

.Left-Menu-Icons{
    font-size: 20px;
    margin-right: 20px;
    color: var(--color, #507b93);
    padding-right: 1.5rem;
}


/*---------------------------------------------------------------------------
            DOCTOASSIST COLORS
---------------------------------------------------------------------------*/
:root {
    --bs-DoctoAssist: #34657f;
}

.btn-DoctoAssist {
    color: #fff;
    background-color: #34657f;
    border-color: #34657f;
}
.btn-DoctoAssist:hover {
    color: #fff;
    background-color: #2c566c;
    border-color: #2a5166;
}
.btn-check:focus + .btn-DoctoAssist, .btn-DoctoAssist:focus {
    color: #fff;
    background-color: #2c566c;
    border-color: #2a5166;
    box-shadow: 0 0 0 0.25rem rgba(82, 124, 146, 0.5);
}
.btn-check:checked + .btn-DoctoAssist, .btn-check:active + .btn-DoctoAssist, .btn-DoctoAssist:active, .btn-DoctoAssist.active, .show > .btn-DoctoAssist.dropdown-toggle {
    color: #fff;
    background-color: #2a5166;
    border-color: #274c5f; }
    .btn-check:checked + .btn-DoctoAssist:focus, .btn-check:active + .btn-DoctoAssist:focus, .btn-DoctoAssist:active:focus, .btn-DoctoAssist.active:focus, .show > .btn-DoctoAssist.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(82, 124, 146, 0.5);
}
.btn-DoctoAssist:disabled, .btn-DoctoAssist.disabled {
    color: #fff;
    background-color: #34657f;
    border-color: #34657f;
}
.btn-outline-DoctoAssist {
    color: #34657f;
    border-color: #34657f;
}
.btn-outline-DoctoAssist:hover {
    color: #fff;
    background-color: #34657f;
    border-color: #34657f;
}
.btn-check:focus + .btn-outline-DoctoAssist, .btn-outline-DoctoAssist:focus {
    box-shadow: 0 0 0 0.25rem rgba(52, 101, 127, 0.5);
}
.btn-check:checked + .btn-outline-DoctoAssist, .btn-check:active + .btn-outline-DoctoAssist, .btn-outline-DoctoAssist:active, .btn-outline-DoctoAssist.active, .btn-outline-DoctoAssist.dropdown-toggle.show {
    color: #fff;
    background-color: #34657f;
    border-color: #34657f;
}
.btn-check:checked + .btn-outline-DoctoAssist:focus, .btn-check:active + .btn-outline-DoctoAssist:focus, .btn-outline-DoctoAssist:active:focus, .btn-outline-DoctoAssist.active:focus, .btn-outline-DoctoAssist.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(52, 101, 127, 0.5);
}
.btn-outline-DoctoAssist:disabled, .btn-outline-DoctoAssist.disabled {
    color: #34657f;
    background-color: transparent;
}
.alert-DoctoAssist {
    color: #1f3d4c;
    background-color: #d6e0e5;
    border-color: #c2d1d9;
}
.alert-DoctoAssist .alert-link {
    color: #19313d;
}
.list-group-item-DoctoAssist {
    color: #1f3d4c;
    background-color: #d6e0e5;
}
.list-group-item-DoctoAssist.list-group-item-action:hover, .list-group-item-DoctoAssist.list-group-item-action:focus {
    color: #1f3d4c;
    background-color: #c1cace;
}
.list-group-item-DoctoAssist.list-group-item-action.active {
    color: #fff;
    background-color: #1f3d4c;
    border-color: #1f3d4c;
}
.link-DoctoAssist {
    color: #34657f;
}
.link-DoctoAssist:hover, .link-DoctoAssist:focus {
    color: #2a5166;
}
.border-DoctoAssist {
    border-color: #34657f !important;
}
.text-DoctoAssist {
    color: #34657f !important;
}

.bg-DoctoAssist {
    background-color: #34657f !important;
}

.bg-DoctoAssist-light {
    background-color: #34657f50 !important;
}

.table-hover tbody tr:hover {
    background-color: #34657f50 ; /* Changez cette couleur selon vos besoins */
}

/*---------------------------------------------------------------------------
            END DOCTOASSIST COLORS
---------------------------------------------------------------------------*/



.dashboard-nav-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.dashboard-nav-item {
    min-height: 56px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    letter-spacing: 0.02em;
    transition: ease-out 0.5s;
    justify-content: left;
    font-size: 20px;
    margin-top: 10px;
    padding-left: 50px;
    padding-right:50px;
}

.dashboard-nav-item i {
    width: 10px;
    font-size: 25px;
}

.dashboard-nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.active {
    background: rgba(0, 0, 0, 0.221);
}

.active-SubMenu{
    background: rgba(0, 0, 0, 0.4);  
}

.dashboard-nav-dropdown {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.dashboard-nav-dropdown.show {
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-toggle:after {
    -webkit-transform: none;
    -o-transform: none;
    transform: none;
}

.dashboard-nav-dropdown.show > .dashboard-nav-dropdown-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.dashboard-nav-dropdown-toggle:after {
    content: "";
    margin-left: auto;
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(81, 81, 81, 0.8);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.dashboard-nav .dashboard-nav-dropdown-toggle:after {
    border-top-color: rgba(255, 255, 255, 0.72);
}

.dashboard-nav-dropdown-menu {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;

}

.dashboard-nav-dropdown-item {
    min-height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    transition: ease-out 0.5s;
    font-weight: lighter;
    padding-left: 20px;
    padding-right: 20px;
}

.dashboard-nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fafafa;
}

.menu-toggle:hover, .menu-toggle:active, .menu-toggle:focus {
    text-decoration: none;
    color: #858486;
}

.dashboard-toolbar {
    min-height: 70px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2000;
}

.nav-item-divider {
    height: 1px;
    overflow: hidden;
    background-color: rgba(236, 238, 239, 0.3);
}

.nav-dropdown-item-divider{
    height: 1px;
    overflow: hidden;
    background-color: rgba(236, 238, 239, 0.3);
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 2px;
    margin-bottom: 2px;
}

@media (min-width: 992px) {
    .dashboard-app {
        margin-left: 250px;
    }

    .dashboard-compact .dashboard-app {
        margin-left: 0;
    }
}


@media (max-width: 992px) {
    .dashboard-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
    }

    .dashboard-nav.mobile-show {
        display: block;
    }
}

@media (max-width: 992px) {
    .dashboard-nav header .menu-toggle {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
}

@media (min-width: 992px) {
    .dashboard-toolbar {
        left: 238px;
    }

    .dashboard-compact .dashboard-toolbar {
        left: 0;
    }
}

.bg-DoctoAssist{
    background-color: #34657f;
}




/*---------------------------------------------------------------------------
            CUSTOMIZED TABLE CUSTOMER CHOICE FOR AGENT
---------------------------------------------------------------------------*/

#CustomersList tbody tr{
	cursor: pointer;
}

.dataTables_wrapper thead th {
    vertical-align: middle;
}

.appointments-criteria-header {
    font-size:1vw;
}

.appointments-criteria {
    margin-top: 5px;
}

.a-profile{
    outline:none;
}

.profile-menu{
    margin-right: -10px;
}

.img-profile {
    border-radius: 50%;
    margin-right: 30px;
    width: 60px; /* assurez-vous que l'image occupe tout l'espace du badge */
    height: auto; /* maintient les proportions de l'image */
    object-fit: cover;
}

.img-profile-dropdown {
    border-radius: 50%;
    width: 50%; /* assurez-vous que l'image occupe tout l'espace du badge */
    height: auto; /* maintient les proportions de l'image */
    cursor: pointer;
}

.quote {
    margin-top: 20px;
}

.quote-typecustomer {
    margin-bottom: 20px;
}

.Invoice {
    margin-bottom: 20px;
}

.pointer-cursor:hover {
    cursor: pointer;
  }


/* Masquer la flèche du dropdown-toggle */
.dropdown-toggle::after {
    display: none !important;
}

/* Supprime les bordures sur le clic du badge de l'utilisateur ,button:focus */
a.initials:focus{
    outline: none;
}


/* Supprimer les bords d'un menu deroulant */
.dropdown-toggle {
    border: none;
}


/* Créer un badge avec les initiales */
.navbar-badge {
    background-color: #87a6c1; /* Couleur de fond */
    color: #fff; /* Couleur du texte blanc */
    width: 50px; /* Largeur du badge */
    height: 50px; /* Hauteur du badge */
    border-radius: 50%; /* Bordure arrondie pour créer un badge rond */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
  }

.dropdown-circle {
width: 50px; /* Diamètre du rond */
height: 50px; /* Diamètre du rond */
background-color: #87a6c1; /* Couleur de fond bleue */
color: #fff; /* Couleur du texte blanc */
border-radius: 50%; /* Bordure arrondie pour créer un rond */
display: flex;
align-items: center;
justify-content: center;
margin-left: auto; /* Centrer horizontalement */
margin-right: auto; /* Centrer horizontalement */
margin-bottom: 10px;
}

.main-content {
    overflow: auto;
}

.flash-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3500;
    max-width: 90%;
}

.close-alert {
border: none;
outline: none;
background: none;
cursor: pointer;
}

.mailing-editor {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 300px;
    font: 14px Arial, sans-serif;
}

.mailing-hidden-color-input {
    position: absolute;
    visibility: hidden;
}

.mailing-content-toolbar button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mailing-content-toolbar button i {
    font-size: 18px;
}

font[size="1"] {
    font-size: 8px;
}
font[size="2"] {
    font-size: 10px;
}
font[size="3"] {
    font-size: 12px;
}
font[size="4"] {
    font-size: 14px;
}
font[size="5"] {
    font-size: 18px;
}
font[size="6"] {
    font-size: 24px;
}
font[size="7"] {
    font-size: 36px;
}



/*---------------------------------------------------------------------------
            FULLCALENDAR STYLES - DESKTOP + MOBILE
---------------------------------------------------------------------------*/

/* STRUCTURE */
.ContainerCalendar,
.RowCalendar,
.Calendar {
    height: 100%;
}

/* TITRES */
.fc .fc-col-header-cell-cushion {
    text-decoration: none !important;
    color: #000000 !important;
    font-weight: bold;
}

.fc-timegrid-axis-cushion {
    color: black !important;
    text-decoration: none !important;
    cursor: default;
}

/* BOUTONS - APPARENCE GLOBALE (DESKTOP) */
.fc .fc-button {
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    height: 38px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* BOUTONS - PERSONNALISATION DES COULEURS */
.fc-prev-button,
.fc-next-button,
.fc-today-button,
.fc-dayGridMonth-button,
.fc-timeGridWeek-button,
.fc-timeGridDay-button,
.fc-GotoFirstAppointment-button {
    background-color: #34657f !important;
    border: 1px solid #34657f !important;
    color: #ffffff !important;
}

.fc-prev-button,
.fc-timeGridDay-button {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.fc-next-button,
.fc-timeGridMonth-button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.fc-prev-button:hover,
.fc-next-button:hover,
.fc-today-button:hover,
.fc-dayGridMonth-button:hover,
.fc-timeGridWeek-button:hover,
.fc-timeGridDay-button:hover,
.fc-GotoFirstAppointment-button:hover {
    background-color: #2c566c !important;
    border-color: #2c566c !important;
    color: #ffffff !important;
}

/* BOUTON ACTIF */
.fc-button.fc-button-active {
    background-color: #1f3d4c !important;
    border: 1px solid #1f3d4c !important;
    color: #ffffff !important;
}

/* ICÔNE CALENDRIER PERSONNALISÉE */
.custom-calendar-icon {
    display: inline-block;
    width: 1.9em;
    height: 1.9em;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 6px;
    position: relative;
    font-size: 0.8rem;
    font-weight: bold;
    color: #34657f;
    text-align: center;
    line-height: 1.9em;
    margin-right: 0.4em;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    padding-top: 0.15rem;
}

.custom-calendar-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 0.45em;
    width: 100%;
    background-color: #34657f;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/*---------------------------------------------------------------------------
            RESPONSIVE MOBILE (max-width: 768px)
---------------------------------------------------------------------------*/
@media (max-width: 768px) {
    .fc-header-toolbar {
        display: flex;
        flex-wrap: wrap;        /* permet au titre de prendre une ligne à part */
        align-items: center;
    }

    /* TITRE : full-width, centré, en premier */
    .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
        order: 0;
        flex: 0 0 100%;         /* occupe toute la ligne */
        text-align: center;
        margin-bottom: 0.5rem;
    }

    /* BLOC GAUCHE (chunk 1) : à gauche sous le titre */
    .fc-header-toolbar .fc-toolbar-chunk:nth-child(1) {
        order: 1;
        flex: 0 0 50%;          /* demi-largeur */
        display: flex;
        justify-content: flex-start;
    }

    /* BLOC DROITE (chunk 3) : à droite sous le titre */
    .fc-header-toolbar .fc-toolbar-chunk:nth-child(3) {
        order: 2;
        flex: 0 0 50%;          /* demi-largeur */
        display: flex;
        justify-content: flex-end;
    }

    /* Ajustement des boutons */
    .fc .fc-button,
    .fc-prev-button,
    .fc-next-button,
    .fc-today-button,
    .fc-GotoFirstAppointment-button,
    .fc-dayGridMonth-button,
    .fc-timeGridWeek-button,
    .fc-timeGridDay-button {
        font-size: 0.6rem !important;
        padding: 0.25rem 0.5rem !important;
        height: auto !important;
    }

    /* Ajustements mineurs sur titre et grille */
    .fc .fc-toolbar-title {
        font-size: 0.80rem;
        font-weight: 600;
    }
    .fc .fc-scrollgrid {
        font-size: 0.60rem;
    }

    /* ICÔNE CALENDRIER réduit */
    .custom-calendar-icon {
        width: 1.8em;
        height: 1.9em;
        font-size: 0.5rem;
        border-radius: 2px;
        text-align: center;
        line-height: 1.7em; /* même valeur que la hauteur */
        padding-top: 0.2rem;
    }

    .custom-calendar-icon::before {
        height: 0.3em;
    }

}


/*---------------------------------------------------------------------------*/

.no-border {
    border-top: none; /* Supprime la bordure */
}

.swal-title-small {
    font-size: 22px; /* Définir la taille souhaitée */
}

.CustomerForm-invalid-feedback{
    color: #dc3545;
    margin-top : -15px;
    font-size: smaller;
}

.hidden-field {
    display: none;
}

.SiteForm-invalid-feedback{
    color: #dc3545;
    font-size: smaller;
}

/*---------------------------------------------------------------------------
                            TO BE ABLE TO RESIZE A DIV
---------------------------------------------------------------------------*/
.resizable-div {
    width: 100%;
    min-height: 100px;
    max-width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    resize: vertical; /* Permet le redimensionnement horizontal et vertical */
    overflow: auto; /* Nécessaire pour voir la zone de redimensionnement */
}
.resizable-div-NewTraining {
    width: 100%;
    min-height: 100px;
    max-width: 100%;
    padding: 8px;
    resize: vertical; /* Permet le redimensionnement horizontal et vertical */
    overflow: auto; /* Nécessaire pour voir la zone de redimensionnement */
}

/*---------------------------------------------------------------------------
                            POPOVER
---------------------------------------------------------------------------*/
.popover {
    z-index: 9999 !important; /* Plus haut que celui de la modale */
    background-color: rgba(0, 0, 0, 0.1); /* Fond légèrement grisé */
    color: #333; /* Couleur du texte */
    font-size: 14px; /* Taille du texte plus petite */
    border-radius: 5px; /* Bordure arrondie */
    padding: 0px; /* Un peu d'espace autour du texte */
    max-width: none; /* Retire toute contrainte de largeur */
    width: auto; /* Ajuste la largeur en fonction du contenu */
    white-space: normal; /* Permet au texte de se couper correctement si trop long */
    max-height: none; /* Retire toute contrainte de largeur */
    height: auto; /* Ajuste la largeur en fonction du contenu */
}



.scrollable-div {
    width: 100%;
    max-height: 30vh;
    overflow-y: scroll;   /* Défilement uniquement vertical */
}

/********************************************************************/
/* Pour positionner l'indicateur de lecture du message dans le chat */
/********************************************************************/

.message-status-icon {
    font-size: 14px;
    color: #999;
    margin-left: 8px;
}

/********************************************************************/


.tooltip {
  z-index: 9999 !important;
}

.tooltip.tooltip-wide .tooltip-inner {
    font-size: 12px;
    background-color: #858486;
    max-width: 500px; 
    text-align: left;
    white-space: normal;
}


