*{
  font-family: 'Times New Roman', Times, serif
}

.dashboard {
  max-width: 100%;
  height: 100%;
  margin: 55px 0px 15px 85px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

/* div_1 */
/* Dropdowns and Toggle button styling */
.div_1 {
  width : 100%;
  display: flex;
  justify-content: space-between;
}

.category_dropdown {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.dropdowns{
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  align-items: center;
}

.label{
  font-size: calc(14px + 0.8vh);
  font-weight: bold;
}
.main_dropdown {
  width: 255px;
  margin: 0px 0px 0px 10px;
  font-size: calc(10px + 1vh);
}

.pipe{
  font-size: 45px;
  font-weight: 30;
  color: #aaaaaa;
  transform: translateY(-6px);
  margin: 0 2px 0 2px;
  padding: 0;
  align-items: center;
}

.toggle-button {
  border: none;
  border-radius: 40px;
  width: 70px;
  height: 70px;
  display: flex;
  color: white;
  font-size: calc(12px + 2vh);
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 10px 10px 0px 10px;

  
}

.toggle-on {
  background-color: green;
}

.toggle-off {
  background-color: red;
}
/* ................................................................................................................. */
/* toggle-message div */
.toggle_message {
    font-weight: bold;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    align-items: center;
    font-size: calc(14px + 1.2vh);
}

/* ................................................................................................................. */
/* div_2 */
/* Description container and Graph/Image container */
.div_2 {
  width: 100%;
  min-height: 490px;
  margin: 15px 0px 0px 0px;
  display: flex;
  justify-content: space-around;
/*  align-items: flex-start;
  flex-wrap: wrap;*/
}

.description_container {
  width: 700px;
  height: 490px;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  background-color: #e8f5e9;
  box-shadow: 2px 2px 10px #aaaaaa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-y: scroll;
}
.description_title {
  font-size: calc(12px + 2vh);
  font-weight: bold;
}
.description_text {
  font-size: calc(12px + 1vh);
}

.card_content{
  margin:0px;
  display:flex;
  flex-direction:column;
  text-align:left;
  width:100%;
}

.card_heading{
  font-size:calc(12px + 2vh);
  font-weight:bold;
  padding: 3px 0 0 5px;
  text-align: left;
}

.card_value{
  font-size:calc(10px + 2vh);
  margin: 0;
  text-align: left;
}


/* Common visual card (description or graph/image) */
.graph_container {
  width: 700px;
  height: 490px;                /* Fixed height instead of % to avoid repaints */
  padding: 15px;
  border-radius: 10px;
  background-color: #e8f5e9;
  box-shadow: 2px 2px 10px #aaaaaa;
  transition: all 0.2s ease-in-out;
}


/* ................................................................................................................. */

.card_text {
  height: 100%;
  display: flex;
  font-size: calc(30px + 2vh);
  align-items: center;
  justify-content: center;
}
/* ............................................................ */

/* RGB Card style */


.rgb_card_image {
  height: 120px;
  width: 200px;
  display: block;
  margin: 0 auto;
}
.led_card_image {
  width: 150px;
  height: 150px;
}

.card_title {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
}



/* ................................................................................................................. */
.description_container::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}

.description_container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.description_container::-webkit-scrollbar-thumb {
  background: #f1f1f1;
  border-radius: 10px;
}

.description_container::-webkit-scrollbar-thumb:hover {
  background: #388e3c;
}

.description_container {
  scrollbar-width: thin;
  scrollbar-color: #787777 #f1f1f1;
}
