.container-graph {
  display: flex;
  flex-direction: column;
  position: relative;
  height: max-content;

  .date-picker{
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
  }

  .mat-form-field{
    font-family: 'Onest', sans-serif;
  }

  mat-datepicker-toggle, mat-date-range-input{
    color: #16423C;
  }

 .mat-form-field.mat-focused .mat-date-range-input {
    color: #16423C;
  }

  .sensor-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center;
    margin-bottom: 35px;
    border: 1px solid #E5E5E5;
    padding: 0px 20px 0px 20px;
    background-color: white;
    border-radius: 10px;

    h2 {
      font-size: 18px;
      margin-bottom: 10px;
    }
  
    canvas {
      position: relative;
      width: 100%;
      height: auto; 
      aspect-ratio: 2 / 1; 
      max-height: 300px;
    }
  }
  

  .title-with-dropdown {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 50%;

    .title {
      flex: 0 0 25%;
      text-align: center;
    }

    .form-select {
      flex: 0 0 25%;
      margin: 18px 0px 0px 15px;
    }
  }
}

.title {
  text-align: center;
  font-size: 20px;
  margin: 18px 0px 0px 0px;
}

@media (max-width: 768px) {
  canvas {
    height: auto; 
    width: 100%;
    max-width: 100%; 
  }

  .date-picker{
    display: flex;
    justify-content: center;
    padding: 10px 20px;
  }

  mat-hint{
    font-size: 10px;
    align-items: center;
  }
}

@media (max-width: 344px) {
  canvas {
    height: auto; 
    width: 100%;
    max-width: 100%; 
  }

  .date-picker{
    display: flex;
    justify-content: center;
    padding: 10px 20px;
  }

  mat-hint{
    font-size: 10px;
    align-items: center;
  }
}

.loading {
  font-size: 18px;
  text-align: center;
}

.spinner {
  color: #16423C;
}

.no-data {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 18px;
}


