/*
############################################
############################################
########  _    _ _____  _       _  #########
######## | |  | |  __ \| |     | | #########
######## | |  | | |__) | |_ ___| | #########
######## | |  | |  ___/| __/ _ \ | #########
######## | |__| | |    | ||  __/ | #########
########  \____/|_|     \__\___|_| #########
############################################
# UPtel tous droits réservés ###############
# ALEGRI Rémy # contact@uptel.tel ##########
# SITE WEB : https://uptel.tel #############
# version : prod 2.17 ######################
############################################
*/
@font-face {
    font-family:"Calibri_W01_Regular.ttf";
    src:url(/font/Calibri_W01_Regular.ttf)
}
@font-face {
  font-family:"fa-solid-900";
  src:url(/font/fa-solid-900.woff2)
}
html{
    font-family: "Calibri_W01_Regular.ttf";
    color : black;
    margin:0;
}
body{
    margin : 0;
    background-color: rgb(255, 255, 255);
    /*min-height: 1400px;*/
}

#chart-container {
  width: 91%;
  height: auto;
  color: black;
}

.container {
    max-width: 96%;
    margin: 0 auto;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 10px;
    vertical-align: middle;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
}
/*
.zonetext{
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  background-color: rgb(248, 248, 248);
  margin-top: 50px;
  padding-bottom: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}*/

.zonetext{
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  width: 96%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1%;
}


.boutonvalid{
  padding: 10px 15px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.control-panel {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    margin-top: 30px;
}

input:checked + .slider {
  background-color: #3498db;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

#nomberview{
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

#erreurview{
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

#filter {
    width: 100%;
    border-collapse: collapse;
}

#filter th {
    background-color: #0086D5;
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}

#filter td {
    padding: 10px 8px;
    vertical-align: middle;
}

.nomberviewtext{
  padding: 0px 20px 0px 20px;
  margin:0;

}
b {
    font-weight: 600;
    color: #555;
    margin-right: 8px;
}
td{
    padding-left: 20px;
    padding-right: 20px;
    font-size : 12px;
    text-align: center;
}

#listefournisseur{
  padding-bottom: 30px;
}

form{
  margin-block-end: 0;
}

th{
  font-size : 17px;
/*color : rgba(255,100,100,1);*/
}

a{
  color : rgba(100,150,255,1);
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 28px;
}

.zonetext h1{
  text-align: left;
}

h2{
    margin-block-end : 0;
}

.titre{
  margin-left: 10%;
}

#titel{
  /*position: fixed;*/
  /*top: 0px;*/
  z-index: 1000;
}
#fiter{
  display: inline-flex;
  border-spacing: 0;

}

#fiter p {
  padding: 10px 20px 10px 20px;
}

.bouton{
	background-image: linear-gradient(to right, #16A085 0%, #F4D03F 51%, #16A085 100%);
	font-size: 20px;
	padding: 10px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;
	/*box-shadow: 0 0 20px #eee;*/
	border-radius: 10px;
    display: block;
    width: 80px;
    margin-top: 50px;

}
.bouton:hover { 
	background-position: right center;
}
/*
#dictab{
    background-color: #16A085;
    border: 1px solid #FFFFFF;
}

#dictab td{
    padding-left: 20px;
    padding-right: 20px;
    font-size : 15px;

}

#dictab th{
    font-size : 20px;
}*/

#menu2{
  border-bottom: 6px solid #23adff;
  padding: 5px;
  padding-top: 15px;
  text-align: center;
}

/*---- DÃ©but Menu ----*/
#menu{
  background-color: #0086D5;
  display: block;
  width: 100%;
  /*position: fixed; version 1.4*/ 
}

#menugr{
 width: 70%;
}
#menudr{
max-width: 250px;
position: absolute;
right: 0;
display: flex;
}
nav#menubar1 { /* menu */

	padding-left: 5px;
    padding-right:5px;
	border: #083a7c;
    display: block;
    background-color: #0086D5;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: flex;
} 
.linkmenu{
  cursor:pointer;
  border-width: 0;
  border-style: none;
  /*border-color: none;*/
  border-image: none;
  /*rÃ©grage de menu */
  position: relative;
	font-size: 19px;
	background:none;
	padding: 5px 30px; /* dimention des cases */
	color: rgb(255, 255, 255);

	text-decoration: none;
	/*border-radius: 6px;*/
    display: inline-block; /*crÃ©ation de block*/
}
.pres{
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}
.pres td{
  font-size: 18px;
  color: rgb(255, 255, 255);
  height: 60px;
  background-color: #0e7cbd;
  /*box-shadow: inset 0px 0px 25px 1px rgb(0 0 0 / 30%);
  -moz-box-shadow: inset 0px 0px 25px 1px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0px 0px 25px 1px rgb(0 0 0 / 30%);*/
  min-width: 140px;
}


.titepres{
  text-align: left;
  font-weight: 900;
  padding-left: 5px;
}
.parametres{
  background:url(/images/parametres.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 0;
  width: 28px;
  height: 28px;
  margin-right: 7px;
}
.editlist{
  background:url(/images/editlist.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 0;
  width: 22px;
  height: 28px;
  margin-right: 7px;
}
#logout{
  background:url(/images/logout.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 0;
  width: 30px;
  height: 30px;
}
#menudruser{
  margin-block-start: 0;
  margin-block-end: 0;
  color: #fff;
  padding-top: 5px;
  padding-right: 7px;
}

nav#menubar2 { /* menu */

	padding-left: 5px;
  padding-right:5px;
	border: #083a7c;
  display: block;
  background-color: #0086D5;
  margin-left: auto;
  margin-right: auto;
  position: initial;
  /*width: -moz-fit-content;*/
  /*width: fit-content;*/

} 
.div-pourappelsimu{
  max-width: 300px;
  min-height: 538px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  background-color: rgb(248, 248, 248);
  padding: 10px;
}
.div-g{
  width: 1040px;
  min-height: 538px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  background-color: rgb(248, 248, 248);
  padding: 10px;
}


#div-graphappelsimu{
  max-width: 1400px;
  min-height: 700px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  background-color: rgb(248, 248, 248);
  padding: 10px;
}

#tableappel{
  margin-left: auto;
  margin-right: auto;
}
.linkmenuactive{ /*survol avec la sourie*/
	background: #1E2942;
	color: #FFFFFF;
  text-decoration: none;
}
.boutonslider {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.linkmenu:hover{ /*vurvol avec la sourie*/
	background: #1E2942;
	color: #FFFFFF;
  text-decoration: none;
}
.menuform{
  margin: 0;
  display: block;
}
.sup{
    width: -moz-fit-content;
    width: fit-content;
    margin: 20px;
}

th{
  padding-bottom: 12px;
}

td{
  border-bottom: 1px solid rgba(255, 255, 255, 0.294);
  padding-top: 4px;
  padding-bottom: 4px;
}

#param{
    background-color: rgb(79, 93, 90);
    border: none;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
}


.validdelete{
  width: 15px;
  height: 20px;
  background: url(/images/delecte.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.validdeletesombre{
  width: 15px;
  height: 20px;
  background: url(/images/delecte_sombre.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* CSS login */
#pagelogin{
  min-height: auto;
  background-color: #1E2942;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

#divlogin {
  margin: 10% auto 0 auto;
  width: 700px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 20px;
}
.company_logo {
  width: 350px;
  padding-left: 20px; /* logo à droite donc padding à gauche */
}

#login {
  padding: 15px;
  border-radius: 10px;
  width: 300px;
  margin: 0; /* ⬅️ on vire le margin-left */
}

#login h4{
  margin-block-end: 0;
  font-size: 20px;
  margin-top: 10px;
}

input[type="number"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 12px;
  transition: all 0.3s ease;
}

input[type="text"],
input[type="password"],
input[type="date"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
#validlogin{
  text-transform: none;
  color: #fff;
  background-color: #204d74;
  border-color: #122b40;
  margin-top: 42px;
  margin-left: 206px;
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}
/*  fin login  */


table{
  margin-bottom : 20px;

}

#pageselect{
  display: inline-flex;
}


.cs-loader {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
}

.linkpage{
  cursor:pointer;
  border-width: 0;
  border-style: none;
  /*border-color: none;*/
  border-image: none;
 /* rÃ©grage de menu */
    position: relative;
	font-size: 15px;
	background:none;
	padding: 5px 5px; /* dimention des cases */
	color: rgb(255, 255, 255);

	text-decoration: none;
	/*border-radius: 6px;*/
    display: inline-block; /*crÃ©ation de block*/
}


.linkpage:hover{ /*vurvol avec la sourie*/
	background: rgb(230, 130, 0);
	color: #FFFFFF;
    text-decoration: none;
}


#legende{
  display: inline-flex;
  margin-bottom: 20px;

}
  .cs-loader-inner {
    transform: translateY(-50%);
    top: 50%;
    position: absolute;
    width: calc(100% - 200px);
    color: #1b4f94;
    padding: 0 100px;
    text-align: center;
    position: absolute;
    margin-top: 25%;
  }
  
  .cs-loader-inner label {
    font-size: 28px;
    opacity: 0;
    display:inline-block;
  }
  
/* Styles pour les champs copiables */
.copyable-field {
  position: relative;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.copyable-field:hover {
  background-color: #e3f2fd !important;
}

.copyable-field:active {
  background-color: #bbdefb !important;
}

/* Style spécifique pour les sessions */

.copyable-field[id^="session_"]:hover {
  border-color: #007bff;
  background-color: #e3f2fd !important;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
  color: #007bff;
}
  @keyframes lol {  
    0% {
      opacity: 0;
      transform: translateX(-300px);
    }
    33% {
      opacity: 1;
      transform: translateX(0px);
    }
    66% {
      opacity: 1;
      transform: translateX(0px);
    }
    100% {
      opacity: 0;
      transform: translateX(300px);
    }
  }
  
  @-webkit-keyframes lol {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-300px);
    }
    33% {
      opacity: 1;
      -webkit-transform: translateX(0px);
    }
    66% {
      opacity: 1;
      -webkit-transform: translateX(0px);
    }
    100% {
      opacity: 0;
      -webkit-transform: translateX(300px);
    }
  }
  
  .cs-loader-inner label:nth-child(6) {
    -webkit-animation: lol 3s infinite ease-in-out;
    animation: lol 3s infinite ease-in-out;
  }
  
  .cs-loader-inner label:nth-child(5) {
    -webkit-animation: lol 3s 100ms infinite ease-in-out;
    animation: lol 3s 100ms infinite ease-in-out;
  }
  
  .cs-loader-inner label:nth-child(4) {
    -webkit-animation: lol 3s 200ms infinite ease-in-out;
    animation: lol 3s 200ms infinite ease-in-out;
  }
  
  .cs-loader-inner label:nth-child(3) {
    -webkit-animation: lol 3s 300ms infinite ease-in-out;
    animation: lol 3s 300ms infinite ease-in-out;
  }
  
  .cs-loader-inner label:nth-child(2) {
    -webkit-animation: lol 3s 400ms infinite ease-in-out;
    animation: lol 3s 400ms infinite ease-in-out;
  }
  
  .cs-loader-inner label:nth-child(1) {
    -webkit-animation: lol 3s 500ms infinite ease-in-out;
    animation: lol 3s 500ms infinite ease-in-out;
  }


/* Masquer les indicateurs de la liste déroulante pour différents navigateurs */
input::-webkit-calendar-picker-indicator,
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration,
input::-ms-expand,
input::-moz-list-bullet {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.custom-dropdown {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    margin-top: 2px;
}

.custom-dropdown.active {
    display: block;
}

.custom-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-dropdown li {
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}


.custom-dropdown li:hover {
    background-color: #ecf0f1;
}

.input-with-list {
  font-size: 12px;
  position: relative;
}

/* Zone de graphiques */
.graph-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}


#graph {
    width: 100%;
    min-height: 400px;
}
.loading {
    text-align: center;
    padding: 50px;
    color: #7f8c8d;
    font-size: 16px;
}

.loading:after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

@media print {
    .no-print {
        display: none !important;
    }
    
    .graph-container {
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    .container {
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    
    #filter {
        font-size: 11px;
    }
    
    input[type="text"],
    input[type="date"] {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    #filter th,
    #filter td {
        padding: 8px 4px;
        font-size: 10px;
    }
    
    .boutonvalid {
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* Indicateur de recherche */
.search-hint {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.search-hint.visible {
    display: block;
}