/* --- Estilo general --- */
body {
    margin: 0;
    overflow: hidden;
    background: #000;
    color: white;
    font-family: monospace;
  }
  
  /* --- Controles flotantes --- */
  #controls {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
  }
  
  input {
    width: 80px;
  }
  
  /* --- Estado del servidor --- */
  #status {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    background-color: gray;
  }
  
  /* --- Botones de color --- */
  .colorBtn {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 2px;
    cursor: pointer;
    border: 3px solid transparent;
    display: inline-block;
    padding: 0;
  }
  
  /* Colores dinámicos */
  .colorBtn[data-color="#a931ab"] { background: #a931ab; }
  .colorBtn[data-color="#a8ff2f"] { background: #a8ff2f; }
  .colorBtn[data-color="#f7b424"] { background: #f7b424; }
  .colorBtn[data-color="#16d8ff"] { background: #16d8ff; }
  .colorBtn[data-color="#c1c1c1"] { background: #c1c1c1; }
  
  /* --- Input color personalizado --- */
  #pointColor {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    vertical-align: middle;
  }
  
  /* --- Textarea para nota --- */
  #note {
    resize: none;
    font-family: monospace;
    font-size: 13px;
    width: 95%;
  }
  
  /* --- Modal --- */
  #modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
    z-index: 100;
  }
  
  /* Contenido de la modal */
  .modal-content {
    background: #111;
    padding: 20px;
    border: 1px solid #0f0;
    border-radius: 10px;
    color: #0f0;
    min-width: 220px;
  }
  
  .modal-content h3 {
    margin-top: 0;
  }


      /* Fondo de la ventana modal */
      .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
      }
  
      /* Contenido de la ventana modal */
      .modal {
        background: white;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        width: 300px;
      }

      .modal-backend-btn {

      }

      .connect-btn {
        background-color: red;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        margin-top: 10px;
      }
  
      /* Botón de cerrar */
      .close-btn {
        background-color: red;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        margin-top: 10px;
      }
  