body {
    background-color: #000000;
}

/*--------------------------------------MAIN---------------------------------------*/
.with-margin-topbar {
  margin-top: 64px !important;
}

.main-column{
    padding: 0;
}

body.sidebar-expanded .main-content {
    padding-left: 225px !important;
    transition: padding-left 0.5s;
}
body:not(.sidebar-expanded) .main-content {
    padding-left: 70px !important;
    transition: padding-left 0.5s;
}



.main-content {
    color: white;
    margin-top: 64px;
    flex: 1 1 0;
    min-width: 0;
}


/*--------------------------------------LOGIN--------------------------------------*/
.btn-lg {
    background-color: #AEFF00
    ;
}

.sign-in-section {
    padding: 40px;
    margin-top: 7vw;
}

.sign-in-logo {
    width: 80%; 
}

.sign-in-version {
    font-size: 0.9em;
}

.sign-in-client-logo {
    width: 40%; 
}




/*--------------------------------------------NAVBAR-------------------------------------------*/
.tab-period {
  background-color: #393C45;
  border-radius: 20px;
}

.tab-period .nav-link {
  text-decoration: none;
  color: white;
}

.tab-period .nav-link:focus{
  background-color: rgb(36, 146, 61);
  border-radius: 20px;
  color: white;
}

.tab-period li a:hover{
	background-color:#AEFF00;
  color: white;
	font-weight: bold;
  border-radius: 20px;
}

/*--------------------------------------Dashboard general--------------------------------------*/
  .bg-grey {
    background-color: #393C45;
  }


  .dashboardchoice-button{
    width: 100%;
    padding: .8em;
    border-radius: 15px;
    font-weight: bold;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    transition: all .4s;
    margin: .5em;
    border: 1px solid white;
}

.dashboardchoice-button:hover{
  background-color: #000000;
  color: white;
  transition: all .4s;
}

  .total-kw-consumed {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
  }

  .amount-consumed {
    color: red;
    font-size: 2em;
    font-weight: bold;
  }

  .background-graphic {
    border: 2px solid white;
  }

  .dateTimeChoice {
    border-radius: 50px;
  }
  

  /*--------------------------------------Databoard--------------------------------------*/
  .btn-energy {
    width: 280px;
    height: 120px;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-right: 15px;
  }

  .electricity{
    background-color: #F6B331;
  }

  .gas{
    background-color: #E7E158;
  }
  
  .water{
    background-color: #7FEDF9;
  }
  
  
  .btn-text-energy {
    font-weight: bold;
    font-size: 1em;
  }

  .icone-energy{
    font-size: 50px;
  }

  .table-databoard {
    table-layout: fixed;
    width: 100%;
  }

  /**********************DASHBOARD**************************/

  /*** FILTER SECTION ***/
  /* Bord arrondi pour tous les boutons et select */
.form-select,
.btn-search, .btn-reset {
  border-radius: 16px;
}

.form-select{
  background-color: #000;
  color: white;
}

/* Aligne tous les labels à gauche, mêmes largeurs */
.filter-group {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.filter-group label {
  width: 100px; /* largeur fixe pour alignement */
  text-align: left;
  margin-right: 10px;
  font-weight: 500;
}

/* Style spécifique pour les boutons */
button.btn-search {
  background-color: white;
  color: black;
  border: 1px solid #ccc;
}

button.btn-reset {
  background-color: black;
  color: white;
  border: none;
}

button.btn-reset, button.btn-search{
  font-weight: bold;
  padding: .3em;
  width: 8em;
}

/* Optionnel : ajouter un peu d'espace entre les boutons */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
/*** MAIN DATABOARD ***/
.sticky-form {
    position: sticky;
    top: 64px;
    z-index: 1000;
    background-color: rgb(0, 0, 0); /* pour ne pas que le fond soit transparent */
    border-bottom: 1px solid #ddd;
}
.toggle-group-selector {
    display: inline-flex;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 100px;
    overflow: hidden;
    background-color: #000000;
  }

  .button-selector {
    padding: .5em;
    background: none;
    border: none;
    color: white;
    margin: 0;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
  }

  .button-selector.selected {
    border: 1px solid gray;
    background-color: white;
    color: black;
    z-index: 1;
  }

.container_section{
    display:flex;
    flex-direction: row;
}


.data-title{
    color: #AEFF00 ;
}
/* Style for data blocks */
.data-block h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.small-title {
    font-size: 1rem;
    font-weight: bold;
}

/* Style for horizontal rules */
hr {
    margin: 10px 0;   
    width: 90%;
}

.column{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.col-chart-container{
  flex-wrap: wrap;
  justify-content: center;
}

.chart-col {
  flex: 1 1 30%; 
  max-width: 250px;
  box-sizing: border-box;
  margin-bottom: 1em;
}

.button-chart-col{
  border-radius: 16px;
  padding: .5em;
  color: white;
  background-color: #171717;
}

/* Separator line between columns */
.vertical-line {
    width: 1.1px;               
    height: 90%;              
    background-color: #ffffff;   
    margin: 0;
    margin-top: 1em;
}

.data-block {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    height: fit-content;
    width: 100%;
    margin: 0 auto;
    cursor: pointer;
}

.div-data > span{
  color: white;
}

  
  



