
    body, html {
      margin: 0;
      padding: 0;
      height: 100%;
      width: 100%;
      font-family: Arial, sans-serif;
      background: #f4f4f4;
    }

    /* Fullscreen offline overlay */
    #offline-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgb(0, 0, 0);
      color: white;
      display: none; /* hidden by default */
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: 4vw;
      font-weight: bold;
      z-index: 9999;
      text-align: center;
    }

 
#offline-overlay {
    position: fixed;
    top: 0;
    left: 3%;
    width: 98%;
    height: 100vh;
    background: rgba(0, 0, 0, 100);
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2vw;
    font-weight: bold;
    z-index: 9999;
    text-align: center;
    pointer-events: auto;
}



    #offline-overlay button:hover {
      background: #ddd;
      color: #00000;
    }

  #online-message {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2vw;
  font-weight: bold;
  background: rgb(0, 0, 0);
  color: white;
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
  z-index: 9998;
}

/* Copy of your original button style */
.myBnC {
  background-color: #ffffff;
  color: #000;
  border: none;
  font-size: 1rem;
  border-radius: 2px;
  cursor: pointer;
}

/* Expanded reconnect button */
#rbtn {
  margin-top: 20px;
  padding: 20px 40px;     /* Bigger height + width */
  font-size: 20px;        /* Larger text */
  font-weight: bold;
  background: white;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;

  width: 260px;           /* Expanded width */
  height: 70px;           /* Expanded height */

  display: flex;
  align-items: center;
  justify-content: center;
}


#offline-overlay.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

    
