.tankdiv {
              font-family: sans-serif;
              
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              margin: 0;
              width: 600px;
            }

            .tank-wrapper {
              display: flex;
              flex-direction: column;
              align-items: center;
              position: relative;
              height: 350px;
            }

            .bottleneck {
              width: 80px;
              height: 30px;
              border: 5px solid #555;
              border-radius: 25px 25px 0 0;
              background: #e0e0e0;
              position: absolute;
              top: 20px;
              left: 50%;
              transform: translateX(-50%);
              z-index: 3;
              overflow: hidden;
            }

            .tank-body {
              width: 240px;
              height: 300px;
              border: 5px solid #555;
              border-radius: 120px;
              background: #e0e0e0;
              position: absolute;
              bottom: 0;
              z-index: 1;
              overflow: hidden;
            }

            .water-body,
            .water-neck {
              position: absolute;
              bottom: 0;
              width: 100%;
              background: linear-gradient(to top, #00bfff, #66d9ff);
              transition: height 0.5s ease, background 0.5s ease;
            }

            .water-body.alarm,
            .water-neck.alarm {
              background: red;
            }

            .level-label {
              margin-top: 20px;
              font-size: 18px;
              text-align: center;
            }

            input[type="range"] {
              width: 280px;
              margin-top: 10px;
            }

            .level-line {
              position: absolute;
              left: 50px;
              top: 15px;
              width: 110px;
              height: 1px;
              background: black;
              transform: translateY(0);
              transition: transform 0.5s ease;
            }
            
                        .level-line2 {
              position: absolute;
              left: 50px;
              top: 15px;
              width: 90px;
              height: 2px;
              background: grey;
              transform: translateY(0);
              transition: transform 0.5s ease;
            }

            .level-text {
              position: absolute;
              left: 155px;
              top: 15px;
              transform: translateY(-8px);
              font-size: 14px;
              background: #fff;
              padding: 2px 6px;
              border: 1px solid #999;
              border-radius: 4px;
              box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
              white-space: nowrap;
              transition: color 0.3s ease, background 0.3s ease, font-weight 0.3s ease;
            }

            .level-text.low,
            .level-text.high {
              color: black;
              background: red;
              font-weight: bold;
            }
