/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
CHRATE GRAPHIQUE GAB(2026-07-21)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Boutons action : #006AFF
Nav bar : #1E3A5F
Border boutons : #0F4C81
onglet actifs : #bdd4ff
#9cc2fd



*/

.form-control,
.btn-primary,
.inputstyle,
.input-group-addon,
.zoneSubmenu,
.dynatable-search

 {
    border-radius: 6px !important;
}

body {
	/*background: url('../images/testBg00.png') repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	color:#000;
  	background-color:#ffffff;
  	font-family: 'Open Sans',Arial,Helvetica,Sans-Serif;*/
        
    /*font-family: 'Raleway', sans-serif;*/
    background-color : #f0f0f0;
}

.navbar-fixed-top {
  top: 0;
  background-color:#1E3A5F;
  height: 100px;
}


.navbar{
    margin-bottom : 0px;
}

.navbar .nav > li > a { color:#ffffff;}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
      /*color: #00CCFF;*/
      color : #2794e7;
      /*background: #003469;*/
      /*background: #304250;*/
      background: #304250;
      border-radius: 15px;
 }

.contFull{
  margin: 0 auto;
  width: 100%;
}


container-fluid{
	padding: 0px;
}

hr{
    border-top : 1px solid silver;
}
#titreTop{
	/*color:#636c6b;*/
	border-bottom:hidden;
}

/*#gauche{
	background-color:#0CF;
	border-color:#F00;
	border-style:dotted;
	padding:0%;
}*/


/*.fullline{
	display:inline-block;	
}*/

/*.espaceEntreBoutons{
margin:10px 0;
padding:10px;
}*/

#imCentre{ 
  text-align:center; /* centrage horizontal d'un élément en-ligne */ }
img { 
  vertical-align:middle;
}

.thumbnailTrans{
  display: block;
  padding: 4px;
  margin-bottom: 20px;
  line-height: 1.42857143;
  background-color: #003469;
  border: 1px solid #003469;
  border-radius: 4px;	
	
}
.noGras{
	text-height:font-size;
	text-emphasis:dot;
}


#barreBas{
	font-size:x-small;
	color:#999;
	text-align:center;
}

.basDepage{
	/*background-color:#FFF;*/
        font-family : sans-serif;
        /*background-color : #304250;*/
}

.basDepage img{
    border : 1px solid #424b52;
    border-radius: 25px;
    display : none;
}

.lienActif{
color:#1975D1;	
}

option.gras {
  font-weight:bold;
}


#btonSendForm{

	float:right;
}

.TitreGoH3 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.outer-div {
     padding: 10px;
     text-align: center;
}
.inner-div {
     display: inline-block;
     padding: 10px;
}

.scroll-panel-x{
    overflow-x: auto;
}

.scroll-panel-y{
    overflow-y: auto;
}


.dynatableCustomHeader{
    color : grey;
}

.dynatableCustomHeader:hover{
    color : silver;
}

.btn{
/*    margin:4px;*/
    vertical-align: 0%!important;
}

.btn-primary {
    background-color: #006AFF;
    border:none;
    text-decoration: none!important;
    margin-right: 5px!important;

}

.btn-success{
    background-color : #208F7C;
}

.btn-danger{
    background-color : #A94442;
}

.btnZoneActive{
    background-color: #2c74e8;
    background-color: #1E3A5F;
}

.btn-default{
    background-color: #F2F2F2;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    background-color: grey!important;
}

.editReportView-warning {
    display:block;
    height:60px;
}

/*.blocker{
    //z-index: 1000;
}

.modal{
    extension pour neutraliser un conflit entre modal de jquery.modal et
    modal de Bootstrap (qui met un overflow:hidden sur les modals alors que
    jquery.modal non, ce qui pose un problème dans l'affichage de la croix
    pour fermer la fenêtre)
    overflow : visible;
    width : auto;
    z-index: 1001;
/*}

.thumbnail{
    /*background-color: #F2F2F2;*/
    border-radius : 4px;
    overflow-x : auto;
}

.nav-tabs > li.active > a {
    background-color : #44637b;
    color : #FFFFFF;
}

.darkFontColor{
    color : #252f38;
}

a{
    color : #2794e7;
    color : #1E3A5F;
}

.sopThumbContainer{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
    padding : 10px;
    margin : 10px;
    border: 1px solid #ddd;
    /*height : 350px;*/
    /*overflow : auto;*/
}

.sopThumbContainer .deleteBtn  {
    margin-top: 10px;
}

.sopThumbImage{
    /*height : 70%;*/
    /*border : 1px solid green;*/
    width: 50px;
    margin: 0 auto;
}

.sopThumbDescription{
    height : 50px;
    padding : 3px;
    overflow : hidden;
}

.soon{
    margin-top : 50px;
    margin-bottom : 50px;
}

.planningIframe{
    width : 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
}

.controlRoomThumbContainer{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
    padding : 10px;
    margin : 10px;
    /*height : 350px;*/
    /*overflow : auto;*/
}

.controlRoomThumbImage{
    overflow : auto;
}

.controlRoomThumbDescription{
    height : 50px;
    padding : 3px;
    overflow : hidden;
}

.controlRoomIframe{
    width : 100%;
    height : 350px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
}

.controlRoomCamImg {
    max-width: 100%;
    height: auto;
}

/*
**** loader ****
*/
.blockingLoader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image:url('../img/loaderBar80.gif');
  background-color: transparent;
  background-repeat:no-repeat;
  background-position:center;
  z-index:10000000;
  opacity: 0.4;
  filter: alpha(opacity=40); /* For IE8 and earlier */
}

.nonBlockingLoaderInTarget{
  position:relative;
  top:0;
  left:0;
  width:80px;
  height:80px;
  background-image:url('../img/loaderBar80.gif');
  background-color: transparent;
  background-repeat:no-repeat;
  background-position:center;
  z-index:10000000;
  opacity: 0.4;
  filter: alpha(opacity=40); /* For IE8 and earlier */
  border-radius: 50px;
  margin : auto;
}

.nonBlockingLoader{
  position: fixed;
  cursor: wait;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:url('../img/loaderBar80.gif');
  background-color: transparent;
  background-repeat:no-repeat;
  background-position:center;
  z-index:10000000;
  opacity: 0.4;
  filter: alpha(opacity=40); /* For IE8 and earlier */ 
  border-radius: 50px;
  margin : auto;
  text-align:center;
  overflow : visible;
}

#geocheckPrecisionDisplay, #geocheckPrecisionDisplay_waypoint, #geocheckPrecisionDisplay_zone {
  background-image:url('../img/loaderBar80.gif');
  background-color: transparent;
  background-repeat:no-repeat;
  background-position:center;
  text-align : center;
  font-size : 40px;
  color : #998fa3;
  border-top:0px solid silver;
}

.panel-body{
    /*since panels are white and default color is bright (see body class), 
      we force the use of dark fonts from class darkFontColor
    */
    color : #252f38;
    overflow-x: auto;
}

.datepicker, .datetimepicker{
    color : #252f38;
}

.biggerGlyphicon{
    font-size: 30px;
}

.dropzone{
    border : none;
}

.dz-remove{
    position: absolute;
    margin-top: -140px;
    margin-left: 37px;
}

.thumbnailSubTitle{
    /*background-color:#E8E8E8;*/
    background-color:#f5f5f5;
    padding-left : 5px;
    /*border-bottom:1px solid silver;*/
    /*font-weight: bold;*/
    /*border-radius : 5px;*/
    /*padding : 5px;*/
    font-size:22px;
}

@-moz-document url-prefix() {
    #NFCCheckButton {
        background-image: url("../images/nfcIcon.png");
        background-size: contain;
        background-size: 40%;
        background-repeat: no-repeat;
        background-position: center;
        padding: 18px 16px;
        position: relative;
        bottom: 8px;
    }
}

.workflowBtnReport{
    /*display: inline;*/
    margin-bottom: 2px;
    margin-left : 5px;
}

.btn-primary[disabled]{
    color : grey;
    background-color: #9ea3a9;
    border:2px dotted #3b3b46;
}

.btn-primary[disabled]:hover{
    color : grey;
    background-color: #9ea3a9;
    border:2px dotted #3b3b46;
}

pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 border : 0px solid #cccccc;
 border-left : 1px solid #cccccc;
 background-color : transparent;
}

/*.datepicker{
    color : #fff!important;
    margin-top:0%!important;
    background-color:#333;
    position:absolute;
    width:15%!important;
    z-index: 800!important;
}*/

.zoneSubmenu{
    background-color:#007bff;
    background-color:#1E3A5F;
    /*padding:5px;*/
    color : white;
    color: #111;
	-webkit-box-shadow: 0 3px 6px -6px #333;
	   -moz-box-shadow: 0 3px 6px -6px #333;
            box-shadow: 0 3px 6px -6px #333;
}

.zoneSubmenu h4{
    color:white;
}

.zoneSubmenu a{
    color:white;
}

.prestationsTabContent{
    padding-top:5px;
}

.adminUserScrollableClientDiv{
   overflow-y:scroll; 
   height: 250px; 
} 

.tag{
    font-style : oblique;
    color : silver; 
    font-size : 12px;
}

.mapInfoWindow{
    border-radius: 5px;
    border : 1px solid #44637b;
    padding:5px;
    /* background-color: #1E3A5F; */
    background-color:#F9F9F9;
}

.brightPanel{
    background-color:#fff;
    padding : 5px;
    color : #252f38; /*<=> darkFontColor class*/
    border-radius: 5px;
}

.statusButton{
    width: 50px;
    height: 50px;
    border-radius: 60px;
    overflow : hidden;
    margin-bottom:5px;
    border-radius: 30px!important;
}

.userStatusIndicator{
    padding-left: 10px;
    font-style:oblique;
    font-size: 12px;
    color: white;
}

.userStatusIndicator a {
    color: white;
}

.textInfo{
    font-style:oblique;
}

.unvisibleNFCInputField{
    outline-style:none;
    border: none;
    color : white;
}

/* LOGIN FORM CSS */

.loginform{
    background-image: linear-gradient(to bottom, #0a1521, #0f1f31, #142a41, #193552, #1f4064);
    min-height:100vh;
    padding-top:10%;
}

.loginform .loginbrand{
    margin:auto!important;
    padding-bottom:50px;
}

.loginform .form{
/*    width:40%;
    margin:auto;*/
   /* margin-left:27%;*/

}

.loginform .labelstyle{
    justify-content: center;
    width:10%;
    background-color:transparent;
}

.loginform .input-group {
    margin: 6px 0;
}

.loginform .input-group-addon{
    border:none;
    color:#006EFF;
    color: #006EFF;
    background-color:transparent;
    font-size:20px;
    padding: 6px;
}

.loginform .inputstyle{
/*    padding:6%;
    margin:2%;*/
}

/*.loginform .form > .input-group{
    margin-top: -5%;
}*/


.loginform .submitform{
    background-color:#0063cc/*#007bff;*/
    background-color: #1E3A5F;
    font-weight:bold;
    font-size:22px;
    color:#fff;
    margin-left: 5%!important;
/*    margin-top:5%!important;*/
    padding: 25px;
    line-height: 0;
}

.loginform .clientLink{
    color:#222!important;
    text-decoration: none!important;
}

.loginform .glyphicon{
    line-height:0!important;
    display:inline;
}

/*.loginform .form-control{
    height:70px!important;
}*/

@media (max-width: 480px) {

    .loginform{
        padding-top:5%;
    }
    
    .loginform .submitform{
        margin-bottom: 12px;
    }
    
    .loginform .loginbrand{
        padding-bottom:70px;
    }

    .loginform .form-control{
        height:50px!important;
    }

    .loginform .input-group-addon{
        margin:5%;
        line-height: 1.5;;
    
    }

}

#wqrValueDiv {
    margin: 6px 0;
}


/* Smartphones uniquement */
@media screen and (max-width: 576px) {
    #reportHeader {
        display: none !important;
    }
}





/* =====================================================
   ZONE CARD
   ===================================================== */

.zoneCard {
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border: 1px solid #edf0f4;
}


/* =====================================================
   KPI DASHBOARD
   ===================================================== */

.zoneKpiPanel {
    background: transparent;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}


.kpiTitle {
    width:100%;

    font-size: 14px;
    font-weight: 600;
    color: #1E3A5F;

    margin-bottom: 4px;
}


.kpiCard {

    display:flex;
    align-items:center;

    background:#fff;

    border-radius:10px;

    padding:7px 10px;

    box-shadow:0 2px 6px rgba(0,0,0,0.06);

    min-width:95px;
}

.kpiIcon {
    font-size: 18px;
    color: #1E3A5F;
    margin-right: 8px;
}


.kpiValue {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}


.kpiLabel {
    font-size: 11px;
    color: #777;
    margin-left: 5px;
}


.kpiWarning .kpiValue {
    color: #d97706;
}


.kpiSuccess .kpiValue {
    color: #16a34a;
}


.kpiDanger .kpiIcon,
.kpiDanger .kpiValue {
    color: #dc3545;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media(max-width:768px){

    .kpiCard {
        width: 100%;
        margin-bottom: 8px;
        margin-right:0;
    }

    .zoneCard {
        padding:10px;
    }

}

/* ==========================================
   TOOLS - COMPACT SAAS DASHBOARD
   ========================================== */


/* Container */

#clientLogistics {
    padding:10px 5px;
}


/* Dashboard grid */

#clientLogistics .row {
    display:flex;
    flex-wrap:wrap;
    margin-bottom:8px;
}


/* Chaque tuile */

#clientLogistics .row > .col-md-12 {
    width:25%;
    padding:8px;
}


/* Titre */

#clientLogistics h3 {
    font-size:16px;
    font-weight:600;
    color:#1e293b;
    margin:10px 0 5px 0;
}


/* Liste */

#clientLogistics ul {
    list-style:none;
    padding:0;
    margin:0;
}


/* Carte */

#clientLogistics li {

    background:#0063cc;

    border:1px solid #0063cc;
    border-radius:10px;

    padding:10px 14px;

    min-height:45px;

    display:flex;
    align-items:center;

    box-shadow:0 2px 5px rgba(0,0,0,.10);

    transition:all .2s ease;
}


/* Hover */

#clientLogistics li:hover {

    transform:translateY(-1px);

    background:#0056b3;

    box-shadow:0 5px 12px rgba(0,0,0,.15);
}


/* Texte du lien */

#clientLogistics li a {

    width:100%;

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

    color:#ffffff;

    font-size:14px;
    font-weight:600;

    text-decoration:none;
}


/* Icône action */

#clientLogistics li a:after {

    content:"↗";

    color:#ffffff;

    font-size:16px;

    opacity:.85;
}


#clientLogistics li a:hover {

    color:#ffffff;
}



/* ==========================================
   RESPONSIVE
   ========================================== */


/* Tablette */

@media(max-width:992px) {

    #clientLogistics .row > .col-md-12 {
        width:50%;
    }

}


/* Smartphone */

@media(max-width:600px) {

    #clientLogistics .row > .col-md-12 {
        width:100%;
    }

}






.eventSelector,
.eventSelector option,
.eventSelector optgroup {
    font-family: "DejaVu Sans", Arial, sans-serif !important;
    font-size: 10.5pt !important;
}






/*XXXXXXXXXXXXXXXXXXXXXXXXXX
/*CSS CHAMPS DE RECHERCHE
XXXXXXXXXXXXXXXXXXXXXXXXXXX*/


/* Dynatable search */
.dynatable-search {
    font-family: "DejaVu Sans", Arial, sans-serif;
    font-size: 10.5pt;
}

.dynatable-search input[type="search"] {
    font-family: "DejaVu Sans", Arial, sans-serif !important;
    font-size: 10.5pt !important;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 6px 12px;
    height: 36px;
}



/*XXXXXXXXXXXXXXXXXXXXXXXXXXXX
TABLES DYNTABLE 
XXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

/* =====================================================
   DYNTABLE - SAAS MODERN STYLE
   ===================================================== */

/* Conteneur */
.table-responsive {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 20px 28px 20px;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}


/* Table */
.table-responsive table.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-bottom: 0;
}


/* Header */
.table-responsive table.table thead th {
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 12px 16px;
    border: none;
}


/* Lignes */
.table-responsive table.table tbody tr {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    transition: all .18s ease;
}


/* Cellules */
.table-responsive table.table tbody td {
    padding: 14px 16px;
    color: #334155;
    font-size: 14px;
    border: none;
    vertical-align: middle;
}


/* Arrondis début et fin de ligne */
.table-responsive table.table tbody tr td:first-child {
    border-radius: 10px 0 0 10px;
}


.table-responsive table.table tbody tr td:last-child {
    border-radius: 0 10px 10px 0;
}


/* Effet hover */
.table-responsive table.table tbody tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}


/* Liens */
.table-responsive table.table a {
    color: #1E3A5F;
    text-decoration: none;
    font-weight: 500;
}


.table-responsive table.table a:hover {
    color: #2563eb;
}


/* =====================================================
   DYNATABLE SEARCH
   ===================================================== */

.dynatable-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #64748b;
    font-size: 14px;
}


.dynatable-search input[type="search"] {
    width: 280px;
    height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #d9e2ec;
    font-size: 14px;
    font-family: inherit;
    transition: all .2s ease;
}


.dynatable-search input[type="search"]:focus {
    outline: none;
    border-color: #1E3A5F;
    box-shadow: 0 0 0 3px rgba(30,58,95,.12);
}


/* =====================================================
   DYNTABLE PAGINATION
   ===================================================== */

.dynatable-pagination-links {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 0 0 0;
    margin: 0;
}


.dynatable-pagination-links li {
    list-style: none;
}


.dynatable-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: all .15s ease;
}


.dynatable-page-link:hover {
    background: #e2e8f0;
}


.dynatable-active-page {
    background: #1E3A5F;
    color: #ffffff;
}


/* Compteur */
.dynatable-record-count {
    color: #64748b;
    font-size: 13px;
}

.dynatable-pagination-links {
    margin-top: 10px;
}

.dynatable-record-count {
    display: inline-block;
    margin-top: 12px;
}












/* =====================================================
   REPORTS TABLE - STYLE SAAS MODERNE
   ===================================================== */


/* Conteneur */
#reportsTableView {
    width:100%;
    border-collapse:separate;
    border-spacing:0 8px;
    background:transparent;
    margin-bottom:0;
}


/* Suppression Bootstrap striped */
#reportsTableView.table-striped > tbody > tr:nth-of-type(odd) {
    background-color:transparent;
}


/* Header */
#reportsTableView thead th {

    background:transparent;
    color:#1E3A5F;

    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;

    padding:12px 16px;

    border:none;
}


/* Lignes façon cartes */
#reportsTableView tbody tr {

    background:#ffffff;

    box-shadow:
        0 1px 4px rgba(15,23,42,.06);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


/* Cellules */
#reportsTableView tbody td {

    padding:14px 16px;

    color:#334155;
    font-size:14px;

    vertical-align:middle;

    border:none;
}


/* Arrondis */
#reportsTableView tbody td:first-child {

    border-radius:10px 0 0 10px;
}


#reportsTableView tbody td:last-child {

    border-radius:0 10px 10px 0;
}


/* Hover */
#reportsTableView tbody tr:hover {

    transform:translateY(-1px);

    box-shadow:
        0 5px 14px rgba(15,23,42,.12);

}


/* Colonne cachée ID */
#reportsTableView td:first-child,
#reportsTableView th:first-child {

    display:none;

}


/* Colonne actions */
#reportsTableView td:last-child {

    white-space:normal;
    min-width:420px;

}


/* Boutons actions */
#reportsTableView .btn-primary {

    background:#1E3A5F;

    border:none;

    border-radius:8px;

    padding:6px 10px;

    font-size:12px;

    margin:2px;

    box-shadow:none;

    transition:.15s ease;

}


#reportsTableView .btn-primary:hover {

    background:#2563eb;

    transform:translateY(-1px);

}


/* Wrapper éventuel */
#reportsTableView_wrapper {

    background:#ffffff;

    border-radius:12px;

    padding:20px 20px 28px 20px;

    border:1px solid #e8edf2;

    box-shadow:
        0 2px 12px rgba(15,23,42,.06);

}


/* Petit espace sous la table */
#reportsTableView_wrapper,
#reportsTableView {

    margin-bottom:20px;

}





























/* =====================================================
   DASHBOARD WIDGETS - STYLE SAAS
   ===================================================== */

.widget.chart {

    background:#ffffff;

    border-radius:16px;

    padding:24px;

    margin-bottom:24px;

    /* espace horizontal entre les cartes */
    margin-left:15px;
    margin-right:15px;

    width:calc(50% - 30px);

    border:1px solid #e8edf2;

    box-shadow:
        0 4px 16px rgba(15,23,42,.06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


/* Effet hover léger */
.widget.chart:hover {

    transform:translateY(-2px);

    box-shadow:
        0 8px 24px rgba(15,23,42,.10);

}


/* Titre du graphique */
.widget.chart h3 {

    margin:0 0 20px 0;

    color:#1E3A5F;

    font-size:16px;

    font-weight:700;

    letter-spacing:.01em;

}


/* Zone graphique */
.widget.chart .chartjs-container {

    padding:10px 0;

}


/* Canvas */
.widget.chart canvas {

    max-height:330px;

}


/* Zone filtres */
.widget.chart .form-group {

    margin-bottom:15px;

}


/* Labels */
.widget.chart label {

    color:#64748b;

    font-size:13px;

    font-weight:600;

}


/* Date picker KoolReport */
.widget.chart .date-range-picker {

    border-radius:10px;

    border:1px solid #d9e2ec;

    height:38px;

    padding:9px 14px;

    color:#334155;

    background:#ffffff;

    transition:.2s ease;

}


.widget.chart .date-range-picker:hover {

    border-color:#1E3A5F;

}


/* Bouton valider */
.widget.chart .btn-primary {

    background:#1E3A5F;

    border:none;

    border-radius:8px;

    padding:8px 18px;

    font-size:13px;

    font-weight:600;

}


.widget.chart .btn-primary:hover {

    background:#2563eb;

}


/* Alignement bootstrap */
.widget.chart .row {

    margin-left:0;
    margin-right:0;

}






















/* =====================================================
   MODERN TABS - SAAS STYLE
   Compatible Bootstrap nav-tabs
   ===================================================== */


/* Conteneur des onglets */
.nav-tabs {

    border:none;

    display:flex;

    gap:8px;

    padding:6px;

    background:#f8fafc;

    border-radius:12px;

    margin-bottom:24px;

}


/* Chaque onglet */
.nav-tabs > li {

    margin:0;

}


/* Lien */
.nav-tabs > li > a {

    border:none !important;

    border-radius:10px;

    padding:10px 18px;

    color:#64748b;

    background:transparent;

    font-size:14px;

    font-weight:600;

    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;

}


/* Hover */
.nav-tabs > li > a:hover {

    background:#ffffff;

    color:#1E3A5F;

}


/* Onglet actif */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {

    background:#ffffff !important;

    color:#1E3A5F !important;

    border:none !important;

    box-shadow:
        0 2px 8px rgba(15,23,42,.12);

}


/* Suppression des bordures Bootstrap */
.nav-tabs > li > a {

    border-bottom:none !important;

}


/* Contenu */
.tab-content {

    padding-top:5px;

}










/* =====================================================
   NAVBAR - MODERN SAAS STYLE
   ===================================================== */


/* Barre principale */
.navbar.navbar-inverse {
    background: linear-gradient(
        135deg,
        #1E3A5F,
        #243B55
    );

    border: none;
    min-height: 64px;

    box-shadow:
        0 4px 18px rgba(15,23,42,.18);

    backdrop-filter: blur(8px);
}


/* Container */
.navbar .container-fluid {
    padding-left:25px;
    padding-right:25px;
}


/* Logo */
.navbar-brand {
    height:64px;
    display:flex;
    align-items:center;
}


.navbar-brand h3 {
    margin:0;
    color:white;
    font-size:22px;
    font-weight:700;
    letter-spacing:.02em;
}


/* Menu principal */
.navbar-nav.menuItem > li > a {

    color:#dbe7f3 !important;

    font-size:14px;
    font-weight:500;

    padding:10px 14px;

    line-height:20px;

    transition:.2s ease;

}

/* Hover menu */
.navbar-nav.menuItem > li > a:hover,
.navbar-nav.menuItem > li.active > a {

    color:white !important;

    background:rgba(255,255,255,.12) !important;

    border-radius:6px;

}


/* Supprime l'ancien effet Bootstrap */
.navbar-inverse .navbar-nav>.active>a {
    background:none;
}


/* Dropdown */
.navbar .dropdown-menu {

    margin-top:8px;

    border:none;

    border-radius:12px;

    padding:8px;

    background:#ffffff;

    box-shadow:
        0 10px 30px rgba(15,23,42,.18);

}


/* Items dropdown */
.navbar .dropdown-menu > li > a {

    padding:10px 16px;

    border-radius:8px;

    color:#334155;

    font-size:14px;

}


/* Hover dropdown */
.navbar .dropdown-menu > li > a:hover {

    background:#f1f5f9;

    color:#1E3A5F;

}



/* =====================================================
   NOTIFICATION
   ===================================================== */


.icon-notification-wrapper {

    position:relative;

    margin-right:15px;

}


.icon-notification-wrapper a {

    color:white;

    font-size:20px;

    opacity:.9;

}


.icon-notification-wrapper a:hover {

    opacity:1;

}


/* Badge */
.messageCountBell {

    position:absolute;

    top:-8px;
    right:-10px;

    background:#ef4444;

    color:white;

    border-radius:20px;

    font-size:11px;

    min-width:18px;

    height:18px;

    line-height:18px;

    padding:0;

}



/* =====================================================
   LOGOUT - NAVBAR MENU STYLE
   ===================================================== */

.navbar .logout {

    width:auto;
    height:auto;

    display:block;

    padding:22px 14px !important;

    border-radius:10px !important;

    background:transparent !important;

    color:#dbe7f3 !important;

    font-size:14px;

    font-weight:500;

    border:none !important;

    box-shadow:none !important;

}


/* Icône logout */
.navbar .logout i {

    margin-right:6px;

    font-size:14px;

}


/* Hover */
.navbar .logout:hover {

    background:rgba(255,255,255,.12) !important;

    color:white !important;

}


/* =====================================================
   USER INDICATOR SOUS LA BARRE
   ===================================================== */


.userIndicator {

    background:transparent;

    border:none;

    box-shadow:none;

    padding:0;

    margin:0;

    height:auto;

}


.userStatusIndicator {

    padding:10px 25px;

    color:#475569;

    font-size:13px;

}


.userStatusIndicator a {

    color:#1E3A5F;

    font-weight:600;

    text-decoration:none;

}


.userStatusIndicator a:hover {

    color:#2563eb;

}


/* =====================================================
   USER INDICATOR - HIDE ON MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .userIndicator {
        display: none;
    }

}


/* =====================================================
   ZONE SELECTION - MOBILE OPTIMIZATION
   ===================================================== */

@media (max-width: 768px) {


    #zoneSelectionTitle {
        width:100%;
        text-align:center;
    }

}

/* Masque le sélecteur de zone sur mobile pendant une prestation */
@media (max-width: 768px) {

    .hideZoneSelectorMobile {
        display:none;
    }

}













/* =====================================================
   DASHBOARD MOBILE - FULL WIDTH
   ===================================================== */

@media (max-width: 768px) {

    .widget.chart {

        width:100%;

        margin-left:0;
        margin-right:0;

        padding:16px;

        border-radius:12px;

    }


    .widget.chart canvas {

        width:100% !important;

        height:auto !important;

    }

}


/* =====================================================
   TABS MOBILE - RESPONSIVE WRAP
   ===================================================== */

.nav-tabs {

    display:flex;

    flex-wrap:wrap;

    width:100%;

}


.nav-tabs > li {

    margin-bottom:6px;

}


.nav-tabs > li > a {

    white-space:nowrap;

}


/* Smartphone */
@media (max-width:768px) {

    .nav-tabs {

        gap:6px;

        padding:8px;

    }


    .nav-tabs > li {

        flex:0 0 auto;

    }


    .nav-tabs > li > a {

        padding:8px 12px;

        font-size:13px;

    }

}

/* =====================================================
   USER INDICATOR AU-DESSUS DE LA SIDEBAR
   ===================================================== */

.userIndicator{

    position:relative;

    z-index:1200;

}

/* Icône activité */
.userStatusIndicator .fa-circle-play {

    color:#2563eb;
    margin-right:6px;

}


/* =====================================================
   LOOK PLUS MODEERNE USER INDICATOR 
   ===================================================== */

/* Icône utilisateur */
.userStatusIndicator .statusUserIcon {

    display:flex;
    align-items:center;
    justify-content:center;

    width:28px;
    height:28px;

    border-radius:50%;

    background:#f1f5f9;

}



.activeReportBadge {

    display:inline-flex;
    align-items:center;
    gap:8px;

    background:#ffffff;

    padding:6px 14px;

    border-radius:20px;

    box-shadow:
        0 2px 8px rgba(15,23,42,.12);

    font-size:13px;

    font-weight:600;
 margin-right:20px;

}


.activeReportBadge a {

    color:#1E3A5F;

    text-decoration:none;

}


.activeReportDot {

    width:9px;
    height:9px;

    background:#22c55e;

    border-radius:50%;

    display:inline-block;

}



/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
FIXER PROBLEME Z-INDEX MODALE vs TOP BAR
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

.navbar-fixed-top {
    z-index: 900 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 999999 !important;
}


.modal-dialog {
    margin-top: 30px !important;
}



/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MODERNISATION DU HEADER DE LA MODALE
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

.modern-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 45px;
    padding: 8px 15px 8px 25px !important;
    border-radius: 8px 8px 0 0;
}

.modal-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
}

.online-dot {
    width: 9px;
    height: 9px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    animation: pulseOnline 1.8s infinite;
}


.modal-date {
    opacity: 0.8;
    font-size: inherit;
    font-weight: inherit;
    margin-left: 15px;
    font-family: inherit;
}

@keyframes pulseOnline {
    0% {
        box-shadow: 0 0 0 0 rgba(46,204,113,0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(46,204,113,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46,204,113,0);
    }
}

.modern-modal-header .close {
    color: white;
    opacity: 0.9;
    font-size: 24px;
}

.modal-body {
    border-radius: 0 0 9px 9px;
}

.modal-content {
    border-radius: 8px;
    overflow: hidden;
}




/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
BOUTON FIN SERVICE DANS ONGLET
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

/* Onglet Fin de service */
.endServiceTabBt {
    color: #ffffff !important;
    background-color: #d9534f !important;
    border-radius: 6px 6px 0 0;
    font-weight: 600;
}

.endServiceTabBt:hover {
    background-color: #c9302c !important;
    color: #ffffff !important;
}



#externalPlanningsTableSpace .scroll-panel-x {
    margin-top: 60px;
}













/* =====================================================
   PLANNING UPLOAD MODAL - SAAS STYLE
   ===================================================== */


/* Contenu général */

.planningUploadModalBox {
    padding: 5px;
    color: #263238;
}


/* Titre */

.planningUploadModalBox h2 {
    margin: 0 0 25px;
    font-size: 22px;
    font-weight: 600;
    color: #1E3A5F;
}


/* Labels */

.planningUploadModalBox label {
    color: #546e7a;
    font-size: 13px;
    font-weight: 500;
}


/* Espacement des blocs */

.planningUploadModalBox .form-group {
    margin-bottom: 18px;
}


/* Zone upload */

.planningUploadModalBox .uploadZone {
    border: none !important;
}


/* Zone de dépôt fichier */

.planningUploadModalBox #filesSelectionTrigger {

    height: 130px;

    border: 2px dashed #cbd8e6;

    border-radius: 14px;

    background: #f8fafc;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:all .2s ease;
}


.planningUploadModalBox #filesSelectionTrigger:hover {

    background:#f1f6fb;

    border-color:#1E3A5F;
}


/* Icône upload */

.planningUploadModalBox #filesSelectionTrigger i {

    font-size:42px;

    color:#1E3A5F;

}


/* Champs */

.planningUploadModalBox .form-control {

    height:42px;

    border-radius:8px;

    border:1px solid #d8e1ea;

    box-shadow:none;

}


.planningUploadModalBox .form-control:focus {

    border-color:#1E3A5F;

    box-shadow:0 0 0 3px rgba(30,58,95,.12);

}


/* Datepicker */

.planningUploadModalBox .input-group-addon {

    background:#f8fafc;

    border-color:#d8e1ea;

}


.clientDocumentUploadModalBox .datepicker-dropdown,
.datepicker-dropdown {
    z-index: 1000000  !important;
}









/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
MISE EN FORME MODALE CHARGEMZENT DES DOCUMETNS
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

/* =====================================================
   CLIENT DOCUMENT UPLOAD MODAL - SAAS STYLE
   ===================================================== */

.clientDocumentUploadModalBox {
    padding: 5px;
    color: #263238;
}


/* =====================================================
   TITRE
   ===================================================== */

.clientDocumentUploadModalBox h2 {
    margin: 0 0 25px;
    font-size: 22px;
    font-weight: 600;
    color: #1E3A5F;
}


/* =====================================================
   LABELS
   ===================================================== */

.clientDocumentUploadModalBox label {
    color: #546e7a;
    font-size: 13px;
    font-weight: 500;
}


/* =====================================================
   ESPACEMENTS
   ===================================================== */

.clientDocumentUploadModalBox .form-group {
    margin-bottom: 18px;
}


/* =====================================================
   INPUTS / SELECT
   ===================================================== */

.clientDocumentUploadModalBox .form-control {

    height: 42px;

    border-radius: 8px;

    border: 1px solid #d8e1ea;

    box-shadow: none;

    transition: all .2s ease;
}


.clientDocumentUploadModalBox .form-control:focus {

    border-color: #1E3A5F;

    box-shadow: 0 0 0 3px rgba(30,58,95,.12);
}


/* =====================================================
   DATE PICKER INPUT
   ===================================================== */

.clientDocumentUploadModalBox .input-group-addon {

    background: #f8fafc;

    border-color: #d8e1ea;

}


/* =====================================================
   BOUTON PARCOURIR
   ===================================================== */

.clientDocumentUploadModalBox #filesSelectionTrigger {

    border-radius: 10px;

    padding: 10px 25px;

    font-weight: 500;

    transition: all .2s ease;
}


.clientDocumentUploadModalBox #filesSelectionTrigger:hover {

    transform: translateY(-1px);

}


/* =====================================================
   ZONE DROPZONE MESSAGE
   ===================================================== */

.clientDocumentUploadModalBox .dz-message {

    min-height: 90px;

    border: 2px dashed #cbd8e6;

    border-radius: 14px;

    background: #f8fafc;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-top:15px;

    color:#78909c;

    transition: all .2s ease;
}


/* Effet survol */

.clientDocumentUploadModalBox .dz-message:hover {

    background:#f1f6fb;

    border-color:#1E3A5F;

}


/* =====================================================
   DOCUMENTS CHARGÉS
   ===================================================== */

.clientDocumentUploadModalBox .dropzone-previews {

    margin-top:15px;

    padding:15px;

    min-height:20px;

    border:2px dashed #cbd8e6;

    border-radius:14px;

    background:#f8fafc;

}


/* Masquer la zone quand aucun document */

.clientDocumentUploadModalBox .dropzone-previews:empty {

    display:none;

}


/* Carte d'un fichier */

.clientDocumentUploadModalBox .dz-preview {

    background:#ffffff;

    border:1px solid #e3ebf2;

    border-radius:10px;

    padding:12px;

    margin:8px 0;

    display:flex;

    align-items:center;

    box-shadow:0 2px 6px rgba(30,58,95,.06);

}


/* Image / icône fichier */

.clientDocumentUploadModalBox .dz-image {

    border-radius:8px;

}


/* Nom fichier */

.clientDocumentUploadModalBox .dz-filename {

    margin-left:15px;

    font-size:13px;

    font-weight:500;

    color:#37474f;

}


/* Taille fichier */

.clientDocumentUploadModalBox .dz-size {

    color:#78909c;

    font-size:12px;

}


/* Bouton retirer */

.clientDocumentUploadModalBox .dz-remove {

    margin-left:auto;

    color:#c62828;

    font-size:12px;

}


/* =====================================================
   CHECKBOX CERTIFICATION
   ===================================================== */

.clientDocumentUploadModalBox .form-check-label {

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 15px;

    background:#f8fafc;

    border-radius:10px;

    border:1px solid #e3ebf2;

}


.clientDocumentUploadModalBox input[type="checkbox"] {

    width:18px;

    height:18px;

}


/* =====================================================
   FOOTER ACTIONS
   ===================================================== */

.clientDocumentUploadModalBox #button-container {

    margin-top:20px;

}

/* =====================================================
   DROPZONE FILE ITEMS - SAAS STYLE
   ===================================================== */

.clientDocumentUploadModalBox #filesPreview {

    margin-top: 15px;

    padding: 15px;

    border: 2px dashed #cbd8e6;

    border-radius: 14px;

    background: #f8fafc;

}


/* Carte du document */

.clientDocumentUploadModalBox #filesPreview .dz-preview {

    position: relative;

    width: 100%;

    min-height: 70px;

    margin: 8px 0;

    padding: 12px;

    background: #ffffff;

    border: 1px solid #e3ebf2;

    border-radius: 10px;

    display: flex;

    align-items: center;

    box-shadow: 0 2px 6px rgba(30,58,95,.08);

}


/* Supprime l'ancien positionnement Dropzone */

.clientDocumentUploadModalBox #filesPreview .dz-image {

    width: 50px;

    height: 50px;

    border-radius: 8px;

    margin-right: 15px;

}


/* Informations fichier */

.clientDocumentUploadModalBox #filesPreview .dz-details {

    position: static;

    opacity: 1;

    padding: 0;

    display:flex;

    flex-direction:column;

}


/* Nom */

.clientDocumentUploadModalBox #filesPreview .dz-filename {

    max-width:300px;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

    font-size:13px;

    font-weight:600;

    color:#37474f;

}


/* Taille */

.clientDocumentUploadModalBox #filesPreview .dz-size {

    font-size:12px;

    color:#78909c;

}


/* Barre progression */

.clientDocumentUploadModalBox #filesPreview .dz-progress {

    display:none;

}


/* Bouton retirer */

.clientDocumentUploadModalBox #filesPreview .dz-remove {

    margin-left:auto;

    color:#c62828;

    font-size:12px;

}


/* Icônes validation/erreur */

.clientDocumentUploadModalBox #filesPreview .dz-success-mark,
.clientDocumentUploadModalBox #filesPreview .dz-error-mark {

    display:none;

}

/* =====================================================
   CLIENT DOCUMENT UPLOAD MODAL ONLY
   OVERRIDE DROPZONE MESSAGE
   ===================================================== */

.clientDocumentUploadModalBox .dropzone .dz-message {

    background: #ffffff !important;

    border: none !important;

    border-radius: 0 !important;

    min-height: 40px !important;

    margin-top: 10px !important;

    color: #78909c !important;

}

/* =====================================================
   CLIENT DOCUMENT UPLOAD
   SIMPLE MESSAGE AREA
   ===================================================== */

.clientDocumentUploadModalBox .dz-message {

    min-height: 50px !important;

    border: 1px solid #e3ebf2 !important;

    background: #ffffff !important;

    border-radius: 10px !important;

    margin-top: 10px !important;

    color: #78909c;

}


/* =====================================================
   CLIENT DOCUMENT UPLOAD
   FILE PREVIEWS GRID
   ===================================================== */

.clientDocumentUploadModalBox #filesPreview {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


/* Carte document */

.clientDocumentUploadModalBox #filesPreview .dz-preview {

    width: calc(33.333% - 8px);

    min-height: 120px;

    margin: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


/* Image miniature */

.clientDocumentUploadModalBox #filesPreview .dz-image {

    margin: 0 0 8px 0;

}


/* Infos fichier */

.clientDocumentUploadModalBox #filesPreview .dz-details {

    align-items: center;

}


/* Nom fichier */

.clientDocumentUploadModalBox #filesPreview .dz-filename {

    max-width: 120px;

}


/* Bouton retirer */

.clientDocumentUploadModalBox #filesPreview .dz-remove {

    margin: 8px 0 0 0;

}


/* =====================================================
   DOCUMENT ICON - GENERIC DOCUMENT STYLE
   ===================================================== */

.clientDocumentUploadModalBox #filesPreview .dz-image {

    width: 45px;

    height: 55px;

    background: #f8fafc;

    border-radius: 8px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

}


/* Masquer la vraie miniature Dropzone */

.clientDocumentUploadModalBox #filesPreview .dz-image img {

    display:none;

}


/* Icône document générique */

.clientDocumentUploadModalBox #filesPreview .dz-image::before {

    content:"\f15c";

    font-family:"Font Awesome 5 Free";

    font-weight:900;

    font-size:32px;

    color:#607d8b;

}

/* =====================================================
   USER CONFORMITY TOPIC MODAL - SAAS STYLE
   ===================================================== */

.userConformityTopicUploadModalBox {

    padding: 5px;

    color: #263238;

}


/* =====================================================
   TITRE
   ===================================================== */

.userConformityTopicUploadModalBox h2 {

    margin: 0 0 25px;

    font-size: 22px;

    font-weight: 600;

    color: #1E3A5F;

}



/* =====================================================
   LABELS
   ===================================================== */

.userConformityTopicUploadModalBox label {

    color: #546e7a;

    font-size: 13px;

    font-weight: 500;

}



/* =====================================================
   ESPACEMENTS
   ===================================================== */

.userConformityTopicUploadModalBox .form-group {

    margin-bottom: 18px;

}



/* =====================================================
   SELECT + INPUTS
   ===================================================== */

.userConformityTopicUploadModalBox .form-control {

    height: 42px;

    border-radius: 8px;

    border: 1px solid #d8e1ea;

    box-shadow: none;

    transition: all .2s ease;

}


.userConformityTopicUploadModalBox .form-control:focus {

    border-color: #1E3A5F;

    box-shadow: 0 0 0 3px rgba(30,58,95,.12);

}



/* =====================================================
   DATE PICKER
   ===================================================== */

.userConformityTopicUploadModalBox .input-group-addon {

    background: #f8fafc;

    border-color: #d8e1ea;

    color: #607d8b;

}



/* =====================================================
   ZONE DROPZONE PRINCIPALE
   ===================================================== */

.userConformityTopicUploadModalBox .dz-message {

    min-height: 110px;

    border: 2px dashed #cbd8e6;

    border-radius: 14px;

    background: #f8fafc;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-top:15px;

    color:#78909c;

    transition: all .2s ease;

}


.userConformityTopicUploadModalBox .dz-message:hover {

    background:#f1f6fb;

    border-color:#1E3A5F;

}



/* Icône upload */

.userConformityTopicUploadModalBox .dz-message i {

    font-size:42px;

    color:#1E3A5F;

}



/* =====================================================
   FICHIERS UPLOADÉS
   ===================================================== */

.userConformityTopicUploadModalBox #filesPreview {

    margin-top:15px;

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}


/* Carte fichier */

.userConformityTopicUploadModalBox #filesPreview .dz-preview {

    width:120px;

    min-height:120px;

    margin:0;

    background:#ffffff;

    border:1px solid #e3ebf2;

    border-radius:12px;

    padding:10px;

    box-shadow:0 2px 6px rgba(0,0,0,.05);

}


/* Image / icône */

.userConformityTopicUploadModalBox #filesPreview .dz-image {

    width:45px;

    height:55px;

    margin:auto;

    background:#f8fafc;

    border-radius:8px;

    display:flex;

    align-items:center;

    justify-content:center;

}



/* cacher miniature */

.userConformityTopicUploadModalBox #filesPreview .dz-image img {

    display:none;

}


/* Icône document générique */

.userConformityTopicUploadModalBox #filesPreview .dz-image::before {

    content:"\f15c";

    font-family:"Font Awesome 5 Free";

    font-weight:900;

    font-size:32px;

    color:#607d8b;

}



/* Nom fichier */

.userConformityTopicUploadModalBox #filesPreview .dz-filename {

    margin-top:8px;

    font-size:11px;

    text-align:center;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

}


/* Taille */

.userConformityTopicUploadModalBox #filesPreview .dz-size {

    font-size:11px;

    text-align:center;

    color:#78909c;

}



/* Bouton retirer */

.userConformityTopicUploadModalBox #filesPreview .dz-remove {

    display:block;

    margin-top:8px;

    text-align:center;

    font-size:12px;

    color:#d32f2f;

}



/* =====================================================
   CHECKBOX CERTIFICATION
   ===================================================== */

.userConformityTopicUploadModalBox .form-check-label {

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 15px;

    background:#f8fafc;

    border-radius:10px;

    border:1px solid #e3ebf2;

}


.userConformityTopicUploadModalBox input[type="checkbox"] {

    width:18px;

    height:18px;

}



/* =====================================================
   BOUTONS
   ===================================================== */

.userConformityTopicUploadModalBox #button-container {

    margin-top:20px;

}


.userConformityTopicUploadModalBox .btn-primary {

    border-radius:8px;

    padding:9px 22px;

    font-weight:500;

    transition:all .2s ease;

}


.userConformityUploadModalBox .btn-primary:hover {

    transform:translateY(-1px);

}

/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
MISE EN PAGE DE LA PAGE DERNIERE VERSION PLABNNBIGN ATTACHEMENT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/


.planningCard{
    background:#fff;
    border:none;
    border-radius:18px;
    padding:32px;
    margin:35px auto;
    box-shadow:
        0 8px 30px rgba(15,23,42,.08),
        0 2px 8px rgba(15,23,42,.05);
}



.planningCardHeader{
    border-bottom:1px solid #edf2f7;
    padding-bottom:22px;
    margin-bottom:28px;
}



.planningCardTitle{
    font-size:20px;
    font-weight:600;
    color:#1e293b;
    margin:0;
}


.planningInfoList{
    list-style:none;
    margin:25px 0 0;
    padding:0;
}

.planningInfoList li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #f5f6f8;
}

.planningInfoList li:last-child{
    border-bottom:none;
}

.planningLabel{
    color:#7d8ca1;
    font-weight:500;
}


.planningValue{
    color:#223047;
    font-weight:600;
}

.planningDownloadZone{
    padding-top:15px;
}


.planningDownloadText{
    font-size:16px;
    color:#596579;
    margin-bottom:22px;
}


.planningDownloadButton{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:14px 24px;

    border-radius:12px;

    background:#2563eb;
    color:#fff;

    font-weight:600;
    font-size:15px;

    text-decoration:none;

    transition:.2s;
}

.planningDownloadButton:hover{
    background:#1d4ed8;
    color:#fff;
    text-decoration:none;
    transform:translateY(-2px);
}



.planningDownloadButton i{
    font-size:18px;
}



.planningCard{
    float:none;
    margin:40px auto;

    background:#fff;
    border:none;
    border-radius:18px;
    padding:32px;

    box-shadow:
        0 8px 30px rgba(15,23,42,.08),
        0 2px 8px rgba(15,23,42,.05);
}



.planningPageTitle{
    margin-top:0px;
    margin-bottom:25px;
    font-size:28px;
    font-weight:600;
    color:#223047;
}

.planningPageContainer{
    padding-top:10px;
}


.planningDownloadZone{
    padding:35px 20px 10px;
}


.planningDownloadIcon{
    width:56px;
    height:56px;

    margin:0 auto 15px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#eff6ff;
    color:#2563eb;

    font-size:26px;
}


.planningDownloadTitle{
    font-size:18px;
    font-weight:600;
    color:#1e293b;

    margin-bottom:8px;
}


.planningDownloadText{
    color:#64748b;
    font-size:14px;

    margin-bottom:25px;
}


.planningDownloadButton{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:12px 24px;

    border-radius:12px;

    background:#2563eb;
    color:white;

    font-weight:600;

    text-decoration:none;

    transition:.2s;
}


.planningDownloadButton:hover{
    background:#1d4ed8;
    color:white;
    transform:translateY(-2px);
}


.planningDownloadButton i{
    font-size:18px;
}


/* =====================================================
   PLANNING CARD TITLE
   ===================================================== */

.planningCardTitle {
    margin: 0 0 20px 0;
    padding: 18px 22px;

    background: linear-gradient(135deg, #1E3A5F, #2C5F8A);

    color: white;
    font-size: 18px;
    font-weight: 600;

    border-radius: 12px 12px 0 0;

    letter-spacing: 0.2px;
}

/* =====================================================
  BADGE VALIDE
   ===================================================== */

.planningValidated i {
    font-size: 20px;
    color: #22a06b;
}

.planningValidated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #22a06b;
    font-weight: 600;
}

/* =====================================================
   PLANNING - VERSION NON VALIDÉE
   ===================================================== */

.planningCardTitleRejected {
    background: linear-gradient(135deg, #b02a37, #dc3545);
}

/* =====================================================
   EFFETB SUR CLASSE HOME_ICON
   ===================================================== */

.home_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    font-size: 28px;

    

    border-radius: 22px;

    background: linear-gradient(
        145deg,
        #4a90e2,
        #1E3A5F
    );

    box-shadow:
        0 8px 18px rgba(0,0,0,0.18),
        inset 0 1px 2px rgba(255,255,255,0.35);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

    margin-bottom: 10px;
}

.home_icon:active {
    transform: scale(0.90);

    box-shadow:
        0 3px 8px rgba(0,0,0,0.20),
        inset 0 2px 5px rgba(0,0,0,0.15);
}

/* =====================================================
   HOME ICON - VERSION SMARTPHONE UNIQUEMENT
   ===================================================== */

@media (max-width: 767px) {

    .home_icon {
        color: #FFFFFF !important;

        width: 60px !important;
        height: 60px !important;

        font-size: 26px !important;

        border-radius: 18px !important;
    }

    .home_icon.pendingPlanning {
        background: linear-gradient(
            145deg,
            #ff6b6b,
            #c62828
        ) !important;
    }

}



@media (max-width: 767px){

    .mobile-hidden {
        display:none !important;
    }

    .mobile-visible {
        display:table-cell !important;
    }

}


@media (max-width: 767px){

    /* Réduit l'espace autour des boutons d'action */
    #myTable td.mobile-visible {
        padding-left:4px !important;
        padding-right:4px !important;
    }

    #myTable .btn {
        width:30px !important;
        height:30px !important;
        margin:0 1px !important;
        font-size:12px !important;
    }

}

/* =====================================================
   IMS - PAGE COMPOSER UN MESSAGE
   Styles strictement limités à #IMSmessageForm
   ===================================================== */

#IMSmessageForm {
    color: #334155;
}

#IMSmessageForm .imsComposerHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

#IMSmessageForm .imsComposerTitle {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

#IMSmessageForm .imsComposerTitleIcon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E3A5F, #2C5F8A);
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 6px 14px rgba(30, 58, 95, 0.18);
}

#IMSmessageForm .imsComposerTitle h2 {
    margin: 0 0 4px;
    color: #1E3A5F;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

#IMSmessageForm .imsComposerTitle p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

#IMSmessageForm .imsComposerBackButton {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #dbe5ef;
    border-radius: 9px;
    background: #f8fafc;
    color: #1E3A5F;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

#IMSmessageForm .imsComposerBackButton:hover,
#IMSmessageForm .imsComposerBackButton:focus {
    background: #eef4fa;
    border-color: #c8d7e6;
    color: #1E3A5F;
    text-decoration: none;
    transform: translateY(-1px);
}

#IMSmessageForm .imsComposerMainRow {
    margin-left: -10px;
    margin-right: -10px;
}

#IMSmessageForm .imsComposerMainRow > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

#IMSmessageForm .imsComposerMainCard,
#IMSmessageForm .imsComposerSideCard {
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

#IMSmessageForm .imsComposerCardHeader,
#IMSmessageForm .imsComposerSideHeader {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e8eef5;
}

#IMSmessageForm .imsComposerCardHeader > span:first-child,
#IMSmessageForm .imsComposerSideHeader > span:first-child {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eaf2fb;
    color: #1E3A5F;
    font-size: 16px;
}

#IMSmessageForm .imsComposerCardHeader strong,
#IMSmessageForm .imsComposerSideHeader strong {
    display: block;
    margin: 1px 0 3px;
    color: #1E3A5F;
    font-size: 15px;
    font-weight: 700;
}

#IMSmessageForm .imsComposerCardHeader p,
#IMSmessageForm .imsComposerSideHeader p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

#IMSmessageForm .imsComposerFormContainer {
    padding: 22px;
}

#IMSmessageForm .imsComposerForm {
    margin: 0;
}

#IMSmessageForm .imsComposerRecipientsRow,
#IMSmessageForm .imsComposerSubjectRow,
#IMSmessageForm .imsComposerBodyRow,
#IMSmessageForm .imsComposerActionsRow {
    margin-left: -8px;
    margin-right: -8px;
}

#IMSmessageForm .imsComposerRecipientsRow > [class*="col-"],
#IMSmessageForm .imsComposerSubjectRow > [class*="col-"],
#IMSmessageForm .imsComposerBodyRow > [class*="col-"],
#IMSmessageForm .imsComposerActionsRow > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

#IMSmessageForm .imsComposerField {
    margin-bottom: 20px;
}

#IMSmessageForm .imsComposerField label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #1E3A5F;
    font-size: 13px;
    font-weight: 700;
}

#IMSmessageForm .imsComposerField label > span:first-child {
    color: #3b82f6;
    font-size: 13px;
}

#IMSmessageForm .imsComposerFieldHelp {
    min-height: 34px;
    margin: 0 0 9px;
    color: #718096;
    font-size: 12px;
    line-height: 1.45;
}

#IMSmessageForm .imsRequiredMark {
    margin-left: 2px;
    color: #dc2626;
    font-weight: 700;
}

#IMSmessageForm .imsComposerSubjectInput {
    height: 42px;
    border: 1px solid #d8e2ec;
    border-radius: 8px !important;
    background: #ffffff;
    color: #334155;
    box-shadow: none;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

#IMSmessageForm .imsComposerSubjectInput:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

#IMSmessageForm .imsComposerBodyRow {
    margin-top: 2px;
}

#IMSmessageForm .imsComposerActions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

#IMSmessageForm .imsComposerCancelButton,
#IMSmessageForm .imsComposerSendButton {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

#IMSmessageForm .imsComposerCancelButton {
    border: 1px solid #d7e1eb;
    background: #ffffff;
    color: #475569;
}

#IMSmessageForm .imsComposerCancelButton:hover,
#IMSmessageForm .imsComposerCancelButton:focus {
    background: #f8fafc;
    border-color: #c6d2de;
    color: #334155;
    text-decoration: none;
    transform: translateY(-1px);
}

#IMSmessageForm .imsComposerSendButton {
    border: 1px solid #006AFF;
    background: #006AFF;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 106, 255, 0.18);
}

#IMSmessageForm .imsComposerSendButton:hover,
#IMSmessageForm .imsComposerSendButton:focus {
    border-color: #005bd6;
    background: #005bd6;
    color: #ffffff;
    transform: translateY(-1px);
}

#IMSmessageForm .imsComposerTipsList {
    margin: 0;
    padding: 17px 20px 18px;
    list-style: none;
}

#IMSmessageForm .imsComposerTipsList li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 12px;
    color: #526173;
    font-size: 12px;
    line-height: 1.5;
}

#IMSmessageForm .imsComposerTipsList li:last-child {
    margin-bottom: 0;
}

#IMSmessageForm .imsComposerTipsList li > span:first-child {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #eaf8f0;
    color: #16a34a;
    font-size: 10px;
}

@media (max-width: 767px) {

    #IMSmessageForm .imsComposerHeader {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    #IMSmessageForm .imsComposerTitle {
        align-items: flex-start;
    }

    #IMSmessageForm .imsComposerTitle h2 {
        font-size: 21px;
    }

    #IMSmessageForm .imsComposerBackButton {
        width: 100%;
    }

    #IMSmessageForm .imsComposerFormContainer {
        padding: 16px;
    }

    #IMSmessageForm .imsComposerFieldHelp {
        min-height: 0;
    }

    #IMSmessageForm .imsComposerActions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    #IMSmessageForm .imsComposerCancelButton,
    #IMSmessageForm .imsComposerSendButton {
        width: 100%;
    }
}

/* =====================================================
   CHECKLIST - PAGE ZONE
   Styles dédiés aux classes checklist-*
   ===================================================== */

#checklist {
    color: #334155;
}

#checklist .checklist-dashboard-row {
    margin-left: -10px;
    margin-right: -10px;
}

#checklist .checklist-dashboard-row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

#checklist .checklist-main-column,
#checklist .checklist-stats-column {
    margin-bottom: 20px;
}

#checklist .checklist-main-card,
#checklist .checklist-stats-card {
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

#checklist .checklist-main-card {
    padding-bottom: 20px;
}

#checklist .checklist-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 15px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e8eef5;
    color: #1E3A5F;
    font-size: 15px;
    font-weight: 700;
}

#checklist .checklist-card-title > i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eaf2fb;
    color: #1E3A5F;
    font-size: 16px;
}

#checklist #checklistTable {
    padding: 18px 18px 6px;
}

#checklist #checklistTable .table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
}

#checklist #checklistTable caption {
    display: none;
}

#checklist #checklistTable thead th {
    padding: 10px 14px;
    border: none;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#checklist #checklistTable tbody tr {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.07);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

#checklist #checklistTable tbody tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.11);
}

#checklist #checklistTable tbody tr.checklist-row-editing {
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

#checklist #checklistTable tbody th,
#checklist #checklistTable tbody td {
    padding: 13px 14px;
    border: none;
    vertical-align: middle;
    color: #334155;
    font-size: 13px;
}

#checklist #checklistTable tbody th:first-child,
#checklist #checklistTable tbody td:first-child {
    border-radius: 9px 0 0 9px;
}

#checklist #checklistTable tbody td:last-child {
    border-radius: 0 9px 9px 0;
}

#checklist .checklist-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 86px;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

#checklist .checklist-status-badge.is-enabled {
    background: #eaf8f0;
    color: #15803d;
    border: 1px solid #ccebd8;
}

#checklist .checklist-status-badge.is-disabled {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

#checklist .checklist-actions {
    min-width: 92px;
    text-align: right;
    white-space: nowrap;
}

#checklist .checklist-delete-btn,
#checklist .checklist-edit-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

#checklist .checklist-delete-btn {
    background: #fff1f2;
    color: #dc2626;
}

#checklist .checklist-delete-btn:hover,
#checklist .checklist-delete-btn:focus {
    background: #fee2e2;
    color: #b91c1c;
    text-decoration: none;
    transform: translateY(-1px);
}

#checklist .checklist-edit-btn {
    background: #eef4fb;
    color: #1E3A5F;
}

#checklist .checklist-edit-btn:hover,
#checklist .checklist-edit-btn:focus {
    background: #dce9f7;
    color: #0f4c81;
    text-decoration: none;
    transform: translateY(-1px);
}

#checklist .delcl {
    color: inherit;
}

#checklist .checklist-form-wrapper {
    margin: 12px 18px 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 12px;
}

#checklist .checklist-form-wrapper form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-left: -8px;
    margin-right: -8px;
}

#checklist .checklist-form-wrapper .form-group,
#checklist .checklist-form-wrapper .checkbox {
    padding-left: 8px;
    padding-right: 8px;
}

#checklist .checklist-form-wrapper label {
    color: #1E3A5F;
    font-size: 12px;
    font-weight: 700;
}

#checklist .checklist-form-wrapper .form-control {
    height: 40px;
    border: 1px solid #d8e2ec;
    border-radius: 8px !important;
    box-shadow: none;
}

#checklist .checklist-form-wrapper .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

#checklist .checklist-form-wrapper input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

#checklist .checklist-form-wrapper #submitChecklistBt {
    min-width: 120px;
    min-height: 40px;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 600;
}

#checklist .checklist-stats-card {
    padding-bottom: 18px;
}

#checklist .checklist-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 16px 0;
    padding: 13px 14px;
    background: #f8fafc;
    border: 1px solid #e8eef5;
    border-radius: 11px;
}

#checklist .checklist-stat-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eaf2fb;
    color: #1E3A5F;
    font-size: 16px;
}

#checklist .checklist-stat-icon.is-active {
    background: #eaf8f0;
    color: #15803d;
}

#checklist .checklist-stat-icon.is-inactive {
    background: #fff1f2;
    color: #be123c;
}

#checklist .checklist-stat-content {
    min-width: 0;
}

#checklist .checklist-stat-content strong,
#checklist .checklist-stat-content span {
    display: block;
}

#checklist .checklist-stat-content strong {
    color: #1E3A5F;
    font-size: 21px;
    line-height: 1;
    font-weight: 700;
}

#checklist .checklist-stat-content span {
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
}

#checklist .checklist-availability {
    margin: 16px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e8eef5;
    border-radius: 11px;
}

#checklist .checklist-availability-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #475569;
    font-size: 12px;
}

#checklist .checklist-availability-header strong {
    color: #1E3A5F;
    font-size: 14px;
}

#checklist .checklist-availability-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

#checklist .checklist-availability-bar > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1E88E5, #2563eb);
}

@media (max-width: 767px) {

    #checklist .checklist-main-card,
    #checklist .checklist-stats-card {
        border-radius: 12px;
    }

    #checklist #checklistTable {
        padding: 12px;
        overflow-x: auto;
    }

    #checklist #checklistTable .table {
        min-width: 620px;
    }

    #checklist .checklist-form-wrapper {
        margin: 10px 12px 0;
        padding: 14px;
    }

    #checklist .checklist-form-wrapper form {
        display: block;
    }

    #checklist .checklist-form-wrapper .form-group,
    #checklist .checklist-form-wrapper .checkbox {
        width: 100%;
        float: none;
    }

    #checklist .checklist-form-wrapper #submitChecklistBt {
        width: 100%;
    }
}

/* =====================================================
   ODM EDITOR - MODERN SAAS
   ===================================================== */

#odmForm .odm-editor-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

#odmForm .odm-editor-column {
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 22px;
}

#odmForm .odm-editor-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07), 0 2px 7px rgba(15, 23, 42, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#odmForm .odm-editor-card:hover {
    transform: translateY(-2px);
    border-color: #d5e0eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10), 0 3px 9px rgba(15, 23, 42, 0.05);
}

#odmForm .odm-editor-column:first-child .odm-editor-card,
#odmForm .odm-editor-card-temporary {
    border-top: 4px solid #f59e0b;
}

#odmForm .odm-editor-column:nth-child(2) .odm-editor-card,
#odmForm .odm-editor-card-permanent {
    border-top: 4px solid #2563eb;
}

#odmForm .odm-card-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e8eef5;
}

#odmForm .odm-card-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

#odmForm .odm-card-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef4fb;
    color: #1E3A5F;
    font-size: 17px;
    box-shadow: inset 0 0 0 1px rgba(30, 58, 95, 0.05);
}

#odmForm .odm-editor-column:first-child .odm-card-icon,
#odmForm .odm-editor-card-temporary .odm-card-icon {
    background: #fff7e8;
    color: #d97706;
}

#odmForm .odm-editor-column:nth-child(2) .odm-card-icon,
#odmForm .odm-editor-card-permanent .odm-card-icon {
    background: #eff6ff;
    color: #2563eb;
}

#odmForm .odm-card-heading-text {
    min-width: 0;
}

#odmForm .odm-card-heading-text h3 {
    margin: 0 0 4px;
    color: #1E3A5F;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

#odmForm .odm-card-heading-text p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

#odmForm .odm-delete-btn {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    background: #fff1f2;
    color: #dc2626;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

#odmForm .odm-delete-btn:hover,
#odmForm .odm-delete-btn:focus {
    background: #fee2e2;
    border-color: #fda4af;
    color: #b91c1c;
    text-decoration: none;
    transform: translateY(-1px);
}

#odmForm .odm-expiration-block {
    margin: 18px 20px 0;
    padding: 15px 16px;
    background: #f8fafc;
    border: 1px solid #e5edf5;
    border-radius: 12px;
}

#odmForm .odm-expiration-block label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

#odmForm .odm-expiration-block label i {
    color: #f59e0b;
}

#odmForm .odm-expiration-block .input-group {
    width: 100%;
}

#odmForm .odm-expiration-block .form-control {
    height: 40px;
    border: 1px solid #d8e2ec;
    border-radius: 8px 0 0 8px !important;
    background: #ffffff;
    color: #334155;
    box-shadow: none;
}

#odmForm .odm-expiration-block .input-group-addon {
    min-width: 42px;
    border-color: #d8e2ec;
    border-radius: 0 8px 8px 0 !important;
    background: #eef4fb;
    color: #1E3A5F;
}

#odmForm .odm-summernote-wrapper {
    flex: 1;
    margin: 18px 20px 20px;
}

#odmForm .odm-summernote-wrapper .note-editor {
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    box-shadow: none;
}

#odmForm .odm-summernote-wrapper .note-toolbar {
    padding: 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e5edf5;
}

#odmForm .odm-summernote-wrapper .note-editable {
    min-height: 320px;
    padding: 16px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

#odmForm .odm-summernote-wrapper .note-statusbar {
    background: #f8fafc;
    border-top: 1px solid #e5edf5;
}

@media (max-width: 991px) {
    #odmForm .odm-editor-row { display: block; }
    #odmForm .odm-editor-column { display: block; }
}

@media (max-width: 767px) {
    #odmForm .odm-editor-column { padding-left: 5px; padding-right: 5px; }
    #odmForm .odm-editor-card { border-radius: 13px; }
    #odmForm .odm-card-header { align-items: flex-start; padding: 15px; }
    #odmForm .odm-card-icon { flex-basis: 40px; width: 40px; height: 40px; }
    #odmForm .odm-expiration-block { margin: 15px 15px 0; }
    #odmForm .odm-summernote-wrapper { margin: 15px; }
}

/* =====================================================
   MES ACTIVITES - MODERN SAAS
   Page agent / responsive smartphone
   ===================================================== */

#planning-service-list-view.planning-services-page {
    width: 100%;
    min-height: calc(100vh - 100px);
    padding: 22px 24px 28px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .06), transparent 32%),
        #f4f7fb;
    color: #334155;
}

#planning-service-list-view .planning-services-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

#planning-service-list-view .planning-services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 16px;
    box-shadow:
        0 8px 24px rgba(15, 23, 42, .06),
        0 2px 8px rgba(15, 23, 42, .03);
}

#planning-service-list-view .planning-services-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

#planning-service-list-view .planning-services-title-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #1E3A5F, #2563eb);
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 7px 16px rgba(30, 58, 95, .20);
}

#planning-service-list-view .planning-services-title h2 {
    margin: 0 0 4px;
    color: #1E3A5F;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
}

#planning-service-list-view .planning-services-title p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

#planning-service-list-view .planning-services-header-actions {
    flex: 0 0 auto;
}

#planning-service-list-view .planning-services-header-actions .planning-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

#planning-service-list-view .planning-services-header-actions .planning-navigation a {
    text-decoration: none;
}

#planning-service-list-view .planning-services-header-actions .planning-btn-nav {
    min-height: 40px;
    margin: 0 !important;
    padding: 9px 14px !important;
    border: 1px solid #d6e1ec !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    color: #1E3A5F !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease;
}

#planning-service-list-view .planning-services-header-actions .planning-btn-nav:hover {
    background: #eef4fb !important;
    border-color: #c7d7e7 !important;
    transform: translateY(-1px);
}

#planning-service-list-view .planning-services-header-actions #acceptAllServicesBt {
    border-color: #006AFF !important;
    background: #006AFF !important;
    color: #ffffff !important;
    box-shadow: 0 5px 12px rgba(0, 106, 255, .18) !important;
}

#planning-service-list-view .planning-services-header-actions #acceptAllServicesBt:hover {
    background: #005bd6 !important;
    border-color: #005bd6 !important;
}

/* =====================================================
   FILTRES CLIQUABLES / KPI
   ===================================================== */

#planning-service-list-view .planning-services-filters {
    margin-bottom: 18px;
}

#planning-service-list-view .planning-services-filters .planning-nav-container {
    display: flex;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

#planning-service-list-view .planning-services-filters .planning-nav-container::-webkit-scrollbar {
    height: 6px;
}

#planning-service-list-view .planning-services-filters .planning-nav-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

#planning-service-list-view .planning-btn-filter-link {
    position: relative;
    flex: 1 1 0;
    min-width: 150px;
    display: block;
    text-decoration: none !important;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count {
    width: 100%;
    min-height: 72px;
    display: flex !important;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 0 !important;
    padding: 34px 14px 12px !important;
    border: 1px solid #e3eaf2 !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    color: #1E3A5F !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: left;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .05) !important;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 13px;
    width: 26px;
    height: 6px;
    border-radius: 999px;
    background: #94a3b8;
}

#planning-service-list-view .planning-btn-filter-link.all-filter .planning-btn-count::before {
    background: #1E3A5F;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(2) .planning-btn-count::before {
    background: #64748b;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(3) .planning-btn-count::before {
    background: #2563eb;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(4) .planning-btn-count::before {
    background: #f59e0b;
}

#planning-service-list-view .planning-btn-filter-link:hover .planning-btn-count {
    transform: translateY(-2px);
    border-color: #d4dfeb !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08) !important;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count.badge-selected {
    border-color: #2563eb !important;
    background: #eef6ff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10) !important;
}

#planning-service-list-view .planning-btn-filter-link .badge {
    position: absolute;
    right: 12px;
    top: 10px;
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #1E3A5F;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(30, 58, 95, .16);
}

/* =====================================================
   CARTE PRINCIPALE
   ===================================================== */

#planning-service-list-view .planning-services-main-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-top: 4px solid #2563eb;
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, .07),
        0 2px 8px rgba(15, 23, 42, .03);
}

#planning-service-list-view .planning-services-card-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    padding: 15px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e8eef5;
}

#planning-service-list-view .planning-services-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

#planning-service-list-view .planning-services-card-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eef4fb;
    color: #1E3A5F;
    font-size: 16px;
}

#planning-service-list-view .planning-services-card-title strong {
    display: block;
    margin-bottom: 3px;
    color: #1E3A5F;
    font-size: 15px;
    font-weight: 800;
}

#planning-service-list-view .planning-services-card-title p {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

#planning-service-list-view .planning-services-table-wrapper {
    padding: 14px;
    overflow-x: auto;
}

/* =====================================================
   TABLEAU DES ACTIVITES - DESKTOP
   ===================================================== */

#planning-service-list-view .planning-services-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
    background: transparent;
}

#planning-service-list-view .planning-services-table thead th {
    padding: 8px 12px 10px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#planning-service-list-view .planning-services-table tbody tr {
    background: #ffffff;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td {
    padding: 13px 12px;
    border-top: 1px solid #e7edf4;
    border-bottom: 1px solid #e7edf4;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    vertical-align: middle;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td:first-child {
    border-left: 1px solid #e7edf4;
    border-radius: 11px 0 0 11px;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td:last-child {
    border-right: 1px solid #e7edf4;
    border-radius: 0 11px 11px 0;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse):hover > td {
    background: #f9fbfe;
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] {
    padding: 14px 4px 4px;
    border: 0;
    background: transparent;
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 38px;
    margin: 0;
    padding: 9px 12px 9px 18px;
    border: 1px solid #d9e6f3;
    border-radius: 10px;
    background: #eef6ff;
    color: #1E3A5F;
    font-size: 13px;
    font-weight: 800;
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: #2563eb;
}

#planning-service-list-view .planning-services-table .state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: none;
}

#planning-service-list-view .planning-services-table .time-cell {
    display: inline-block;
    color: #1E3A5F;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

#planning-service-list-view .planning-services-table .cell-planning-actionBt {
    min-width: 170px;
}

#planning-service-list-view .planning-services-table .planning-actionBt {
    min-width: 64px;
    min-height: 50px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 2px !important;
    padding: 7px 8px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #006AFF !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 106, 255, .16);
    transition:
        transform .16s ease,
        background .16s ease;
}

#planning-service-list-view .planning-services-table .planning-actionBt:hover {
    background: #005bd6 !important;
    transform: translateY(-1px);
}

#planning-service-list-view .planning-services-table .rejectActionBt {
    background: #dc2626 !important;
    box-shadow: 0 4px 10px rgba(220, 38, 38, .14);
}

#planning-service-list-view .planning-services-table .rejectActionBt:hover {
    background: #b91c1c !important;
}

#planning-service-list-view .planning-services-table .planning-actionBt.disabled,
#planning-service-list-view .planning-services-table .planning-actionBt[disabled] {
    background: #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

#planning-service-list-view .planning-services-table .planning-bt-caption {
    font-size: 10px;
    line-height: 1.2;
}

#planning-service-list-view .planning-services-table .planning-actionBt .glyphicon,
#planning-service-list-view .planning-services-table .planning-actionBt .fas {
    font-size: 14px;
}

#planning-service-list-view .planning-services-table .expandable_info_link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid #d8e3ee;
    border-radius: 8px;
    background: #f8fafc;
    color: #1E3A5F;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#planning-service-list-view .planning-services-table .expandable_info_link:hover {
    background: #eef4fb;
}

#planning-service-list-view .planning-services-table tr.collapse td {
    padding: 14px 16px;
    border: 1px solid #dfe8f1;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}

/* =====================================================
   SMARTPHONE - PRESENTATION EN CARTES
   ===================================================== */

@media (max-width: 767px) {

    #planning-service-list-view.planning-services-page {
        padding: 12px;
    }

    #planning-service-list-view .planning-services-header {
        display: block;
        padding: 14px;
        border-radius: 13px;
    }

    #planning-service-list-view .planning-services-title {
        align-items: flex-start;
    }

    #planning-service-list-view .planning-services-title-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    #planning-service-list-view .planning-services-title h2 {
        font-size: 20px;
    }

    #planning-service-list-view .planning-services-title p {
        font-size: 12px;
    }

    #planning-service-list-view .planning-services-header-actions {
        width: 100%;
        margin-top: 14px;
    }

    #planning-service-list-view .planning-services-header-actions .planning-navigation {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #planning-service-list-view .planning-services-header-actions .planning-navigation a,
    #planning-service-list-view .planning-services-header-actions .planning-btn-nav {
        width: 100%;
    }

    #planning-service-list-view .planning-services-filters .planning-nav-container {
        gap: 8px;
        padding-bottom: 8px;
    }

    #planning-service-list-view .planning-btn-filter-link {
        flex: 0 0 132px;
        min-width: 132px;
    }

    #planning-service-list-view .planning-btn-filter-link .planning-btn-count {
        min-height: 66px;
        padding: 31px 11px 10px !important;
        font-size: 11px !important;
    }

    #planning-service-list-view .planning-services-card-header {
        min-height: auto;
        padding: 13px 14px;
    }

    #planning-service-list-view .planning-services-table-wrapper {
        padding: 10px;
        overflow: visible;
    }

    #planning-service-list-view .planning-services-table,
    #planning-service-list-view .planning-services-table tbody,
    #planning-service-list-view .planning-services-table tr,
    #planning-service-list-view .planning-services-table td,
    #planning-service-list-view .planning-services-table th {
        display: block;
        width: 100%;
    }

    #planning-service-list-view .planning-services-table thead {
        display: none;
    }

    #planning-service-list-view .planning-services-table {
        border-spacing: 0;
    }

    #planning-service-list-view .planning-services-table tbody tr {
        margin: 0;
    }

    #planning-service-list-view .planning-services-table tbody tr > th[colspan] {
        padding: 14px 0 7px;
    }

    #planning-service-list-view .planning-services-table tbody tr > th[colspan] h4 {
        min-height: 36px;
        padding: 8px 10px 8px 16px;
        font-size: 12px;
    }

    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) {
        position: relative;
        display: grid;
        grid-template-columns: 46px 1fr;
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid #e2eaf2;
        border-radius: 13px;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
    }

    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td {
        padding: 6px 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    /* Colonne couleur / statut mobile */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(2) {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 34px;
        min-height: 100%;
        margin-right: 10px;
        padding: 0 !important;
        border-radius: 9px !important;
    }

    /* Actions */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(3) {
        grid-column: 2;
        order: 4;
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 4px;
    }

    /* Horaire */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(4) {
        grid-column: 2;
        order: 1;
    }

    /* Société */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(5) {
        grid-column: 2;
        order: 2;
        color: #475569;
        font-size: 12px;
        line-height: 1.5;
    }

    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(5) b {
        display: block;
        margin-bottom: 5px;
        color: #1E3A5F;
        font-size: 14px;
    }

    /* Infos */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(6) {
        grid-column: 2;
        order: 3;
    }

    #planning-service-list-view .planning-services-table .planning-actionBt {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        min-height: 44px;
        margin: 0 !important;
        padding: 7px 8px !important;
    }

    #planning-service-list-view .planning-services-table .planning-bt-caption {
        font-size: 10px;
    }

    #planning-service-list-view .planning-services-table .time-cell {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 6px 9px;
        border-radius: 8px;
        background: #eef4fb;
        color: #1E3A5F;
        font-size: 12px;
        line-height: 1.2;
    }

    #planning-service-list-view .planning-services-table .expandable_info_link {
        width: 100%;
        justify-content: center;
    }

    #planning-service-list-view .planning-services-table tr.collapse {
        margin: -6px 0 12px;
        padding: 0;
    }

    #planning-service-list-view .planning-services-table tr.collapse td {
        display: block;
        padding: 12px;
        border-radius: 10px;
    }
}

/* =====================================================
   MES ACTIVITES - MODERN SAAS V2
   Refonte visuelle plus dynamique
   ===================================================== */

/* ---------- En-tête plus net ---------- */

#planning-service-list-view .planning-services-header {
    padding: 16px 18px;
    border: 1px solid #dce6f0;
    border-radius: 15px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow:
        0 10px 28px rgba(15, 23, 42, .07),
        0 2px 8px rgba(15, 23, 42, .03);
}

#planning-service-list-view .planning-services-title-icon {
    background:
        linear-gradient(135deg, #0f4c81 0%, #006AFF 100%);
    box-shadow:
        0 8px 18px rgba(0, 106, 255, .22);
}

#planning-service-list-view .planning-services-title h2 {
    color: #0f2742;
    font-size: 23px;
}

/* ---------- KPI desktop plus compacts ---------- */

#planning-service-list-view .planning-services-filters .planning-nav-container {
    justify-content: flex-start;
    gap: 9px;
    overflow: visible;
}

#planning-service-list-view .planning-btn-filter-link {
    flex: 0 0 168px;
    min-width: 168px;
    max-width: 168px;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count {
    min-height: 66px;
    padding: 31px 12px 10px !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 12px !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #243b55 !important;
    box-shadow:
        0 5px 14px rgba(15, 23, 42, .06) !important;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count::before {
    top: 11px;
    width: 34px;
    height: 5px;
    background: #006AFF;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(2) .planning-btn-count::before {
    background: #64748b;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(3) .planning-btn-count::before {
    background: #006AFF;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(4) .planning-btn-count::before {
    background: #ff7a00;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count.badge-selected {
    background:
        linear-gradient(180deg, #eef6ff 0%, #e7f1ff 100%) !important;
    border-color: #7db4ff !important;
    box-shadow:
        0 0 0 3px rgba(0, 106, 255, .10),
        0 8px 18px rgba(0, 106, 255, .10) !important;
}

#planning-service-list-view .planning-btn-filter-link .badge {
    top: 9px;
    right: 10px;
    min-width: 26px;
    height: 26px;
    background: #0f4c81;
}

/* ---------- Carte principale plus premium ---------- */

#planning-service-list-view .planning-services-main-card {
    border: 1px solid #dce6f0;
    border-top: 5px solid #006AFF;
    border-radius: 15px;
    box-shadow:
        0 12px 32px rgba(15, 23, 42, .08),
        0 2px 8px rgba(15, 23, 42, .03);
}

#planning-service-list-view .planning-services-card-header {
    background:
        linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
}

#planning-service-list-view .planning-services-card-icon {
    background:
        linear-gradient(135deg, #dcecff 0%, #eef6ff 100%);
    color: #006AFF;
}

/* ---------- Séparateurs de dates plus francs ---------- */

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4 {
    min-height: 40px;
    padding: 9px 14px 9px 18px;
    border: 1px solid #b8d6fb;
    border-radius: 10px;
    background:
        linear-gradient(90deg, #dbeeff 0%, #eef6ff 100%);
    color: #0f4c81;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 106, 255, .08);
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4::before {
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 10px 0 0 10px;
    background: #006AFF;
}

/* ---------- Lignes desktop plus élégantes ---------- */

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td {
    border-top-color: #dfe8f1;
    border-bottom-color: #dfe8f1;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse):hover > td {
    background: #f6faff;
}

/* ---------- Boutons d'action plus compacts ---------- */

#planning-service-list-view .planning-services-table .cell-planning-actionBt {
    min-width: 145px;
    white-space: nowrap;
}

#planning-service-list-view .planning-services-table .planning-actionBt {
    min-width: 58px;
    min-height: 44px;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 9px rgba(0, 106, 255, .15);
}

#planning-service-list-view .planning-services-table .planning-bt-caption {
    font-size: 9px;
}

#planning-service-list-view .planning-services-table .planning-actionBt .glyphicon,
#planning-service-list-view .planning-services-table .planning-actionBt .fas {
    font-size: 13px;
}

/* =====================================================
   SMARTPHONE V2
   ===================================================== */

@media (max-width: 767px) {

    #planning-service-list-view.planning-services-page {
        padding: 10px;
    }

    #planning-service-list-view .planning-services-header {
        border-radius: 12px;
        padding: 13px;
    }

    /* Filtres en grille 2 x 2 */
    #planning-service-list-view .planning-services-filters .planning-nav-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 0;
    }

    #planning-service-list-view .planning-btn-filter-link {
        min-width: 0;
        max-width: none;
        width: 100%;
        flex: none;
    }

    #planning-service-list-view .planning-btn-filter-link .planning-btn-count {
        min-height: 66px;
        padding: 31px 10px 9px !important;
        font-size: 11px !important;
    }

    /* Carte activité */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) {
        grid-template-columns: 12px minmax(0, 1fr);
        gap: 0 10px;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #dce6ef;
        box-shadow:
            0 7px 18px rgba(15, 23, 42, .07);
    }

    /* Bande de statut plus fine */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(2) {
        width: 8px;
        min-height: 100%;
        margin: 0;
        border-radius: 999px !important;
    }

    /* Masquer l'heure desktop pour éviter le doublon */
    #planning-service-list-view .planning-services-table .visible-md.visible-lg.time-cell {
        display: none !important;
    }

    /* Afficher uniquement l'heure mobile */
    #planning-service-list-view .planning-services-table .visible-sm.visible-xs.time-cell {
        display: inline-flex !important;
    }

    #planning-service-list-view .planning-services-table .time-cell {
        min-width: 92px;
        justify-content: center;
        padding: 6px 10px;
        background:
            linear-gradient(135deg, #e8f3ff 0%, #f4f9ff 100%);
        border: 1px solid #cfe3fb;
        color: #0f4c81;
        font-size: 12px;
        font-weight: 800;
    }

    /* Boutons réellement côte à côte et plus courts */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(3) {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        margin-top: 7px;
    }

    #planning-service-list-view .planning-services-table .planning-actionBt {
        flex: 0 1 auto;
        width: auto;
        min-width: 72px;
        max-width: 110px;
        min-height: 40px;
        padding: 5px 9px !important;
        margin: 0 !important;
    }

    #planning-service-list-view .planning-services-table .planning-bt-caption {
        font-size: 9px;
        white-space: nowrap;
    }

    #planning-service-list-view .planning-services-table .planning-actionBt .glyphicon,
    #planning-service-list-view .planning-services-table .planning-actionBt .fas {
        font-size: 12px;
    }

    /* Texte société plus lisible */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(5) {
        font-size: 11px;
        line-height: 1.45;
    }

    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(5) b {
        color: #102a43;
        font-size: 14px;
        margin-bottom: 4px;
    }

    #planning-service-list-view .planning-services-table tbody tr > th[colspan] h4 {
        background:
            linear-gradient(90deg, #cfe7ff 0%, #edf6ff 100%);
        border-color: #9bc8ff;
        color: #0f4c81;
        box-shadow: 0 4px 12px rgba(0, 106, 255, .10);
    }
}

/* =====================================================
   MES ACTIVITES - MODERN SAAS V3
   Nouvelle proposition desktop + smartphone
   ===================================================== */

/* =====================================================
   DESKTOP - NOUVELLE PROPOSITION
   ===================================================== */

#planning-service-list-view .planning-services-header {
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .06);
}

#planning-service-list-view .planning-services-title-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
    background: #eaf2fb;
    color: #006AFF;
    box-shadow: none;
}

#planning-service-list-view .planning-services-title h2 {
    color: #1E3A5F;
    font-size: 22px;
    font-weight: 800;
}

#planning-service-list-view .planning-services-title p {
    color: #718096;
    font-size: 12px;
}

/* Boutons d'en-tête plus sobres et cohérents */
#planning-service-list-view .planning-services-header-actions .planning-navigation {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 8px;
}

#planning-service-list-view .planning-services-header-actions .planning-navigation a {
    display: flex;
}

#planning-service-list-view .planning-services-header-actions .planning-btn-nav {
    min-height: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 14px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

/* Filtres desktop : compacts, alignés à gauche */
#planning-service-list-view .planning-services-filters .planning-nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
}

#planning-service-list-view .planning-btn-filter-link {
    flex: 0 0 145px;
    min-width: 145px;
    max-width: 145px;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count {
    min-height: 56px;
    padding: 26px 12px 9px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e3eaf2 !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .05) !important;
    color: #334155 !important;
    font-size: 11px !important;
}

#planning-service-list-view .planning-btn-filter-link .planning-btn-count::before {
    top: 10px;
    left: 12px;
    width: 26px;
    height: 4px;
}

#planning-service-list-view .planning-btn-filter-link .badge {
    top: 8px;
    right: 9px;
    min-width: 23px;
    height: 23px;
    font-size: 10px;
}

/* Carte principale plus légère */
#planning-service-list-view .planning-services-main-card {
    border: 1px solid #e4ebf3;
    border-top: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(15, 23, 42, .06);
}

#planning-service-list-view .planning-services-card-header {
    min-height: 66px;
    padding: 13px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e8eef5;
}

#planning-service-list-view .planning-services-card-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    background: #eef4fb;
    color: #1E3A5F;
    border-radius: 10px;
}

#planning-service-list-view .planning-services-table-wrapper {
    padding: 10px 12px 16px;
}

#planning-service-list-view .planning-services-table {
    border-spacing: 0 7px;
}

/* En-tête de tableau moderne */
#planning-service-list-view .planning-services-table thead th {
    padding: 9px 12px;
    color: #7a8899;
    font-size: 10px;
    font-weight: 800;
    background: #f8fafc;
    border-top: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
}

#planning-service-list-view .planning-services-table thead th:first-child {
    border-left: 1px solid #e8eef5;
    border-radius: 9px 0 0 9px;
}

#planning-service-list-view .planning-services-table thead th:last-child {
    border-right: 1px solid #e8eef5;
    border-radius: 0 9px 9px 0;
}

/* Lignes sous forme de cartes fines */
#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td {
    padding: 11px 12px;
    background: #ffffff;
    border-top: 1px solid #e6edf4;
    border-bottom: 1px solid #e6edf4;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td:first-child {
    border-left: 4px solid #d8e2ec;
    border-radius: 10px 0 0 10px;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td:last-child {
    border-right: 1px solid #e6edf4;
    border-radius: 0 10px 10px 0;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse):hover > td {
    background: #fbfdff;
    border-color: #d7e3ef;
}

/* Séparateurs de date : plus francs et actuels */
#planning-service-list-view .planning-services-table tbody tr > th[colspan] {
    padding: 14px 0 4px;
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4 {
    min-height: 36px;
    padding: 8px 12px 8px 16px;
    border: 0;
    border-left: 5px solid #006AFF;
    border-radius: 8px;
    background: linear-gradient(90deg, #dcecff 0%, #f4f8fd 100%);
    color: #123a5f;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none;
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4::before {
    display: none;
}

#planning-service-list-view .planning-services-table .state {
    min-width: 86px;
    min-height: 26px;
    font-size: 9px;
}

#planning-service-list-view .planning-services-table .time-cell {
    font-size: 12px;
}

#planning-service-list-view .planning-services-table .planning-actionBt {
    min-width: 54px;
    min-height: 40px;
    padding: 5px 7px !important;
}

/* =====================================================
   SMARTPHONE - NOUVELLE STRUCTURE VISUELLE
   ===================================================== */

@media (max-width: 767px) {

    /* Boutons d'en-tête sur la même ligne */
    #planning-service-list-view .planning-services-header-actions .planning-navigation {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 7px;
    }

    #planning-service-list-view .planning-services-header-actions .planning-navigation a {
        flex: 1 1 0;
        min-width: 0;
    }

    #planning-service-list-view .planning-services-header-actions .planning-btn-nav,
    #planning-service-list-view .planning-services-header-actions #acceptAllServicesBt {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
        height: 42px;
        min-height: 42px;
        padding: 0 8px !important;
        font-size: 10px !important;
        line-height: 1.15;
        white-space: normal;
    }

    /* Les 4 filtres sur une seule ligne pleine largeur */
    #planning-service-list-view .planning-services-filters .planning-nav-container {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
    }

    #planning-service-list-view .planning-btn-filter-link {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    #planning-service-list-view .planning-btn-filter-link .planning-btn-count {
        min-height: 58px;
        width: 100%;
        padding: 25px 5px 7px !important;
        font-size: 9px !important;
        text-align: center;
        justify-content: center;
        line-height: 1.15;
    }

    #planning-service-list-view .planning-btn-filter-link .planning-btn-count::before {
        left: 50%;
        transform: translateX(-50%);
        top: 9px;
        width: 24px;
    }

    #planning-service-list-view .planning-btn-filter-link .badge {
        top: 5px;
        right: 5px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 9px;
    }

    /* Carte mobile */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "status time"
            "company company"
            "info info"
            "actions actions";
        gap: 9px 12px;
        padding: 13px 13px 12px 18px;
        border: 1px solid #dfe8f1;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 5px 16px rgba(15, 23, 42, .06);
        overflow: hidden;
    }

    /* Liseré de statut utilisant directement la couleur inline du td */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(2) {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        min-height: 100%;
        margin: 0;
        padding: 0 !important;
        border-radius: 12px 0 0 12px !important;
        grid-area: unset;
    }

    /* Pastille de statut sur la ligne supérieure */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(2)::after {
        content: "";
        position: absolute;
        left: 13px;
        top: 14px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: inherit;
        box-shadow: 0 0 0 4px #ffffff;
    }

    /* Heure en haut à droite */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(4) {
        grid-area: time;
        justify-self: end;
        align-self: start;
        padding: 0 !important;
    }

    #planning-service-list-view .planning-services-table .visible-sm.visible-xs.time-cell {
        display: inline-flex !important;
    }

    #planning-service-list-view .planning-services-table .visible-md.visible-lg.time-cell {
        display: none !important;
    }

    #planning-service-list-view .planning-services-table .time-cell {
        min-width: auto;
        padding: 5px 8px;
        border: 0;
        background: #f1f5f9;
        color: #1E3A5F;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.15;
        text-align: right;
    }

    /* Zone statut réservée en haut à gauche */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan]))::before {
        content: "";
        grid-area: status;
        display: block;
        min-height: 22px;
    }

    /* Société */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(5) {
        grid-area: company;
        padding: 0 !important;
        font-size: 11px;
        line-height: 1.45;
    }

    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(5) b {
        margin-bottom: 4px;
        color: #16324f;
        font-size: 14px;
        font-weight: 800;
    }

    /* Infos */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(6) {
        grid-area: info;
        padding: 0 !important;
    }

    /* Actions */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(3) {
        grid-area: actions;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
        margin-top: 2px;
        padding: 0 !important;
    }

    #planning-service-list-view .planning-services-table .planning-actionBt {
        flex: 0 0 auto;
        width: auto;
        min-width: 72px;
        max-width: 105px;
        min-height: 38px;
        padding: 5px 8px !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    #planning-service-list-view .planning-services-table .planning-bt-caption {
        font-size: 9px;
        white-space: nowrap;
    }

    #planning-service-list-view .planning-services-table .planning-actionBt .glyphicon,
    #planning-service-list-view .planning-services-table .planning-actionBt .fas {
        font-size: 11px;
    }
}

/* =====================================================
   MES ACTIVITES - RENDU FINAL INSPIRE DE LA MAQUETTE
   KPI compacts + actions rondes + cartes sans bordures grises
   ===================================================== */

/* =====================================================
   CONTENEUR GENERAL
   ===================================================== */

#planning-service-list-view.planning-services-page {
    background: #f5f8fc;
}

#planning-service-list-view .planning-services-main-card {
    border: 0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(30, 58, 95, .08) !important;
}

#planning-service-list-view .planning-services-table-wrapper {
    background: #ffffff;
}

/* =====================================================
   FILTRES / KPI
   ===================================================== */

#planning-service-list-view .planning-services-filters {
    margin-bottom: 16px;
}

#planning-service-list-view .planning-services-filters .planning-nav-container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
}

/* "Tout" toujours en dernier */
#planning-service-list-view .planning-btn-filter-link.all-filter {
    order: 99;
}

#planning-service-list-view .planning-btn-filter-link {
    position: relative;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Base KPI */
#planning-service-list-view .planning-btn-filter-link .planning-btn-count {
    position: relative;
    width: 100%;
    min-height: 72px;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
    margin: 0 !important;
    padding: 10px 8px !important;
    border: 0 !important;
    border-radius: 11px !important;
    color: #ffffff !important;
    text-align: center !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .12) !important;
    overflow: hidden;
}

/* Suppression de toutes les anciennes décorations */
#planning-service-list-view .planning-btn-filter-link .planning-btn-count::before,
#planning-service-list-view .planning-btn-filter-link .planning-btn-count::after {
    display: none !important;
}

/* Couleurs pleines */
#planning-service-list-view .planning-btn-filter-link:nth-child(1) .planning-btn-count,
#planning-service-list-view .planning-btn-filter-link:nth-child(2) .planning-btn-count {
    background: #8b95a3 !important;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(3) .planning-btn-count {
    background: #2f80d0 !important;
}

#planning-service-list-view .planning-btn-filter-link:nth-child(4) .planning-btn-count {
    background: #ff8618 !important;
}

/* Nom du statut */
#planning-service-list-view .planning-btn-filter-link .planning-btn-count {
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

/* Nombre sous le statut */
#planning-service-list-view .planning-btn-filter-link .badge {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 8px !important;
    min-width: 0 !important;
    height: auto !important;
    transform: translateX(-50%);
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

/* Décale le texte du statut vers le haut */
#planning-service-list-view .planning-btn-filter-link:not(.all-filter) .planning-btn-count {
    justify-content: flex-start !important;
    padding-top: 10px !important;
}

/* Filtre actif */
#planning-service-list-view .planning-btn-filter-link .planning-btn-count.badge-selected {
    box-shadow:
        0 0 0 3px #ffffff,
        0 0 0 6px rgba(30, 58, 95, .18),
        0 8px 18px rgba(15, 23, 42, .14) !important;
}

/* =====================================================
   KPI "TOUT" : ICONE FILTRE BARRE SANS FOND
   ===================================================== */

#planning-service-list-view .planning-btn-filter-link.all-filter .planning-btn-count {
    min-height: 72px;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    box-shadow: none !important;
}

/* Entonnoir */
#planning-service-list-view .planning-btn-filter-link.all-filter .planning-btn-count::before {
    content: "\f0b0" !important;
    position: absolute;
    left: 50%;
    top: 50%;
    display: block !important;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    background: transparent !important;
    color: #203a5f;
    font-family: "Font Awesome 5 Free";
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

/* Barre rouge sur l'entonnoir */
#planning-service-list-view .planning-btn-filter-link.all-filter .planning-btn-count::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    display: block !important;
    width: 34px;
    height: 3px;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 999px;
    background: #ef4444;
}

/* =====================================================
   SEPARATEURS DE JOUR
   ===================================================== */

#planning-service-list-view .planning-services-table tbody tr > th[colspan] {
    padding: 15px 0 7px !important;
    border: 0 !important;
    background: transparent !important;
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4 {
    position: relative;
    min-height: 34px;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 7px 10px 7px 36px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #0759b7 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

#planning-service-list-view .planning-services-table tbody tr > th[colspan] h4::before {
    content: "\f073";
    position: absolute;
    left: 10px;
    top: 50%;
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    transform: translateY(-50%);
    border-radius: 0 !important;
    background: transparent !important;
    color: #006AFF;
    font-family: "Font Awesome 5 Free";
    font-size: 16px;
    font-weight: 900;
}

/* =====================================================
   PRESTATIONS
   ===================================================== */

#planning-service-list-view .planning-services-table {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
}

#planning-service-list-view .planning-services-table thead th {
    border: 0 !important;
    background: transparent !important;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) {
    background: #ffffff;
    box-shadow: 0 4px 13px rgba(15, 23, 42, .06);
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td {
    border: 0 !important;
    background: #ffffff !important;
}

#planning-service-list-view .planning-services-table tbody tr:not(.collapse):hover > td {
    background: #fbfdff !important;
}

/* Carré de statut sur toute la hauteur */
@media (min-width: 768px) {

    #planning-service-list-view .planning-services-table tbody tr:not(.collapse) > td:first-child {
        width: 118px;
        padding: 0 !important;
        overflow: hidden;
        border-radius: 10px 0 0 10px !important;
    }

    #planning-service-list-view .planning-services-table .state {
        width: 100%;
        min-width: 118px;
        min-height: 72px;
        height: 100%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 10px 8px !important;
        border-radius: 10px 0 0 10px !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }
}

/* =====================================================
   BOUTONS RONDS ACCEPTER / REFUSER
   ===================================================== */

#planning-service-list-view .planning-services-table .cell-planning-actionBt {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 112px;
    white-space: nowrap;
}

/* Ordre demandé */
#planning-service-list-view .planning-services-table .rejectActionBt {
    order: 1;
}

#planning-service-list-view .planning-services-table .acceptActionBt {
    order: 2;
}

/* Base ronde */
#planning-service-list-view .planning-services-table .rejectActionBt,
#planning-service-list-view .planning-services-table .acceptActionBt {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    box-shadow: 0 5px 12px rgba(15, 23, 42, .16) !important;
}

/* Rouge vif */
#planning-service-list-view .planning-services-table .rejectActionBt {
    background: #ef2b2d !important;
}

/* Vert vif */
#planning-service-list-view .planning-services-table .acceptActionBt {
    background: #24a53b !important;
}

#planning-service-list-view .planning-services-table .rejectActionBt:hover,
#planning-service-list-view .planning-services-table .rejectActionBt:focus {
    background: #d91f22 !important;
    transform: translateY(-1px) scale(1.03);
}

#planning-service-list-view .planning-services-table .acceptActionBt:hover,
#planning-service-list-view .planning-services-table .acceptActionBt:focus {
    background: #1d8f31 !important;
    transform: translateY(-1px) scale(1.03);
}

/* Cache le texte, conserve seulement la croix / le V */
#planning-service-list-view .planning-services-table .rejectActionBt .planning-bt-caption,
#planning-service-list-view .planning-services-table .acceptActionBt .planning-bt-caption,
#planning-service-list-view .planning-services-table .rejectActionBt br,
#planning-service-list-view .planning-services-table .acceptActionBt br {
    display: none !important;
}

#planning-service-list-view .planning-services-table .rejectActionBt .glyphicon,
#planning-service-list-view .planning-services-table .acceptActionBt .glyphicon {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 19px !important;
    line-height: 1 !important;
}

/* =====================================================
   DESKTOP
   ===================================================== */

@media (min-width: 992px) {

    #planning-service-list-view .planning-services-main-card,
    #planning-service-list-view .planning-services-filters {
        width: 78%;
        margin-left: auto;
        margin-right: auto;
    }

    #planning-service-list-view .planning-services-filters .planning-nav-container {
        grid-template-columns: 1fr 1fr 1fr 78px;
    }

    #planning-service-list-view .planning-btn-filter-link .planning-btn-count {
        min-height: 78px;
        font-size: 13px !important;
    }

    #planning-service-list-view .planning-btn-filter-link .badge {
        font-size: 30px !important;
    }
}

/* =====================================================
   SMARTPHONE
   ===================================================== */

@media (max-width: 767px) {

    #planning-service-list-view .planning-services-filters .planning-nav-container {
        grid-template-columns: 1fr 1fr 1fr 54px !important;
        gap: 6px;
    }

    #planning-service-list-view .planning-btn-filter-link .planning-btn-count {
        min-height: 60px;
        padding: 7px 4px !important;
        font-size: 9px !important;
    }

    #planning-service-list-view .planning-btn-filter-link .badge {
        bottom: 6px !important;
        font-size: 21px !important;
    }

    #planning-service-list-view .planning-btn-filter-link.all-filter .planning-btn-count {
        min-height: 60px;
    }

    #planning-service-list-view .planning-btn-filter-link.all-filter .planning-btn-count::before {
        font-size: 20px;
    }

    #planning-service-list-view .planning-btn-filter-link.all-filter .planning-btn-count::after {
        width: 28px;
        height: 2px;
    }

    /* Cartes mobiles sans bordures */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) {
        border: 0 !important;
        box-shadow: 0 6px 17px rgba(15, 23, 42, .08) !important;
    }

    /* Actions rondes à droite */
    #planning-service-list-view .planning-services-table tbody tr:not(.collapse):not(:has(th[colspan])) > td:nth-child(3) {
        justify-content: flex-end !important;
        gap: 9px;
    }

    #planning-service-list-view .planning-services-table .rejectActionBt,
    #planning-service-list-view .planning-services-table .acceptActionBt {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    #planning-service-list-view .planning-services-table .rejectActionBt .glyphicon,
    #planning-service-list-view .planning-services-table .acceptActionBt .glyphicon {
        font-size: 18px !important;
    }
}


/* =====================================================
   MON CALENDRIER - INTERFACE SAAS
   Classes planning-saas-*
   ===================================================== */

.planning-saas-page {
    min-height: calc(100vh - 100px);
    padding: 24px 18px 40px;
    background: #f4f7fb;
    color: #1e293b;
}

.planning-saas-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.planning-saas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.planning-saas-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.planning-saas-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #1E3A5F;
    color: #ffffff;
    font-size: 21px;
    box-shadow: 0 5px 14px rgba(30, 58, 95, .18);
}

.planning-saas-title h2 {
    margin: 0;
    color: #1E3A5F;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.planning-saas-title p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.planning-saas-main-row {
    display: flex;
    align-items: stretch;
    margin-right: -10px;
    margin-left: -10px;
}

.planning-saas-calendar-column,
.planning-saas-stats-column {
    padding-right: 10px;
    padding-left: 10px;
}

.planning-saas-calendar-card,
.planning-saas-stats-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e7edf4;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(15, 23, 42, .06);
}

.planning-saas-calendar-card {
    overflow: hidden;
}

.planning-saas-stats-card {
    padding-bottom: 16px;
}

.planning-saas-card-header {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 15px 18px;
    border-bottom: 1px solid #edf1f5;
    background: #ffffff;
    border-radius: 14px 14px 0 0;
}

.planning-saas-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.planning-saas-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef4fb;
    color: #1E3A5F;
    font-size: 16px;
}

.planning-saas-card-title strong {
    display: block;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.planning-saas-card-title p {
    margin: 3px 0 0;
    color: #8492a6;
    font-size: 12px;
    line-height: 1.35;
}

.planning-saas-calendar-container {
    width: 100%;
    padding: 16px;
    overflow-x: auto;
}

.planning-saas-calendar-container .planningType2 {
    min-width: 760px;
}

/* FullCalendar intégré à la carte */
.planningType2 .fc-toolbar.fc-header-toolbar {
    gap: 12px;
    margin-bottom: 16px;
}

.planningType2 .fc-toolbar-title {
    color: #1E3A5F;
    font-size: 20px !important;
    font-weight: 700;
}

.planningType2 .fc-button-primary {
    background: #006AFF !important;
    border-color: #006AFF !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.planningType2 .fc-button-primary:hover,
.planningType2 .fc-button-primary:focus,
.planningType2 .fc-button-primary:not(:disabled).fc-button-active {
    background: #0057d8 !important;
    border-color: #0057d8 !important;
}

.planningType2 .fc-button-primary:disabled {
    background: #c8d1dc !important;
    border-color: #c8d1dc !important;
    color: #ffffff !important;
    opacity: 1;
}

.planningType2 .fc-scrollgrid {
    overflow: hidden;
    border: 1px solid #e5eaf0 !important;
    border-radius: 10px;
}

.planningType2 .fc-col-header-cell {
    background: #f7f9fc;
}

.planningType2 .fc-col-header-cell-cushion {
    padding: 10px 5px !important;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.planningType2 .fc-daygrid-day-number {
    padding: 7px 8px !important;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.planningType2 .fc-day-other {
    background: #fafbfc;
}

.planningType2 .fc-day-other .fc-daygrid-day-number {
    color: #b2bdca;
}

.planningType2 .fc-day-today {
    background: #eef5ff !important;
}

.planningType2 .fc-day-today .fc-daygrid-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    margin: 4px;
    padding: 0 !important;
    border-radius: 50%;
    background: #006AFF;
    color: #ffffff;
}

.planningType2 .fc-daygrid-event {
    border-radius: 5px;
    font-size: 11px;
}

.planningType2 .fc-daygrid-dot-event {
    padding: 3px 5px;
}

.planningType2 .fc-daygrid-dot-event:hover {
    background: #f1f5f9;
}

.planningType2 .fc-event-title {
    font-weight: 600;
}

/* Colonne des statistiques */
.planning-saas-kpi {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 14px 0;
    padding: 14px;
    border: 1px solid #edf1f5;
    border-radius: 11px;
    background: #ffffff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.planning-saas-kpi:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(15, 23, 42, .08);
}

.planning-saas-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 16px;
}

.planning-saas-kpi-icon.is-total {
    background: #eaf2ff;
    color: #006AFF;
}

.planning-saas-kpi-icon.is-average {
    background: #e8f7f3;
    color: #16856f;
}

.planning-saas-kpi-icon.is-longest {
    background: #fff4e5;
    color: #d97706;
}

.planning-saas-kpi-icon.is-shortest {
    background: #f1edff;
    color: #7257c8;
}

.planning-saas-kpi-content {
    min-width: 0;
}

.planning-saas-kpi-content strong {
    display: block;
    margin-bottom: 3px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.planning-saas-kpi-content span {
    display: block;
    color: #718096;
    font-size: 12px;
    line-height: 1.35;
}

/* Tablettes */
@media (max-width: 991px) {
    .planning-saas-main-row {
        display: block;
    }

    .planning-saas-stats-column {
        margin-top: 18px;
    }

    .planning-saas-stats-card {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        padding: 0 8px 14px;
    }

    .planning-saas-stats-card > .planning-saas-card-header {
        width: calc(100% + 16px);
        margin: 0 -8px 2px;
    }

    .planning-saas-kpi {
        flex: 1 1 calc(50% - 28px);
    }
}

/* Smartphones */
@media (max-width: 767px) {
    .planning-saas-page {
        padding: 16px 10px 28px;
    }

    .planning-saas-header {
        margin-bottom: 14px;
    }

    .planning-saas-title {
        gap: 10px;
    }

    .planning-saas-title-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .planning-saas-title h2 {
        font-size: 21px;
    }

    .planning-saas-title p {
        font-size: 12px;
    }

    .planning-saas-calendar-column,
    .planning-saas-stats-column {
        padding-right: 5px;
        padding-left: 5px;
    }

    .planning-saas-card-header {
        min-height: 68px;
        padding: 13px 14px;
    }

    .planning-saas-calendar-container {
        padding: 10px;
    }

    .planningType2 .fc-toolbar.fc-header-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .planningType2 .fc-toolbar-chunk {
        width: 100%;
    }

    .planningType2 .fc-toolbar-title {
        font-size: 18px !important;
    }

    .planning-saas-kpi {
        flex: 1 1 100%;
        margin: 10px 8px 0;
        padding: 12px;
    }
}

/* =====================================================
   MES ACTIVITÉS — COULEURS DES FILTRES PAR STATUT
   Correction robuste : ne dépend plus de la position
   du bouton dans la liste.
   ===================================================== */

#planning-service-list-view
.planning-btn-filter-link[href*="filter=assigned"]
.planning-btn-count {
    background: #8b95a3 !important;
}

#planning-service-list-view
.planning-btn-filter-link[href*="filter=accepted"]
.planning-btn-count {
    background: #2f80d0 !important;
}

#planning-service-list-view
.planning-btn-filter-link[href*="filter=confirmed"]
.planning-btn-count {
    background: #ff8618 !important;
}

#planning-service-list-view
.planning-btn-filter-link[href*="filter=assigned"]
.planning-btn-count::before {
    background: #64748b !important;
}

#planning-service-list-view
.planning-btn-filter-link[href*="filter=accepted"]
.planning-btn-count::before {
    background: #006AFF !important;
}

#planning-service-list-view
.planning-btn-filter-link[href*="filter=confirmed"]
.planning-btn-count::before {
    background: #ff7a00 !important;
}

