/* Da je prikazovalni panel ravno znotraj obmocja TABa */
/* V2 */
* {
  box-sizing: border-box;
}

.container {
  padding: 10px;
}

.panel-title {
    font-size: 1.8em;  /* Adjust the value as needed */
    line-height: 2.0;
}

.panel-row-gauge {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.panel-column-gauge {
  position: relative;
  text-align: center;
  color: darkblue;
  padding: 5px;
  max-width: 100%;
  width: 33.33%;
  margin: 10px;
}

.panel-column-gauge img {
  width: 80%;  /* Reduce image size to make it more proportional */
  height: auto;
  max-width: 200px;  /* Optional: Limit the max size on larger screens */
  margin-bottom: 10px;
}

.panel-gauge-label {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    text-shadow: 2px 1px yellow;
    line-height: 0.5;
}

.panel-gauge-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;  /* Adjust the font size for smaller devices */
    text-shadow: 2px 1px yellow;
    line-height: 0.5;
}

.panel-gauge-unit {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    text-shadow: 2px 1px yellow;
    line-height: 0.5;
}

/* Media query for smaller screens */
@media only screen and (max-width: 600px) {
    .panel-title {
        font-size: 1.2em;
        line-height: 1.0;
    }

    .panel-gauge-label {
        top: 20%;
        font-size: 0.9em;
        line-height: 1.0;
    }

    .panel-gauge-text {
        top: 50%;        
        font-size: 3.5em;  /* Adjust for better scaling on mobile */
        line-height: 0.5;
    }

    .panel-gauge-unit {
        font-size: 1em;
        line-height: 0.5;
    }

    .panel-column-gauge img {
        width: 60%;  /* Reduce the image size further on small screens */
        max-width: 150px;  /* Optional: Limit the max size for very small screens */
    }
}
