:root {
    --primary-color: #547471;
    --secondary-color: #ccc8bb;
    --primary-color-hover: #90b1ad;
    --secondary-color-hover: #ddd8c4;
    --font-size: 16px;
    --spacing: 10px;
  }

  .header-banner{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .username{
    text-align: center;
    font-weight: 600;
    font-size: 10px;
    margin: 0;
    color: var(--primary-color)
  }
  .deco-btn{
    background-color: var(--primary-color);
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    padding: 5px 10px;
    margin: 0 10px;
  }
  .deco-btn:hover{
    color: var(--primary-color-hover);
  }
body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

header {
    text-align: center;
    padding: 10px 0;
    background-color: var(--primary-color);
    color: white;
}

h1 {
    font-size: 1.4rem;
}

main {
    padding: 10px;
}

.data-section {
    margin: 10px 0;
}


/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: var(--secondary-color);
    color: white;
    margin-top: 20px;
}

.accordion {
    margin: 10px 0;
}

.accordion-item {
  
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header,.banner {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}
.banner{
  background-color: var(--primary-color);
  color: white;
  padding: 10px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}
.vente-data{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.accordion-header:hover {
    background-color: var(--primary-color-hover);
}
.item-container{
  width: 120px;
    padding: 5px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    color: var(--primary-color);
}
.item-containerOverlay p {
  margin: 0;
}
.extended{
  width: 264px !important;
  height: 120px !important;
}
.extended div{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.item-containerOverlay{
  width: 120px;
  height: 20px;
  padding: 5px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  color: var(--primary-color);
  overflow: hidden;
  transition: 0.3s ease all;
}
.item-textTitle{
  height: 15px;
  font-size: 12px;
  margin-bottom: 10px !important;
}
.item-textOverlay{
  font-size: 10px;
}
.item-text:nth-child(1){
  font-size: 10px;
}
.item-text:nth-child(2){
    font-size: 12px;
}
.item-text:nth-child(3){
  font-size: 15px;
}
.item-text:nth-child(4){
  font-size: 10px;
}
.item-group-container{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* justify-content: center; */
}
.group-title{
  color: var(--primary-color);
}
.asterix{
  font-style: italic;
  color: grey;
  font-size: 12px;
  padding: 5px;
}
.accordion-content {
    max-height: 0;
    overflow: scroll;
    background-color: #f9f9f9;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.arrow{
    transition: transform 0.5s ease;
}
.opened{
    transform: rotate(180deg);
}
.accordion-content.open {
    max-height: 300px; /* Ajuste selon le contenu */
    padding: 7px;
}

.accordion-content p {
    margin: 5px 0;
}
/* Mobile-first design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.2rem;
    }

    table th, table td {
        font-size: 0.9rem;
    }
}

  .search-box{
    width: fit-content;
    height: fit-content;
    position: relative;
  }
  .input-search{
    height: 20px;
    width: 20px;
    border-style: none;
    padding: 5px;
    font-size: 12px;
    letter-spacing: 2px;
    outline: none;
    border-radius: 25px;
    transition: all .5s ease-in-out;
    background-color: transparent;
    color:#000000;
  }
  .input-search::placeholder{
    color:var(--primary-color);
    font-size: 15px;
    letter-spacing: 2px;
    font-weight: 100;
  }
  .btn-search{
    width: 30px;
    height: 30px;
    border-style: none;
    font-size: 10px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    color:#ffffff ;
    background-color:var(--primary-color-hover);
    pointer-events: painted;  
  }
  .btn-search:focus ~ .input-search{
    width: 350px;
    border-radius: 0px;
    /* background-color: var(--secondary-color-hover); */
    border-bottom:1px solid var(--primary-color);
    color:#000000 ;
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
  }
  .input-search:focus{
    width: 350px;
    border-radius: 0px;
    background-color: transparent;
    border-bottom:1px solid var(--primary-color);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
  }
  
.stock-container{
  width: 80px;
  display: flex;
  flex-direction: column;
  padding: 2px 10px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  color: var(--primary-color);
  justify-content: center;
  align-items: center;
}
.stock-data{
  font-size: 25px;
  font-weight: bold;
}
.stock-title{
  color: black;

  font-size: 15px;
}
/* ============================ Login ============================ */
.login-header{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  font-size: 30px;
  color: #93938b;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 500 ;
  width: 340px;
  position: relative;
}
.login-header::after{
  position: absolute;
  top: 105px;
  right: -10px;
  content: "";
  border-right: 4px solid #93938b;
  height: 600px;
}
.login-body {
    font-family: Arial, sans-serif;
    background-color: var(--primary-color); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 100vh;
    margin: 0;
    gap: 30px;
    
  }
  
  .login-container {
    background-color: #ffffffab;
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
  }
  
  .login-container h2 {
    color: #333; /* Assuming a dark grey color for text */
    text-align: center;
  }
  
  .login-input {

    padding: 10px;
    
    border: 1px solid #ccc;
    border-radius: 4px;
    border-bottom: 1px solid ;
  }
  
  .login-input:focus{
    outline: none;
    border-bottom: 1px solid rgb(29, 26, 15) !important;
  }
  
  .login-submit {
    background-color: var(--primary-color); 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
  }
  
  .login-submit:hover {
    background-color: var(--primary-color-hover); /* Darker yellow on hover */
  }
  
  .footer {
    text-align: center;
    font-size: 0.8em;
    color: #666;
    margin-top: 20px;
  }
  .login-err{
    margin-top: 20px;
    padding-left: 30px;
    color: rgb(243, 103, 103);
    font-style: italic;
  }

  .deco-btn:hover{
    color: var(--secondary-color);;
  }
  .settings-username{
    margin: 0 20px;
    color: var(--primary-color);
  }
  
  
  
  /* ============================ Users============================ */
  .users-main-container{
  
    width: 100%;
    display: flex;
  }
  .users-right,.users-left{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .users-table{
    width: 400px;
  }
  
  .users-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .users-input{
    font-size: 20px;
    width: 300px;
    height: 50px;
    padding-left: 15px;
    border-radius: 15px;
  }
  
  .users-btn{
    font-size: 20px;
    width: 300px;
    height: 50px;
    padding-left: 15px;
    border-radius: 15px;
    background-color:  var(--primary-color);
    ;
    border: none;
    cursor: pointer;
  }
  .users-btn:hover{
    color: rgb(255, 255, 255);
    background-color: var(--primary-color-hover);
  }
  
  .profile-box{
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 20px;
    font-weight: bold;
    width: 300px;
    height: 50px;
    padding: 0;
    border: none;
    border-bottom: 1px solid #40fd9e;
    border-radius: 15px;
    background-color: white;
  }
  
  .filter-box{
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    margin: 5px;
  }
  .filter-type-title{
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
    padding: 0 10px;
  }
  .radio-btn:checked{
    box-shadow: 0px 0px 0px 4px var(--primary-color);
    background-color: var(--primary-color);
}
.radio-btn{
    box-shadow: 0px 0px 0px 4px var(--primary-color-hover);
    font-size: 3em;
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border: 4px solid #fff;
    background-clip: border-box;
    border-radius: 50%;
    appearance: none;

}
.projects-list label{
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: normal;
  vertical-align: middle;
}
.projects-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.date-selectors{
  display: flex;
  justify-content: center;
}
.date-box{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  margin: 10px;
  width: 100%;
  /* height: 40px; */
}
.select-filter,.select-drop{
  background-color: transparent;
  border: none;
  width: 100%;
  /* height: 100%; */
  appearance: none;
  text-align: center;
  font-size: 15px;
  cursor: pointer;
  color: var(--primary-color);
}
.select-drop{
  color: var(--primary-color);
}
.select-drop:focus-within {
  background-color: white;
}
.project-container{
  display: flex;
  justify-content: center;
  align-items: center;
}
.charts-container{
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
}
.UCA-charts-container{
  margin-bottom: 20px;
}
.btn-uca-container,.btn-bloc-container{
  display: flex;
  justify-content: center;
  margin: 10px;
}
.statut-bloc-container{
  display: flex;
  justify-content: center;
  gap: 5px;
}
.btn-uca{
  width: 50px;
    background-color: white;
    font-size: 15px;
    border:1px solid var(--primary-color);
    cursor: pointer;
    color: var(--primary-color);
    padding:5px;
}
.btn-bloc{
    width: 80px;
    background-color: white;
    font-size: 15px;
    border:1px solid var(--primary-color);
    cursor: pointer;
    color: var(--primary-color);
    padding:5px;
    text-align: center;
}
.statut-bloc{
  width: 80px;
  font-size: 12px;
  padding:5px;
  background-color: var(--secondary-color-hover);
  border-radius: 10px;
}
.btn-uca:nth-child(1){
  border-radius: 5px 0 0 5px;
}
.btn-uca:nth-child(2){
  border-radius:  0 5px 5px 0;
}

.btn-uca-selected,.btn-bloc-selected{
  background-color: var(--primary-color);
  color: white;
}
.chart-container{
  width: 400px;
  height: 400px;
}
.chart-container2{
  width: 400px;
  height: 500px;
}
#etageWrapper{
  padding-bottom: 5px;
  border-bottom: 1px solid var(--primary-color);
}
#etageSelect{
  border: none;
  background-color: transparent;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}
.bloc-container{
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slides-wrapper {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 300%; /* Adjust based on number of slides */
}
.sildes-container{
  width: 100%;
}
.mySlides {
  width: 100%;
  flex-shrink: 0;
}

img {
  /* width: 100%; */
  vertical-align: middle;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  /* position: absolute; */
  /* top: 50%; */
  /* margin-top: -22px; */

}

.next {
  /* right: 0; */
  transform: rotateY(180deg);

}


/* Caption text */
.chart-text {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  margin: 20px 0;
  color: var(--primary-color)
}

.all-charts-container{
  display: none;
}

/* Dots indicators */


.dot,.dotI {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: var(--primary-color-hover);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover, .dotI:hover {
  background-color: var(--primary-color);
  height: 15px;
  width: 15px;
}



.dot-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

}

.filter-boxs{
  position: sticky;
  top: 0;
  background-color: #f0f0f0;
  padding: 10px;
  z-index: 100;
  transition: position 0.3s ease;
}
.filter-boxs.fixed {
  position: fixed;
  top: 0;
  width: 100%; /* Optional: makes sure it takes full width when fixed */
}

.selectedProject {
  background-color: var(--primary-color) !important;
  color: white !important;
  border: 2px solid black;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  
}
#overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
}
.spinner{
  width: 100px;
}
.text-loader{
  color: white;
  font-size: 25px;
}
.loader-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgba(255, 250, 250, 0.26);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  height: 400px;
  width: 90%;
}
.loader-container2{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  background-color: rgba(255, 250, 250, 0.26);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  height: 400px;
  width: 90%;
  position: relative;
}
.overlay-container{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  flex-wrap: wrap;
  gap: 15px;
  overflow: scroll;
}
.item-containerOverlay{
  background-color: white;
}
.overlay-header{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  color: white;
  font-size: 20px;
  margin: 5px;
  border-bottom: 1px solid white;
  width: 80%;
  padding-bottom: 5px;
}
.close-icon{
  position: absolute;
  top: 5px;
  right: 5px;
}
.projects-list button {
  background-color: white;
  font-size: 15px;
  border:none;
  border-radius:5px;
  cursor: pointer;
  color: var(--primary-color);
  padding:2px 10px;
  border: 2px solid var(--primary-color);
  font-size: 13px;
}
#quick-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 10px;
}
.btn-date{
  background-color: #979386;
  font-size: 10px;
  border:none;
  border-radius:5px;
  cursor: pointer;
  color: white;
  padding:5px 10px;
}

.date-from-to-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
}
.date-from-to-container label{
  color: var(--primary-color);
  font-size: 15px;
}
.fromto-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--primary-color);
}
.nav-container{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.desistement{
  border-left: 5px solid rgb(226, 33, 33);
}