body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    user-select: none; /* Evita la selección de texto al arrastrar */
}
.container {
    width: 1800px;
    height: 750px;
    border: 10px solid #ccc;
    background-color: rgb(174, 173, 173);
    position: relative;
    overflow: visible;
    cursor: grab; /* Indica que se puede arrastrar */
    top: 40px;
    touch-action: pan-y; /* Permite que los eventos táctiles se propaguen */

.figures {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Asegura que esté por encima del vernier inmovil si es necesario */
}
.vernier {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}





/* Reemplaza los estilos existentes de .ingreso_numero, .resolucion y .coordinates-info con estos: */
.control-panel {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 10;
  }
  
  .control-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    overflow: hidden;
    min-width: 200px;
    transition: all 0.3s ease;
  }
  
  .control-header {
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.05);
    cursor: pointer;
  }
  
  .control-header strong {
    font-family: Arial, sans-serif;
    font-size: 16px;
  }
  
  .toggle-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 0 5px;
  }
  
  .control-content {
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
  }
  
  /* Estilos responsivos */
  @media (max-width: 768px) {
    .control-panel {
      flex-direction: column;
      width: calc(100% - 20px);
    }
    
    .control-box {
      width: 100%;
    }
  }
  
  /* Estilos específicos para los inputs */
  #desplazamiento {
    width: 80px;
    padding: 5px;
    margin-right: 5px;
  }
  
  #moverBtn {
    padding: 5px 10px;
    cursor: pointer;
  }